Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 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-ssh1716656305305243560.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-ssh11826510709956724454.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-ssh462974458830564032.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-ssh4153150693988470625.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-ssh3307272763904546201.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 Running on prd-ubuntu20.04-docker-8c-8g-8047 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#434)" > git rev-list --no-walk b6817069b5a51f00109e4d74960f23ef1aea0426 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-27T16:36:10.720Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-27T16:36:10.780Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-27T16:36:10.792Z] ========================================================= [2023-09-27T16:36:10.792Z] EdgeX Global Pipelines Version Info [2023-09-27T16:36:10.792Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:36:11.501Z] ------------------- [2023-09-27T16:36:11.501Z] stable info: [2023-09-27T16:36:11.501Z] ------------------- [2023-09-27T16:36:11.501Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-27T16:36:11.501Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T16:36:11.501Z] Message: update stable to v1.0.254 [2023-09-27T16:36:12.073Z] ------------------- [2023-09-27T16:36:12.073Z] experimental info: [2023-09-27T16:36:12.073Z] ------------------- [2023-09-27T16:36:12.073Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-27T16:36:12.073Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T16:36:12.073Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-27T16:36:12.239Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-09-27T16:36:12.252Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-09-27T16:36:12.262Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-27T16:36:12.271Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-27T16:36:12.280Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-27T16:36:12.288Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-27T16:36:12.298Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-27T16:36:12.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-27T16:36:12.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-27T16:36:12.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-27T16:36:12.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-27T16:36:12.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-09-27T16:36:12.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-27T16:36:12.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-27T16:36:12.386Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-27T16:36:12.401Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-27T16:36:12.412Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T16:36:12.428Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T16:36:12.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-27T16:36:12.463Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-27T16:36:12.481Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-27T16:36:12.498Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-27T16:36:12.512Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-27T16:36:12.527Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-27T16:36:12.545Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-27T16:36:12.563Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-27T16:36:12.578Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-27T16:36:12.589Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-27T16:36:12.601Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-27T16:36:12.615Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-27T16:36:12.626Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [Pipeline] echo [2023-09-27T16:36:12.638Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f32a3e0 [Pipeline] echo [2023-09-27T16:36:12.653Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T16:36:12.694Z] provisioning config files... [2023-09-27T16:36:12.707Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15306334217067909514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:36:13.013Z] ---> docker-login.sh [2023-09-27T16:36:13.013Z] nexus3.edgexfoundry.org:10001 [2023-09-27T16:36:13.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:36:13.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:36:13.273Z] Configure a credential helper to remove this warning. See [2023-09-27T16:36:13.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:36:13.273Z] [2023-09-27T16:36:13.273Z] Login Succeeded [2023-09-27T16:36:13.273Z] nexus3.edgexfoundry.org:10002 [2023-09-27T16:36:13.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:36:13.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:36:13.533Z] Configure a credential helper to remove this warning. See [2023-09-27T16:36:13.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:36:13.533Z] [2023-09-27T16:36:13.533Z] Login Succeeded [2023-09-27T16:36:13.533Z] nexus3.edgexfoundry.org:10003 [2023-09-27T16:36:13.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:36:13.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:36:13.533Z] Configure a credential helper to remove this warning. See [2023-09-27T16:36:13.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:36:13.533Z] [2023-09-27T16:36:13.533Z] Login Succeeded [2023-09-27T16:36:13.533Z] nexus3.edgexfoundry.org:10004 [2023-09-27T16:36:13.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:36:13.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:36:13.792Z] Configure a credential helper to remove this warning. See [2023-09-27T16:36:13.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:36:13.792Z] [2023-09-27T16:36:13.792Z] Login Succeeded [2023-09-27T16:36:13.792Z] docker.io [2023-09-27T16:36:13.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:36:14.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:36:14.053Z] Configure a credential helper to remove this warning. See [2023-09-27T16:36:14.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:36:14.053Z] [2023-09-27T16:36:14.053Z] Login Succeeded [2023-09-27T16:36:14.053Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T16:36:14.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-27T16:36:14.433Z] + git rev-list -1 --merges f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012~1..f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [Pipeline] echo [2023-09-27T16:36:14.484Z] -----------> git rev-list -1 --merges f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012~1..f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [false] [Pipeline] sh [2023-09-27T16:36:14.775Z] + git log --format=format:%s -1 f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [Pipeline] echo [2023-09-27T16:36:14.790Z] ========================================================= [2023-09-27T16:36:14.790Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-27T16:36:14.790Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T16:36:15.153Z] + git log --format=format:%s -1 f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [Pipeline] echo [2023-09-27T16:36:15.163Z] [semverPrep] GIT_COMMIT: f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#434) [Pipeline] echo [2023-09-27T16:36:15.176Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-27T16:36:15.516Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T16:36:15.516Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-27T16:36:15.516Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-27T16:36:15.516Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-27T16:36:15.516Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-27T16:36:15.516Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-27T16:36:15.516Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:36:15.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T16:36:15.856Z] [2023-09-27T16:36:15.856Z] 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-27T16:36:16.154Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T16:36:16.154Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-27T16:36:16.154Z] b85a868b505f: Pulling fs layer [2023-09-27T16:36:16.154Z] e2be974225ed: Pulling fs layer [2023-09-27T16:36:16.154Z] 339a4e72a1f5: Pulling fs layer [2023-09-27T16:36:16.154Z] 988bab9f4d93: Pulling fs layer [2023-09-27T16:36:16.154Z] 1469e6f7b9e6: Pulling fs layer [2023-09-27T16:36:16.154Z] eaf3925da568: Pulling fs layer [2023-09-27T16:36:16.154Z] bab4dde63d76: Pulling fs layer [2023-09-27T16:36:16.154Z] bde34c3a00c8: Pulling fs layer [2023-09-27T16:36:16.154Z] b352a97aabf1: Pulling fs layer [2023-09-27T16:36:16.154Z] 4872d77fe225: Pulling fs layer [2023-09-27T16:36:16.154Z] 988bab9f4d93: Waiting [2023-09-27T16:36:16.154Z] 5851b861e8e6: Pulling fs layer [2023-09-27T16:36:16.154Z] bde34c3a00c8: Waiting [2023-09-27T16:36:16.154Z] 1469e6f7b9e6: Waiting [2023-09-27T16:36:16.154Z] eaf3925da568: Waiting [2023-09-27T16:36:16.154Z] 4872d77fe225: Waiting [2023-09-27T16:36:16.154Z] 5851b861e8e6: Waiting [2023-09-27T16:36:16.154Z] bab4dde63d76: Waiting [2023-09-27T16:36:16.154Z] b352a97aabf1: Waiting [2023-09-27T16:36:16.154Z] e2be974225ed: Verifying Checksum [2023-09-27T16:36:16.154Z] e2be974225ed: Download complete [2023-09-27T16:36:16.154Z] 988bab9f4d93: Download complete [2023-09-27T16:36:16.415Z] 1469e6f7b9e6: Verifying Checksum [2023-09-27T16:36:16.415Z] 1469e6f7b9e6: Download complete [2023-09-27T16:36:16.415Z] eaf3925da568: Download complete [2023-09-27T16:36:16.415Z] 339a4e72a1f5: Verifying Checksum [2023-09-27T16:36:16.415Z] 339a4e72a1f5: Download complete [2023-09-27T16:36:16.415Z] bde34c3a00c8: Download complete [2023-09-27T16:36:16.415Z] b352a97aabf1: Verifying Checksum [2023-09-27T16:36:16.415Z] b352a97aabf1: Download complete [2023-09-27T16:36:16.415Z] 4872d77fe225: Verifying Checksum [2023-09-27T16:36:16.415Z] 4872d77fe225: Download complete [2023-09-27T16:36:16.415Z] 5851b861e8e6: Verifying Checksum [2023-09-27T16:36:16.415Z] 5851b861e8e6: Download complete [2023-09-27T16:36:16.415Z] b85a868b505f: Verifying Checksum [2023-09-27T16:36:16.415Z] b85a868b505f: Download complete [2023-09-27T16:36:16.674Z] bab4dde63d76: Download complete [2023-09-27T16:36:18.051Z] b85a868b505f: Pull complete [2023-09-27T16:36:18.051Z] e2be974225ed: Pull complete [2023-09-27T16:36:18.310Z] 339a4e72a1f5: Pull complete [2023-09-27T16:36:18.568Z] 988bab9f4d93: Pull complete [2023-09-27T16:36:18.827Z] 1469e6f7b9e6: Pull complete [2023-09-27T16:36:18.827Z] eaf3925da568: Pull complete [2023-09-27T16:36:20.729Z] bab4dde63d76: Pull complete [2023-09-27T16:36:20.729Z] bde34c3a00c8: Pull complete [2023-09-27T16:36:20.729Z] b352a97aabf1: Pull complete [2023-09-27T16:36:20.989Z] 4872d77fe225: Pull complete [2023-09-27T16:36:20.989Z] 5851b861e8e6: Pull complete [2023-09-27T16:36:20.989Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-27T16:36:20.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T16:36:20.989Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:36:21.082Z] prd-ubuntu20.04-docker-8c-8g-8047 does not seem to be running inside a container [2023-09-27T16:36:21.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T16:36:23.109Z] $ docker top a8ff71e27558dd37355a7ffb3e9d469b87b25649b59eba0aa0b29f3ecdf67e93 -eo pid,comm [2023-09-27T16:36:23.164Z] 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-27T16:36:23.164Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T16:36:23.200Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T16:36:23.200Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T16:36:23.328Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T16:36:23.330Z] $ docker exec a8ff71e27558dd37355a7ffb3e9d469b87b25649b59eba0aa0b29f3ecdf67e93 ssh-agent [2023-09-27T16:36:23.436Z] SSH_AUTH_SOCK=/tmp/ssh-SolfA3q4woJ5/agent.31 [2023-09-27T16:36:23.436Z] SSH_AGENT_PID=38 [2023-09-27T16:36:23.442Z] Running ssh-add (command line suppressed) [2023-09-27T16:36:23.541Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10219545621029553405.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10219545621029553405.key) [2023-09-27T16:36:23.557Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T16:36:23.846Z] + git tag --points-at HEAD [Pipeline] } [2023-09-27T16:36:23.856Z] $ docker exec --env ******** --env ******** a8ff71e27558dd37355a7ffb3e9d469b87b25649b59eba0aa0b29f3ecdf67e93 ssh-agent -k [2023-09-27T16:36:23.960Z] unset SSH_AUTH_SOCK; [2023-09-27T16:36:23.960Z] unset SSH_AGENT_PID; [2023-09-27T16:36:23.961Z] echo Agent pid 38 killed; [2023-09-27T16:36:23.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-27T16:36:23.992Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T16:36:23.993Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T16:36:24.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T16:36:24.099Z] $ docker exec a8ff71e27558dd37355a7ffb3e9d469b87b25649b59eba0aa0b29f3ecdf67e93 ssh-agent [2023-09-27T16:36:24.207Z] SSH_AUTH_SOCK=/tmp/ssh-quAc12c6nNyE/agent.70 [2023-09-27T16:36:24.207Z] SSH_AGENT_PID=76 [2023-09-27T16:36:24.213Z] Running ssh-add (command line suppressed) [2023-09-27T16:36:24.301Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7399943307622715489.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7399943307622715489.key) [2023-09-27T16:36:24.321Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T16:36:24.611Z] + git semver init [2023-09-27T16:36:24.871Z] 2023-09-27 16:36:24,772 [run_init] DEBUG init version:0.0.0 force:False [2023-09-27T16:36:24.871Z] 2023-09-27 16:36:24,773 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-27T16:36:24.871Z] 2023-09-27 16:36:24,773 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-27T16:36:24.871Z] 2023-09-27 16:36:24,773 [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-27T16:36:26.253Z] 2023-09-27 16:36:25,969 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-09-27T16:36:26.253Z] 2023-09-27 16:36:25,970 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-09-27T16:36:26.253Z] 2023-09-27 16:36:25,970 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-27T16:36:26.253Z] 2023-09-27 16:36:25,970 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-27T16:36:26.253Z] 3.1.0-dev.19 [Pipeline] } [2023-09-27T16:36:26.262Z] $ docker exec --env ******** --env ******** a8ff71e27558dd37355a7ffb3e9d469b87b25649b59eba0aa0b29f3ecdf67e93 ssh-agent -k [2023-09-27T16:36:26.359Z] unset SSH_AUTH_SOCK; [2023-09-27T16:36:26.360Z] unset SSH_AGENT_PID; [2023-09-27T16:36:26.360Z] echo Agent pid 76 killed; [2023-09-27T16:36:26.371Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T16:36:26.682Z] + git semver [Pipeline] } [2023-09-27T16:36:26.954Z] $ docker stop --time=1 a8ff71e27558dd37355a7ffb3e9d469b87b25649b59eba0aa0b29f3ecdf67e93 [2023-09-27T16:36:28.270Z] $ docker rm -f --volumes a8ff71e27558dd37355a7ffb3e9d469b87b25649b59eba0aa0b29f3ecdf67e93 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T16:36:28.613Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-27T16:36:28.825Z] Stashed 1 file(s) [Pipeline] echo [2023-09-27T16:36:28.828Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.19 [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-27T16:36:28.946Z] provisioning config files... [2023-09-27T16:36:28.954Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3950302776479278292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:36:29.252Z] ---> docker-login.sh [2023-09-27T16:36:29.252Z] nexus3.edgexfoundry.org:10001 [2023-09-27T16:36:29.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:36:29.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:36:29.252Z] Configure a credential helper to remove this warning. See [2023-09-27T16:36:29.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:36:29.252Z] [2023-09-27T16:36:29.252Z] Login Succeeded [2023-09-27T16:36:29.252Z] nexus3.edgexfoundry.org:10002 [2023-09-27T16:36:29.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:36:29.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:36:29.252Z] Configure a credential helper to remove this warning. See [2023-09-27T16:36:29.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:36:29.252Z] [2023-09-27T16:36:29.252Z] Login Succeeded [2023-09-27T16:36:29.252Z] nexus3.edgexfoundry.org:10003 [2023-09-27T16:36:29.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:36:29.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:36:29.512Z] Configure a credential helper to remove this warning. See [2023-09-27T16:36:29.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:36:29.512Z] [2023-09-27T16:36:29.512Z] Login Succeeded [2023-09-27T16:36:29.512Z] nexus3.edgexfoundry.org:10004 [2023-09-27T16:36:29.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:36:29.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:36:29.512Z] Configure a credential helper to remove this warning. See [2023-09-27T16:36:29.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:36:29.512Z] [2023-09-27T16:36:29.512Z] Login Succeeded [2023-09-27T16:36:29.512Z] docker.io [2023-09-27T16:36:29.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:36:30.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:36:30.032Z] Configure a credential helper to remove this warning. See [2023-09-27T16:36:30.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:36:30.032Z] [2023-09-27T16:36:30.032Z] Login Succeeded [2023-09-27T16:36:30.032Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T16:36:30.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T16:36:30.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T16:36:30.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T16:36:30.116Z] ========================================================= [2023-09-27T16:36:30.116Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-27T16:36:30.116Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:36:30.424Z] + 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-27T16:36:30.424Z] Sending build context to Docker daemon 23.65MB [2023-09-27T16:36:30.424Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T16:36:30.424Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-27T16:36:30.701Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-27T16:36:30.701Z] 7264a8db6415: Pulling fs layer [2023-09-27T16:36:30.701Z] c4d48a809fc2: Pulling fs layer [2023-09-27T16:36:30.701Z] 4f1c88b9dad5: Pulling fs layer [2023-09-27T16:36:30.701Z] ad3a456e5733: Pulling fs layer [2023-09-27T16:36:30.701Z] 33e27b845d1e: Pulling fs layer [2023-09-27T16:36:30.701Z] c68163c4e522: Pulling fs layer [2023-09-27T16:36:30.701Z] 50da416c3ac9: Pulling fs layer [2023-09-27T16:36:30.701Z] 23d2d4c4bb30: Pulling fs layer [2023-09-27T16:36:30.701Z] c68163c4e522: Waiting [2023-09-27T16:36:30.701Z] 50da416c3ac9: Waiting [2023-09-27T16:36:30.701Z] 23d2d4c4bb30: Waiting [2023-09-27T16:36:30.701Z] ad3a456e5733: Waiting [2023-09-27T16:36:30.701Z] 33e27b845d1e: Waiting [2023-09-27T16:36:30.701Z] c4d48a809fc2: Verifying Checksum [2023-09-27T16:36:30.701Z] c4d48a809fc2: Download complete [2023-09-27T16:36:30.701Z] ad3a456e5733: Download complete [2023-09-27T16:36:30.701Z] 33e27b845d1e: Verifying Checksum [2023-09-27T16:36:30.701Z] 33e27b845d1e: Download complete [2023-09-27T16:36:30.701Z] 7264a8db6415: Verifying Checksum [2023-09-27T16:36:30.701Z] 7264a8db6415: Download complete [2023-09-27T16:36:30.701Z] c68163c4e522: Verifying Checksum [2023-09-27T16:36:30.701Z] c68163c4e522: Download complete [2023-09-27T16:36:30.963Z] 7264a8db6415: Pull complete [2023-09-27T16:36:30.963Z] c4d48a809fc2: Pull complete [2023-09-27T16:36:31.240Z] 23d2d4c4bb30: Verifying Checksum [2023-09-27T16:36:31.240Z] 23d2d4c4bb30: Download complete [2023-09-27T16:36:31.240Z] 4f1c88b9dad5: Verifying Checksum [2023-09-27T16:36:31.240Z] 4f1c88b9dad5: Download complete [2023-09-27T16:36:31.838Z] 50da416c3ac9: Verifying Checksum [2023-09-27T16:36:31.838Z] 50da416c3ac9: Download complete [2023-09-27T16:36:35.128Z] 4f1c88b9dad5: Pull complete [2023-09-27T16:36:35.128Z] ad3a456e5733: Pull complete [2023-09-27T16:36:35.128Z] 33e27b845d1e: Pull complete [2023-09-27T16:36:35.128Z] c68163c4e522: Pull complete [2023-09-27T16:36:37.662Z] 50da416c3ac9: Pull complete [2023-09-27T16:36:37.922Z] 23d2d4c4bb30: Pull complete [2023-09-27T16:36:37.922Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-27T16:36:37.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-27T16:36:37.922Z] ---> 0786185ac409 [2023-09-27T16:36:37.922Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-27T16:36:43.197Z] ---> Running in 90620243ab3b [2023-09-27T16:36:43.197Z] Removing intermediate container 90620243ab3b [2023-09-27T16:36:43.197Z] ---> 73be737bc4f6 [2023-09-27T16:36:43.197Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-27T16:36:43.197Z] ---> Running in 345e65fd1071 [2023-09-27T16:36:43.197Z] Removing intermediate container 345e65fd1071 [2023-09-27T16:36:43.197Z] ---> d8a8c7c01b55 [2023-09-27T16:36:43.197Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-27T16:36:43.197Z] ---> Running in 6739c20c363f [2023-09-27T16:36:43.197Z] Removing intermediate container 6739c20c363f [2023-09-27T16:36:43.197Z] ---> b367d0cd87f5 [2023-09-27T16:36:43.197Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-27T16:36:43.197Z] ---> Running in 2f8442883948 [2023-09-27T16:36:43.197Z] Removing intermediate container 2f8442883948 [2023-09-27T16:36:43.197Z] ---> 43de262bd093 [2023-09-27T16:36:43.197Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-27T16:36:43.197Z] ---> Running in 081f462f1ed2 [2023-09-27T16:36:43.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T16:36:43.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T16:36:43.459Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-27T16:36:43.459Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-27T16:36:43.459Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-27T16:36:43.459Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-27T16:36:43.459Z] Executing busybox-1.36.1-r2.trigger [2023-09-27T16:36:43.459Z] OK: 268 MiB in 56 packages [2023-09-27T16:36:43.918Z] Still waiting to schedule task [2023-09-27T16:36:43.918Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8048’ [2023-09-27T16:36:44.031Z] Removing intermediate container 081f462f1ed2 [2023-09-27T16:36:44.031Z] ---> 6d7ac55a1674 [2023-09-27T16:36:44.031Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-27T16:36:44.291Z] ---> af6b7d9e48a8 [2023-09-27T16:36:44.291Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T16:36:44.291Z] ---> Running in cad6d2689b1a [2023-09-27T16:37:31.013Z] Removing intermediate container cad6d2689b1a [2023-09-27T16:37:31.013Z] ---> 935d89ca7966 [2023-09-27T16:37:31.013Z] Step 10/12 : COPY . . [2023-09-27T16:37:31.013Z] ---> 38358d792509 [2023-09-27T16:37:31.013Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-27T16:37:31.013Z] ---> Running in 06abea182b26 [2023-09-27T16:37:31.013Z] Removing intermediate container 06abea182b26 [2023-09-27T16:37:31.013Z] ---> 5b0a47241996 [2023-09-27T16:37:31.013Z] Step 12/12 : RUN $MAKE [2023-09-27T16:37:31.013Z] ---> Running in 177d0d7a2045 [2023-09-27T16:37:31.013Z] noop [2023-09-27T16:37:31.013Z] Removing intermediate container 177d0d7a2045 [2023-09-27T16:37:31.013Z] ---> d984273e18b9 [2023-09-27T16:37:31.013Z] Successfully built d984273e18b9 [2023-09-27T16:37:31.013Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:37:31.324Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T16:37:31.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:37:31.404Z] prd-ubuntu20.04-docker-8c-8g-8047 does not seem to be running inside a container [2023-09-27T16:37:31.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-27T16:37:31.819Z] $ docker top 4fe48f9835aaa33b2079fc71e61afb605368597b35cb5fa6eb56b9714c37a8d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T16:37:32.168Z] + go version [2023-09-27T16:37:32.168Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-27T16:37:32.176Z] $ docker stop --time=1 4fe48f9835aaa33b2079fc71e61afb605368597b35cb5fa6eb56b9714c37a8d2 [2023-09-27T16:37:33.439Z] $ docker rm -f --volumes 4fe48f9835aaa33b2079fc71e61afb605368597b35cb5fa6eb56b9714c37a8d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:37:33.861Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T16:37:33.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:37:33.936Z] prd-ubuntu20.04-docker-8c-8g-8047 does not seem to be running inside a container [2023-09-27T16:37:33.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-27T16:37:34.285Z] $ docker top 83bcaaabf390e7835bd3dd4e4d2c549221280d6b171f5868b941f263eace6996 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T16:37:34.630Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-27T16:37:34.927Z] + make test [2023-09-27T16:37:34.927Z] go test ./... -coverprofile=coverage.out [2023-09-27T16:37:36.303Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-27T16:37:46.277Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-27T16:37:46.277Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements [2023-09-27T16:37:51.542Z] go vet ./... [2023-09-27T16:37:55.725Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T16:37:55.725Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T16:37:55.725Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T16:37:55.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T16:37:55.752Z] $ docker stop --time=1 83bcaaabf390e7835bd3dd4e4d2c549221280d6b171f5868b941f263eace6996 [2023-09-27T16:37:58.597Z] $ docker rm -f --volumes 83bcaaabf390e7835bd3dd4e4d2c549221280d6b171f5868b941f263eace6996 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T16:37:59.071Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T16:37:59.127Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-27T16:37:59.676Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T16:37:59.963Z] + ls -al . [2023-09-27T16:37:59.963Z] total 204 [2023-09-27T16:37:59.963Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 16:37 . [2023-09-27T16:37:59.963Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 16:36 .. [2023-09-27T16:37:59.963Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 16:37 .git [2023-09-27T16:37:59.963Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 16:36 .github [2023-09-27T16:37:59.963Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 16:36 .gitignore [2023-09-27T16:37:59.963Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 16:36 .golangci.yml [2023-09-27T16:37:59.963Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 16:36 .semver [2023-09-27T16:37:59.963Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 27 16:36 Attribution.txt [2023-09-27T16:37:59.963Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 27 16:36 CHANGELOG.md [2023-09-27T16:37:59.963Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 27 16:36 Dockerfile [2023-09-27T16:37:59.963Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 16:36 GOVERNANCE.md [2023-09-27T16:37:59.963Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 16:36 Jenkinsfile [2023-09-27T16:37:59.963Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 16:36 LICENSE [2023-09-27T16:37:59.963Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 27 16:36 Makefile [2023-09-27T16:37:59.964Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 16:36 OWNERS.md [2023-09-27T16:37:59.964Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 27 16:36 README.md [2023-09-27T16:37:59.964Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 16:36 VERSION [2023-09-27T16:37:59.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 16:36 bin [2023-09-27T16:37:59.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 16:36 cmd [2023-09-27T16:37:59.964Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 27 16:37 coverage.out [2023-09-27T16:37:59.964Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 27 16:36 go.mod [2023-09-27T16:37:59.964Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 27 16:36 go.sum [2023-09-27T16:37:59.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 16:36 internal [2023-09-27T16:37:59.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 16:36 snap [2023-09-27T16:37:59.964Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 16:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:38:00.379Z] + 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=f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 --label arch=amd64 --label version=3.1.0-dev.19 . [2023-09-27T16:38:00.379Z] Sending build context to Docker daemon 23.7MB [2023-09-27T16:38:00.379Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T16:38:00.379Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-27T16:38:00.379Z] ---> d984273e18b9 [2023-09-27T16:38:00.379Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-27T16:38:00.769Z] ---> Running in fdee9ef70f7b [2023-09-27T16:38:00.769Z] Removing intermediate container fdee9ef70f7b [2023-09-27T16:38:00.769Z] ---> d0d0cdb688c5 [2023-09-27T16:38:00.769Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-27T16:38:00.769Z] ---> Running in 8e0ff913f819 [2023-09-27T16:38:00.769Z] Removing intermediate container 8e0ff913f819 [2023-09-27T16:38:00.769Z] ---> 5f27c7ba9953 [2023-09-27T16:38:00.769Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-27T16:38:00.769Z] ---> Running in 8edf7b43a17b [2023-09-27T16:38:00.769Z] Removing intermediate container 8edf7b43a17b [2023-09-27T16:38:00.769Z] ---> 395ab76b8597 [2023-09-27T16:38:00.770Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-27T16:38:01.036Z] ---> Running in b2bcd37ef6ae [2023-09-27T16:38:01.036Z] Removing intermediate container b2bcd37ef6ae [2023-09-27T16:38:01.036Z] ---> 7fe3b82cfee8 [2023-09-27T16:38:01.036Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-27T16:38:01.036Z] ---> Running in 72b5cc94a0a5 [2023-09-27T16:38:01.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T16:38:01.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T16:38:01.597Z] OK: 268 MiB in 56 packages [2023-09-27T16:38:02.165Z] Removing intermediate container 72b5cc94a0a5 [2023-09-27T16:38:02.165Z] ---> 4abab015ffb3 [2023-09-27T16:38:02.165Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-27T16:38:02.165Z] ---> e6233a089c97 [2023-09-27T16:38:02.165Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T16:38:02.165Z] ---> Running in 916c6a7a39ea [2023-09-27T16:38:03.104Z] Removing intermediate container 916c6a7a39ea [2023-09-27T16:38:03.104Z] ---> 4f353dd06591 [2023-09-27T16:38:03.104Z] Step 10/25 : COPY . . [2023-09-27T16:38:03.673Z] ---> e296d806d388 [2023-09-27T16:38:03.673Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-27T16:38:03.673Z] ---> Running in 0182283edb42 [2023-09-27T16:38:03.673Z] Removing intermediate container 0182283edb42 [2023-09-27T16:38:03.673Z] ---> f711d4afdde1 [2023-09-27T16:38:03.673Z] Step 12/25 : RUN $MAKE [2023-09-27T16:38:03.673Z] ---> Running in 2e3699778fc1 [2023-09-27T16:38:03.932Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.31" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-27T16:38:22.049Z] Removing intermediate container 2e3699778fc1 [2023-09-27T16:38:22.049Z] ---> 6c6bdbc518a1 [2023-09-27T16:38:22.049Z] Step 13/25 : FROM alpine:3.18 [2023-09-27T16:38:22.049Z] 3.18: Pulling from library/alpine [2023-09-27T16:38:22.049Z] 7264a8db6415: Already exists [2023-09-27T16:38:22.049Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T16:38:22.049Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T16:38:22.049Z] ---> 7e01a0d0a1dc [2023-09-27T16:38:22.049Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-27T16:38:22.049Z] ---> Running in 0ff51a4fcd08 [2023-09-27T16:38:22.049Z] Removing intermediate container 0ff51a4fcd08 [2023-09-27T16:38:22.049Z] ---> 8154962f8d82 [2023-09-27T16:38:22.049Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-27T16:38:22.049Z] ---> Running in 6ac08d89a44c [2023-09-27T16:38:22.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T16:38:22.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T16:38:22.566Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-27T16:38:22.566Z] Executing busybox-1.36.1-r2.trigger [2023-09-27T16:38:22.566Z] OK: 7 MiB in 16 packages [2023-09-27T16:38:22.823Z] Removing intermediate container 6ac08d89a44c [2023-09-27T16:38:22.823Z] ---> 00f8e81c883f [2023-09-27T16:38:22.823Z] Step 16/25 : WORKDIR / [2023-09-27T16:38:22.823Z] ---> Running in 8c41b5fba231 [2023-09-27T16:38:22.823Z] Removing intermediate container 8c41b5fba231 [2023-09-27T16:38:22.823Z] ---> 103969eb6fa7 [2023-09-27T16:38:22.823Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-27T16:38:23.081Z] ---> a404b1439da1 [2023-09-27T16:38:23.081Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-27T16:38:23.081Z] ---> a7a00a455eb2 [2023-09-27T16:38:23.081Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-27T16:38:24.017Z] ---> d8db3bdc07ab [2023-09-27T16:38:24.017Z] Step 20/25 : EXPOSE 59900 [2023-09-27T16:38:24.017Z] ---> Running in e8e793d2b0a4 [2023-09-27T16:38:24.017Z] Removing intermediate container e8e793d2b0a4 [2023-09-27T16:38:24.017Z] ---> c3c3428c30e1 [2023-09-27T16:38:24.017Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-27T16:38:24.017Z] ---> Running in a01ac92973c5 [2023-09-27T16:38:24.017Z] Removing intermediate container a01ac92973c5 [2023-09-27T16:38:24.017Z] ---> 9ff06902bdfc [2023-09-27T16:38:24.017Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-27T16:38:24.018Z] ---> Running in b3c938cb3b55 [2023-09-27T16:38:24.018Z] Removing intermediate container b3c938cb3b55 [2023-09-27T16:38:24.018Z] ---> e759d1f7e84d [2023-09-27T16:38:24.018Z] Step 23/25 : LABEL arch=amd64 [2023-09-27T16:38:24.018Z] ---> Running in f0df73de50a3 [2023-09-27T16:38:24.277Z] Removing intermediate container f0df73de50a3 [2023-09-27T16:38:24.277Z] ---> 22d13adae5b2 [2023-09-27T16:38:24.277Z] Step 24/25 : LABEL git_sha=f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [2023-09-27T16:38:24.277Z] ---> Running in ff3ea6ac4956 [2023-09-27T16:38:24.277Z] Removing intermediate container ff3ea6ac4956 [2023-09-27T16:38:24.277Z] ---> cc65db5b84c2 [2023-09-27T16:38:24.277Z] Step 25/25 : LABEL version=3.1.0-dev.19 [2023-09-27T16:38:24.277Z] ---> Running in 09cfe616b228 [2023-09-27T16:38:24.277Z] Removing intermediate container 09cfe616b228 [2023-09-27T16:38:24.277Z] ---> 9bec5b6ae76c [2023-09-27T16:38:24.277Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T16:38:24.277Z] Successfully built 9bec5b6ae76c [2023-09-27T16:38:24.277Z] 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-27T16:38:24.376Z] provisioning config files... [2023-09-27T16:38:24.384Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1223631229738994419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:38:24.677Z] ---> docker-login.sh [2023-09-27T16:38:24.677Z] nexus3.edgexfoundry.org:10001 [2023-09-27T16:38:24.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:38:24.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:38:24.677Z] Configure a credential helper to remove this warning. See [2023-09-27T16:38:24.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:38:24.677Z] [2023-09-27T16:38:24.677Z] Login Succeeded [2023-09-27T16:38:24.677Z] nexus3.edgexfoundry.org:10002 [2023-09-27T16:38:24.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:38:24.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:38:24.677Z] Configure a credential helper to remove this warning. See [2023-09-27T16:38:24.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:38:24.677Z] [2023-09-27T16:38:24.677Z] Login Succeeded [2023-09-27T16:38:24.677Z] nexus3.edgexfoundry.org:10003 [2023-09-27T16:38:24.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:38:24.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:38:24.937Z] Configure a credential helper to remove this warning. See [2023-09-27T16:38:24.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:38:24.937Z] [2023-09-27T16:38:24.937Z] Login Succeeded [2023-09-27T16:38:24.937Z] nexus3.edgexfoundry.org:10004 [2023-09-27T16:38:24.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:38:24.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:38:24.937Z] Configure a credential helper to remove this warning. See [2023-09-27T16:38:24.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:38:24.937Z] [2023-09-27T16:38:24.937Z] Login Succeeded [2023-09-27T16:38:25.197Z] docker.io [2023-09-27T16:38:25.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:38:25.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:38:25.457Z] Configure a credential helper to remove this warning. See [2023-09-27T16:38:25.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:38:25.457Z] [2023-09-27T16:38:25.457Z] Login Succeeded [2023-09-27T16:38:25.457Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T16:38:25.465Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-27T16:38:25.494Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T16:38:25.510Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-09-27T16:38:25.510Z] f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [2023-09-27T16:38:25.510Z] latest [2023-09-27T16:38:25.510Z] 3.1.0-dev.19 [2023-09-27T16:38:25.510Z] f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012-3.1.0-dev.19 [2023-09-27T16:38:25.510Z] main [2023-09-27T16:38:25.510Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:38:25.823Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:38:26.123Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [2023-09-27T16:38:26.123Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-27T16:38:26.123Z] 41a6b0e25d99: Preparing [2023-09-27T16:38:26.123Z] 373504254aab: Preparing [2023-09-27T16:38:26.123Z] c5a6d58e5fac: Preparing [2023-09-27T16:38:26.123Z] 2ece53b21941: Preparing [2023-09-27T16:38:26.123Z] 4693057ce236: Preparing [2023-09-27T16:38:26.123Z] 4693057ce236: Layer already exists [2023-09-27T16:38:26.123Z] 373504254aab: Pushed [2023-09-27T16:38:26.123Z] 2ece53b21941: Pushed [2023-09-27T16:38:26.123Z] c5a6d58e5fac: Pushed [2023-09-27T16:38:28.690Z] 41a6b0e25d99: Pushed [2023-09-27T16:38:28.950Z] f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012: digest: sha256:1f48272e9cd6e8b720fa2ead4ec80c40ef373bfe75dc593832f73bc9e17a0161 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:38:29.255Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:38:29.559Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-27T16:38:29.559Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-27T16:38:29.559Z] 41a6b0e25d99: Preparing [2023-09-27T16:38:29.559Z] 373504254aab: Preparing [2023-09-27T16:38:29.559Z] c5a6d58e5fac: Preparing [2023-09-27T16:38:29.559Z] 2ece53b21941: Preparing [2023-09-27T16:38:29.559Z] 4693057ce236: Preparing [2023-09-27T16:38:29.559Z] 2ece53b21941: Layer already exists [2023-09-27T16:38:29.559Z] 41a6b0e25d99: Layer already exists [2023-09-27T16:38:29.559Z] c5a6d58e5fac: Layer already exists [2023-09-27T16:38:29.559Z] 373504254aab: Layer already exists [2023-09-27T16:38:29.559Z] 4693057ce236: Layer already exists [2023-09-27T16:38:29.559Z] latest: digest: sha256:1f48272e9cd6e8b720fa2ead4ec80c40ef373bfe75dc593832f73bc9e17a0161 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:38:29.873Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:38:30.179Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.19 [2023-09-27T16:38:30.179Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-27T16:38:30.179Z] 41a6b0e25d99: Preparing [2023-09-27T16:38:30.179Z] 373504254aab: Preparing [2023-09-27T16:38:30.179Z] c5a6d58e5fac: Preparing [2023-09-27T16:38:30.179Z] 2ece53b21941: Preparing [2023-09-27T16:38:30.179Z] 4693057ce236: Preparing [2023-09-27T16:38:30.179Z] 41a6b0e25d99: Layer already exists [2023-09-27T16:38:30.179Z] 373504254aab: Layer already exists [2023-09-27T16:38:30.179Z] 4693057ce236: Layer already exists [2023-09-27T16:38:30.179Z] c5a6d58e5fac: Layer already exists [2023-09-27T16:38:30.179Z] 2ece53b21941: Layer already exists [2023-09-27T16:38:30.179Z] 3.1.0-dev.19: digest: sha256:1f48272e9cd6e8b720fa2ead4ec80c40ef373bfe75dc593832f73bc9e17a0161 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:38:30.488Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:38:30.788Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012-3.1.0-dev.19 [2023-09-27T16:38:30.788Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-27T16:38:30.788Z] 41a6b0e25d99: Preparing [2023-09-27T16:38:30.788Z] 373504254aab: Preparing [2023-09-27T16:38:30.788Z] c5a6d58e5fac: Preparing [2023-09-27T16:38:30.788Z] 2ece53b21941: Preparing [2023-09-27T16:38:30.788Z] 4693057ce236: Preparing [2023-09-27T16:38:30.788Z] c5a6d58e5fac: Layer already exists [2023-09-27T16:38:30.788Z] 373504254aab: Layer already exists [2023-09-27T16:38:30.788Z] 41a6b0e25d99: Layer already exists [2023-09-27T16:38:30.788Z] 4693057ce236: Layer already exists [2023-09-27T16:38:30.788Z] 2ece53b21941: Layer already exists [2023-09-27T16:38:30.788Z] f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012-3.1.0-dev.19: digest: sha256:1f48272e9cd6e8b720fa2ead4ec80c40ef373bfe75dc593832f73bc9e17a0161 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:38:31.098Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:38:31.403Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-09-27T16:38:31.403Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-27T16:38:31.403Z] 41a6b0e25d99: Preparing [2023-09-27T16:38:31.403Z] 373504254aab: Preparing [2023-09-27T16:38:31.403Z] c5a6d58e5fac: Preparing [2023-09-27T16:38:31.403Z] 2ece53b21941: Preparing [2023-09-27T16:38:31.403Z] 4693057ce236: Preparing [2023-09-27T16:38:31.403Z] 41a6b0e25d99: Layer already exists [2023-09-27T16:38:31.403Z] 373504254aab: Layer already exists [2023-09-27T16:38:31.403Z] c5a6d58e5fac: Layer already exists [2023-09-27T16:38:31.403Z] 4693057ce236: Layer already exists [2023-09-27T16:38:31.403Z] 2ece53b21941: Layer already exists [2023-09-27T16:38:31.403Z] main: digest: sha256:1f48272e9cd6e8b720fa2ead4ec80c40ef373bfe75dc593832f73bc9e17a0161 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-27T16:38:31.439Z] ===================================================== [Pipeline] echo [2023-09-27T16:38:31.444Z] taggedImages: [2023-09-27T16:38:31.444Z] - nexus3.edgexfoundry.org:10004/device-virtual:f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [2023-09-27T16:38:31.444Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-27T16:38:31.444Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.19 [2023-09-27T16:38:31.444Z] - nexus3.edgexfoundry.org:10004/device-virtual:f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012-3.1.0-dev.19 [2023-09-27T16:38:31.444Z] - 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-27T16:38:31.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T16:38:31.825Z] [2023-09-27T16:38:31.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:38:32.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T16:38:32.143Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-27T16:38:32.143Z] 5eb5b503b376: Pulling fs layer [2023-09-27T16:38:32.143Z] 5c69ac0246d0: Pulling fs layer [2023-09-27T16:38:32.143Z] ec43610c2a17: Pulling fs layer [2023-09-27T16:38:32.143Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-27T16:38:32.143Z] 33b1e0a273af: Pulling fs layer [2023-09-27T16:38:32.143Z] 5d3b04190fa2: Pulling fs layer [2023-09-27T16:38:32.143Z] 2f39f015ded8: Pulling fs layer [2023-09-27T16:38:32.143Z] 3a2ae6a8a46f: Waiting [2023-09-27T16:38:32.143Z] 33b1e0a273af: Waiting [2023-09-27T16:38:32.143Z] 5d3b04190fa2: Waiting [2023-09-27T16:38:32.143Z] 2f39f015ded8: Waiting [2023-09-27T16:38:32.143Z] 5c69ac0246d0: Verifying Checksum [2023-09-27T16:38:32.143Z] 5c69ac0246d0: Download complete [2023-09-27T16:38:32.143Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-27T16:38:32.143Z] 3a2ae6a8a46f: Download complete [2023-09-27T16:38:32.420Z] 33b1e0a273af: Verifying Checksum [2023-09-27T16:38:32.420Z] 33b1e0a273af: Download complete [2023-09-27T16:38:32.420Z] 5d3b04190fa2: Verifying Checksum [2023-09-27T16:38:32.420Z] 5d3b04190fa2: Download complete [2023-09-27T16:38:32.420Z] ec43610c2a17: Verifying Checksum [2023-09-27T16:38:32.420Z] ec43610c2a17: Download complete [2023-09-27T16:38:32.420Z] 5eb5b503b376: Verifying Checksum [2023-09-27T16:38:32.420Z] 5eb5b503b376: Download complete [2023-09-27T16:38:32.985Z] 2f39f015ded8: Download complete [2023-09-27T16:38:33.552Z] 5eb5b503b376: Pull complete [2023-09-27T16:38:33.552Z] 5c69ac0246d0: Pull complete [2023-09-27T16:38:34.119Z] ec43610c2a17: Pull complete [2023-09-27T16:38:34.119Z] 3a2ae6a8a46f: Pull complete [2023-09-27T16:38:34.377Z] 33b1e0a273af: Pull complete [2023-09-27T16:38:34.377Z] 5d3b04190fa2: Pull complete [2023-09-27T16:38:38.558Z] 2f39f015ded8: Pull complete [2023-09-27T16:38:38.558Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-27T16:38:38.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T16:38:38.558Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:38:38.651Z] prd-ubuntu20.04-docker-8c-8g-8047 does not seem to be running inside a container [2023-09-27T16:38:38.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-27T16:38:42.427Z] $ docker top 791f69f0fdc3b11d813b5a91003a89016154d6e3ffd10985381f3dbddbd15b14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:38:42.830Z] ---> job-cost.sh [2023-09-27T16:38:42.830Z] lf-activate-venv: SKIPPING [2023-09-27T16:38:42.830Z] INFO: No Stack... [2023-09-27T16:38:43.398Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T16:38:43.658Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T16:38:43.951Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-09-27T16:38:43.951Z] + cut -d, -f6 [Pipeline] lock [2023-09-27T16:38:43.964Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-145-stack-cost] [2023-09-27T16:38:43.969Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-145-stack-cost] did not exist. Created. [2023-09-27T16:38:43.970Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-145-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T16:38:44.284Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-27T16:38:44.311Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T16:38:44.318Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-145-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T16:38:44.334Z] $ docker stop --time=1 791f69f0fdc3b11d813b5a91003a89016154d6e3ffd10985381f3dbddbd15b14 [2023-09-27T16:38:45.523Z] $ docker rm -f --volumes 791f69f0fdc3b11d813b5a91003a89016154d6e3ffd10985381f3dbddbd15b14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-27T16:40:22.087Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8050 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-09-27T16:40:22.099Z] Running in /w/workspace/device-virtual-go/145 [Pipeline] { [Pipeline] checkout [2023-09-27T16:40:22.128Z] The recommended git tool is: git [2023-09-27T16:40:28.368Z] using credential edgex-jenkins-ssh [2023-09-27T16:40:28.386Z] Cloning the remote Git repository [2023-09-27T16:40:28.436Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-09-27T16:40:28.548Z] > git init /w/workspace/device-virtual-go/145 # timeout=10 [2023-09-27T16:40:28.713Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-27T16:40:28.714Z] > git --version # timeout=10 [2023-09-27T16:40:28.738Z] > git --version # 'git version 2.25.1' [2023-09-27T16:40:28.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T16:40:28.907Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T16:40:32.297Z] Avoid second fetch [2023-09-27T16:40:32.297Z] Checking out Revision f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 (main) [2023-09-27T16:40:31.229Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-27T16:40:31.258Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T16:40:32.319Z] > git config core.sparsecheckout # timeout=10 [2023-09-27T16:40:32.396Z] > git checkout -f f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 # timeout=10 [2023-09-27T16:40:33.002Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#434)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T16:40:34.128Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-27T16:40:34.128Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T16:40:34.128Z] Dload Upload Total Spent Left Speed [2023-09-27T16:40:34.128Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-09-27T16:40:34.803Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-27T16:40:35.136Z] + sudo tee /etc/docker/daemon.new [2023-09-27T16:40:35.136Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-27T16:40:35.136Z] { [2023-09-27T16:40:35.136Z] "registry-mirrors": [ [2023-09-27T16:40:35.136Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-27T16:40:35.136Z] ], [2023-09-27T16:40:35.136Z] "bip": "10.250.0.254/24", [2023-09-27T16:40:35.136Z] "hosts": [ [2023-09-27T16:40:35.136Z] "tcp://0.0.0.0:5555", [2023-09-27T16:40:35.136Z] "unix:///var/run/docker.sock" [2023-09-27T16:40:35.136Z] ], [2023-09-27T16:40:35.136Z] "mtu": 1458, [2023-09-27T16:40:35.136Z] "selinux-enabled": true, [2023-09-27T16:40:35.136Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-27T16:40:35.136Z] } [Pipeline] sh [2023-09-27T16:40:35.470Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-27T16:40:35.815Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T16:40:54.115Z] provisioning config files... [2023-09-27T16:40:54.142Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/145@tmp/config16328051714061482635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:40:54.508Z] ---> docker-login.sh [2023-09-27T16:40:54.508Z] nexus3.edgexfoundry.org:10001 [2023-09-27T16:40:55.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:40:55.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:40:55.097Z] Configure a credential helper to remove this warning. See [2023-09-27T16:40:55.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:40:55.097Z] [2023-09-27T16:40:55.097Z] Login Succeeded [2023-09-27T16:40:55.097Z] nexus3.edgexfoundry.org:10002 [2023-09-27T16:40:55.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:40:55.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:40:55.640Z] Configure a credential helper to remove this warning. See [2023-09-27T16:40:55.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:40:55.640Z] [2023-09-27T16:40:55.640Z] Login Succeeded [2023-09-27T16:40:55.640Z] nexus3.edgexfoundry.org:10003 [2023-09-27T16:40:55.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:40:55.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:40:55.915Z] Configure a credential helper to remove this warning. See [2023-09-27T16:40:55.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:40:55.915Z] [2023-09-27T16:40:55.915Z] Login Succeeded [2023-09-27T16:40:55.915Z] nexus3.edgexfoundry.org:10004 [2023-09-27T16:40:56.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:40:56.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:40:56.188Z] Configure a credential helper to remove this warning. See [2023-09-27T16:40:56.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:40:56.188Z] [2023-09-27T16:40:56.188Z] Login Succeeded [2023-09-27T16:40:56.462Z] docker.io [2023-09-27T16:40:56.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:40:57.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:40:57.053Z] Configure a credential helper to remove this warning. See [2023-09-27T16:40:57.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:40:57.053Z] [2023-09-27T16:40:57.053Z] Login Succeeded [2023-09-27T16:40:57.053Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T16:40:57.070Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T16:40:57.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T16:40:57.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T16:40:57.421Z] ========================================================= [2023-09-27T16:40:57.421Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-27T16:40:57.421Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:40:57.788Z] + 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-27T16:40:58.057Z] Sending build context to Docker daemon 11.96MB [2023-09-27T16:40:58.057Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T16:40:58.057Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-27T16:40:58.327Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-27T16:40:58.327Z] 9fda8d8052c6: Pulling fs layer [2023-09-27T16:40:58.327Z] 5d54e960e981: Pulling fs layer [2023-09-27T16:40:58.327Z] c4a7e357bf2a: Pulling fs layer [2023-09-27T16:40:58.327Z] f0e02332f6b5: Pulling fs layer [2023-09-27T16:40:58.327Z] cefa15bbcfad: Pulling fs layer [2023-09-27T16:40:58.327Z] 17808c966233: Pulling fs layer [2023-09-27T16:40:58.327Z] f4c1fc716caa: Pulling fs layer [2023-09-27T16:40:58.327Z] f0e02332f6b5: Waiting [2023-09-27T16:40:58.327Z] cefa15bbcfad: Waiting [2023-09-27T16:40:58.327Z] 17808c966233: Waiting [2023-09-27T16:40:58.327Z] f4c1fc716caa: Waiting [2023-09-27T16:40:58.327Z] 5d54e960e981: Verifying Checksum [2023-09-27T16:40:58.327Z] 5d54e960e981: Download complete [2023-09-27T16:40:58.327Z] f0e02332f6b5: Verifying Checksum [2023-09-27T16:40:58.327Z] f0e02332f6b5: Download complete [2023-09-27T16:40:58.327Z] cefa15bbcfad: Verifying Checksum [2023-09-27T16:40:58.610Z] cefa15bbcfad: Download complete [2023-09-27T16:40:58.610Z] 9fda8d8052c6: Verifying Checksum [2023-09-27T16:40:58.610Z] 9fda8d8052c6: Download complete [2023-09-27T16:40:58.882Z] f4c1fc716caa: Verifying Checksum [2023-09-27T16:40:58.882Z] f4c1fc716caa: Download complete [2023-09-27T16:40:59.473Z] 9fda8d8052c6: Pull complete [2023-09-27T16:41:00.071Z] 5d54e960e981: Pull complete [2023-09-27T16:41:00.340Z] c4a7e357bf2a: Verifying Checksum [2023-09-27T16:41:00.340Z] c4a7e357bf2a: Download complete [2023-09-27T16:41:01.304Z] 17808c966233: Verifying Checksum [2023-09-27T16:41:01.304Z] 17808c966233: Download complete [2023-09-27T16:41:13.667Z] c4a7e357bf2a: Pull complete [2023-09-27T16:41:13.667Z] f0e02332f6b5: Pull complete [2023-09-27T16:41:13.667Z] cefa15bbcfad: Pull complete [2023-09-27T16:41:19.045Z] 17808c966233: Pull complete [2023-09-27T16:41:20.747Z] f4c1fc716caa: Pull complete [2023-09-27T16:41:21.024Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-27T16:41:21.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-27T16:41:21.024Z] ---> ea914061e18c [2023-09-27T16:41:21.024Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-27T16:41:22.998Z] ---> Running in 28603026b875 [2023-09-27T16:41:22.998Z] Removing intermediate container 28603026b875 [2023-09-27T16:41:22.998Z] ---> fcb5ff052f1e [2023-09-27T16:41:22.998Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-27T16:41:23.267Z] ---> Running in 712523e53f0c [2023-09-27T16:41:23.535Z] Removing intermediate container 712523e53f0c [2023-09-27T16:41:23.535Z] ---> d213f6e0a765 [2023-09-27T16:41:23.535Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-27T16:41:23.535Z] ---> Running in 55fc350439c2 [2023-09-27T16:41:24.122Z] Removing intermediate container 55fc350439c2 [2023-09-27T16:41:24.122Z] ---> 6cfb127f356b [2023-09-27T16:41:24.122Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-27T16:41:24.122Z] ---> Running in 55b401f83c4d [2023-09-27T16:41:24.398Z] Removing intermediate container 55b401f83c4d [2023-09-27T16:41:24.398Z] ---> 0c6b9fcf7a95 [2023-09-27T16:41:24.398Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-27T16:41:24.398Z] ---> Running in 25701ac8f688 [2023-09-27T16:41:25.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T16:41:26.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T16:41:27.503Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-27T16:41:27.503Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-27T16:41:27.503Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-27T16:41:27.503Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-27T16:41:27.503Z] Executing busybox-1.36.1-r2.trigger [2023-09-27T16:41:27.503Z] OK: 270 MiB in 56 packages [2023-09-27T16:41:28.925Z] Removing intermediate container 25701ac8f688 [2023-09-27T16:41:28.925Z] ---> 55121d771e5d [2023-09-27T16:41:28.925Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-27T16:41:29.194Z] ---> 8de1b40f69c0 [2023-09-27T16:41:29.194Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T16:41:29.194Z] ---> Running in 5ec3b46882e3 [2023-09-27T16:42:50.833Z] Removing intermediate container 5ec3b46882e3 [2023-09-27T16:42:50.833Z] ---> 675d1454f9ac [2023-09-27T16:42:50.833Z] Step 10/12 : COPY . . [2023-09-27T16:42:50.833Z] ---> a54d9023b8cf [2023-09-27T16:42:50.833Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-27T16:42:50.833Z] ---> Running in c66eec87f356 [2023-09-27T16:42:50.833Z] Removing intermediate container c66eec87f356 [2023-09-27T16:42:50.833Z] ---> 7092fea766c4 [2023-09-27T16:42:50.833Z] Step 12/12 : RUN $MAKE [2023-09-27T16:42:50.833Z] ---> Running in 06a751dd6544 [2023-09-27T16:42:50.833Z] noop [2023-09-27T16:42:50.833Z] Removing intermediate container 06a751dd6544 [2023-09-27T16:42:50.833Z] ---> 32eccad0a3e0 [2023-09-27T16:42:50.833Z] Successfully built 32eccad0a3e0 [2023-09-27T16:42:50.833Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:42:51.190Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T16:42:51.190Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:42:51.423Z] prd-ubuntu20.04-docker-arm64-4c-16g-8050 does not seem to be running inside a container [2023-09-27T16:42:51.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/145 -v /w/workspace/device-virtual-go/145:/w/workspace/device-virtual-go/145:rw,z -v /w/workspace/device-virtual-go/145@tmp:/w/workspace/device-virtual-go/145@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-27T16:42:52.876Z] $ docker top efc39bef2cb962b224290c6b7c262997627241ba0f14b574429844cb4e022f6f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T16:42:53.714Z] + go version [2023-09-27T16:42:53.714Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-27T16:42:53.743Z] $ docker stop --time=1 efc39bef2cb962b224290c6b7c262997627241ba0f14b574429844cb4e022f6f [2023-09-27T16:42:55.395Z] $ docker rm -f --volumes efc39bef2cb962b224290c6b7c262997627241ba0f14b574429844cb4e022f6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:42:55.969Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T16:42:55.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:42:56.158Z] prd-ubuntu20.04-docker-arm64-4c-16g-8050 does not seem to be running inside a container [2023-09-27T16:42:56.250Z] $ 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/145 -v /w/workspace/device-virtual-go/145:/w/workspace/device-virtual-go/145:rw,z -v /w/workspace/device-virtual-go/145@tmp:/w/workspace/device-virtual-go/145@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-27T16:42:57.436Z] $ docker top a043658b4927279a9fc6f5381b4c7fe7ba01b697efb3a9fb13859529c62c7c06 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T16:42:57.931Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/145 [Pipeline] fileExists [Pipeline] sh [2023-09-27T16:42:58.528Z] + make test [2023-09-27T16:42:58.528Z] go test ./... -coverprofile=coverage.out [2023-09-27T16:43:02.798Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-27T16:44:39.452Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-27T16:44:39.452Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.073s coverage: 58.4% of statements [2023-09-27T16:44:39.452Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-27T16:44:39.452Z] go vet ./... [2023-09-27T16:45:11.710Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T16:45:11.710Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T16:45:11.710Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T16:45:11.729Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T16:45:11.750Z] $ docker stop --time=1 a043658b4927279a9fc6f5381b4c7fe7ba01b697efb3a9fb13859529c62c7c06 [2023-09-27T16:45:13.778Z] $ docker rm -f --volumes a043658b4927279a9fc6f5381b4c7fe7ba01b697efb3a9fb13859529c62c7c06 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T16:45:15.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T16:45:15.038Z] Warning: overwriting stash ‘coverage-report’ [2023-09-27T16:45:15.545Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T16:45:15.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T16:45:16.277Z] + ls -al . [2023-09-27T16:45:16.278Z] total 200 [2023-09-27T16:45:16.278Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 16:43 . [2023-09-27T16:45:16.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 16:40 .. [2023-09-27T16:45:16.278Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 16:40 .git [2023-09-27T16:45:16.278Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 16:40 .github [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 16:40 .gitignore [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 16:40 .golangci.yml [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 27 16:40 Attribution.txt [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 27 16:40 CHANGELOG.md [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 27 16:40 Dockerfile [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 16:40 GOVERNANCE.md [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 16:40 Jenkinsfile [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 16:40 LICENSE [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 27 16:40 Makefile [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 16:40 OWNERS.md [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 27 16:40 README.md [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 16:36 VERSION [2023-09-27T16:45:16.278Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 16:40 bin [2023-09-27T16:45:16.278Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 16:40 cmd [2023-09-27T16:45:16.278Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 27 16:44 coverage.out [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 27 16:40 go.mod [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 27 16:40 go.sum [2023-09-27T16:45:16.278Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 16:40 internal [2023-09-27T16:45:16.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 16:40 snap [2023-09-27T16:45:16.278Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 16:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:45:16.622Z] + 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=f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 --label arch=arm64 --label version=3.1.0-dev.19 . [2023-09-27T16:45:16.897Z] Sending build context to Docker daemon 12MB [2023-09-27T16:45:16.897Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T16:45:16.897Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-27T16:45:16.897Z] ---> 32eccad0a3e0 [2023-09-27T16:45:16.897Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-27T16:45:17.178Z] ---> Running in 2ffba28d5b99 [2023-09-27T16:45:17.447Z] Removing intermediate container 2ffba28d5b99 [2023-09-27T16:45:17.447Z] ---> 1f4083aa655c [2023-09-27T16:45:17.447Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-27T16:45:17.717Z] ---> Running in afd87ef2298e [2023-09-27T16:45:17.986Z] Removing intermediate container afd87ef2298e [2023-09-27T16:45:17.986Z] ---> 086a5902327a [2023-09-27T16:45:17.986Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-27T16:45:17.986Z] ---> Running in dc7518560de8 [2023-09-27T16:45:18.255Z] Removing intermediate container dc7518560de8 [2023-09-27T16:45:18.255Z] ---> 78c799a72d78 [2023-09-27T16:45:18.255Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-27T16:45:18.255Z] ---> Running in e5decdb3d423 [2023-09-27T16:45:18.843Z] Removing intermediate container e5decdb3d423 [2023-09-27T16:45:18.843Z] ---> 1376832d6d86 [2023-09-27T16:45:18.843Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-27T16:45:18.843Z] ---> Running in 7803efd2337e [2023-09-27T16:45:19.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T16:45:20.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T16:45:21.496Z] OK: 270 MiB in 56 packages [2023-09-27T16:45:22.455Z] Removing intermediate container 7803efd2337e [2023-09-27T16:45:22.456Z] ---> f2ca0cd76e75 [2023-09-27T16:45:22.456Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-27T16:45:22.724Z] ---> 4941227c5b58 [2023-09-27T16:45:22.724Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T16:45:22.724Z] ---> Running in 9caa5d5d1555 [2023-09-27T16:45:25.318Z] Removing intermediate container 9caa5d5d1555 [2023-09-27T16:45:25.318Z] ---> b0cb35c6dc95 [2023-09-27T16:45:25.318Z] Step 10/25 : COPY . . [2023-09-27T16:45:26.284Z] ---> 1c5c9aeaeceb [2023-09-27T16:45:26.284Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-27T16:45:26.553Z] ---> Running in fcfc5d408020 [2023-09-27T16:45:26.824Z] Removing intermediate container fcfc5d408020 [2023-09-27T16:45:26.824Z] ---> 446e77210ad0 [2023-09-27T16:45:26.824Z] Step 12/25 : RUN $MAKE [2023-09-27T16:45:26.824Z] ---> Running in 15efe621c39b [2023-09-27T16:45:27.786Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.31" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-27T16:47:34.480Z] Removing intermediate container 15efe621c39b [2023-09-27T16:47:34.480Z] ---> 1e6fd46228cc [2023-09-27T16:47:34.480Z] Step 13/25 : FROM alpine:3.18 [2023-09-27T16:47:34.480Z] 3.18: Pulling from library/alpine [2023-09-27T16:47:34.480Z] 9fda8d8052c6: Already exists [2023-09-27T16:47:34.480Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T16:47:34.480Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T16:47:34.480Z] ---> f6648c04cd6c [2023-09-27T16:47:34.480Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-27T16:47:34.480Z] ---> Running in e24e7ae70adc [2023-09-27T16:47:34.480Z] Removing intermediate container e24e7ae70adc [2023-09-27T16:47:34.480Z] ---> 113c6643ffc9 [2023-09-27T16:47:34.480Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-27T16:47:34.480Z] ---> Running in 9e3351abcac2 [2023-09-27T16:47:34.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T16:47:34.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T16:47:34.747Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-27T16:47:35.018Z] Executing busybox-1.36.1-r2.trigger [2023-09-27T16:47:35.018Z] OK: 8 MiB in 16 packages [2023-09-27T16:47:35.984Z] Removing intermediate container 9e3351abcac2 [2023-09-27T16:47:35.984Z] ---> 3e26e9389494 [2023-09-27T16:47:35.984Z] Step 16/25 : WORKDIR / [2023-09-27T16:47:35.984Z] ---> Running in e34192d5c43d [2023-09-27T16:47:36.253Z] Removing intermediate container e34192d5c43d [2023-09-27T16:47:36.253Z] ---> 9e21e7fd327d [2023-09-27T16:47:36.253Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-27T16:47:37.679Z] ---> 0ee13db27879 [2023-09-27T16:47:37.679Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-27T16:47:37.948Z] ---> dd552b124dc8 [2023-09-27T16:47:37.948Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-27T16:47:39.378Z] ---> 1682e9bd22d4 [2023-09-27T16:47:39.378Z] Step 20/25 : EXPOSE 59900 [2023-09-27T16:47:39.378Z] ---> Running in e73bf32d7941 [2023-09-27T16:47:39.964Z] Removing intermediate container e73bf32d7941 [2023-09-27T16:47:39.964Z] ---> e953c825266f [2023-09-27T16:47:39.964Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-27T16:47:39.964Z] ---> Running in 9c37096102fd [2023-09-27T16:47:40.234Z] Removing intermediate container 9c37096102fd [2023-09-27T16:47:40.234Z] ---> e7662d743b65 [2023-09-27T16:47:40.234Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-27T16:47:40.234Z] ---> Running in 989832037d41 [2023-09-27T16:47:40.506Z] Removing intermediate container 989832037d41 [2023-09-27T16:47:40.506Z] ---> feb664a62cff [2023-09-27T16:47:40.506Z] Step 23/25 : LABEL arch=arm64 [2023-09-27T16:47:40.775Z] ---> Running in d536e32d3f3a [2023-09-27T16:47:41.045Z] Removing intermediate container d536e32d3f3a [2023-09-27T16:47:41.045Z] ---> 97378dad888f [2023-09-27T16:47:41.045Z] Step 24/25 : LABEL git_sha=f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [2023-09-27T16:47:41.045Z] ---> Running in 0021d0f9c5ff [2023-09-27T16:47:41.317Z] Removing intermediate container 0021d0f9c5ff [2023-09-27T16:47:41.317Z] ---> 034d3536f7ee [2023-09-27T16:47:41.317Z] Step 25/25 : LABEL version=3.1.0-dev.19 [2023-09-27T16:47:41.588Z] ---> Running in 8daeb4516887 [2023-09-27T16:47:41.857Z] Removing intermediate container 8daeb4516887 [2023-09-27T16:47:41.857Z] ---> 92febab56e26 [2023-09-27T16:47:41.857Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T16:47:41.857Z] Successfully built 92febab56e26 [2023-09-27T16:47:41.857Z] 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-27T16:47:41.983Z] provisioning config files... [2023-09-27T16:47:41.998Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/145@tmp/config16783365935687558508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:47:42.341Z] ---> docker-login.sh [2023-09-27T16:47:42.341Z] nexus3.edgexfoundry.org:10001 [2023-09-27T16:47:42.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:47:42.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:47:42.610Z] Configure a credential helper to remove this warning. See [2023-09-27T16:47:42.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:47:42.610Z] [2023-09-27T16:47:42.610Z] Login Succeeded [2023-09-27T16:47:42.610Z] nexus3.edgexfoundry.org:10002 [2023-09-27T16:47:42.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:47:43.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:47:43.146Z] Configure a credential helper to remove this warning. See [2023-09-27T16:47:43.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:47:43.146Z] [2023-09-27T16:47:43.146Z] Login Succeeded [2023-09-27T16:47:43.146Z] nexus3.edgexfoundry.org:10003 [2023-09-27T16:47:43.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:47:43.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:47:43.416Z] Configure a credential helper to remove this warning. See [2023-09-27T16:47:43.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:47:43.416Z] [2023-09-27T16:47:43.416Z] Login Succeeded [2023-09-27T16:47:43.416Z] nexus3.edgexfoundry.org:10004 [2023-09-27T16:47:43.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:47:43.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:47:43.684Z] Configure a credential helper to remove this warning. See [2023-09-27T16:47:43.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:47:43.684Z] [2023-09-27T16:47:43.684Z] Login Succeeded [2023-09-27T16:47:43.956Z] docker.io [2023-09-27T16:47:43.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T16:47:44.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T16:47:44.548Z] Configure a credential helper to remove this warning. See [2023-09-27T16:47:44.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T16:47:44.548Z] [2023-09-27T16:47:44.548Z] Login Succeeded [2023-09-27T16:47:44.548Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T16:47:44.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-27T16:47:44.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T16:47:44.623Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-09-27T16:47:44.623Z] f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [2023-09-27T16:47:44.623Z] latest [2023-09-27T16:47:44.623Z] 3.1.0-dev.19 [2023-09-27T16:47:44.623Z] f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012-3.1.0-dev.19 [2023-09-27T16:47:44.623Z] main [2023-09-27T16:47:44.623Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:47:44.970Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:47:45.322Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [2023-09-27T16:47:45.322Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-27T16:47:45.322Z] 10e07e3f29bb: Preparing [2023-09-27T16:47:45.322Z] 0ca9514e912a: Preparing [2023-09-27T16:47:45.322Z] 23ceb1ba515a: Preparing [2023-09-27T16:47:45.322Z] c5e915c83b11: Preparing [2023-09-27T16:47:45.322Z] b2191e2be29d: Preparing [2023-09-27T16:47:45.322Z] b2191e2be29d: Layer already exists [2023-09-27T16:47:45.590Z] 23ceb1ba515a: Pushed [2023-09-27T16:47:45.590Z] 0ca9514e912a: Pushed [2023-09-27T16:47:45.590Z] c5e915c83b11: Pushed [2023-09-27T16:47:52.249Z] 10e07e3f29bb: Pushed [2023-09-27T16:47:52.249Z] f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012: digest: sha256:a31d03430f7ee43295ec93f7f7d6529e45eb3bac3cb138c3374633aa85aedfbc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:47:52.606Z] + 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-27T16:47:53.036Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-27T16:47:53.036Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-27T16:47:53.036Z] 10e07e3f29bb: Preparing [2023-09-27T16:47:53.036Z] 0ca9514e912a: Preparing [2023-09-27T16:47:53.036Z] 23ceb1ba515a: Preparing [2023-09-27T16:47:53.036Z] c5e915c83b11: Preparing [2023-09-27T16:47:53.036Z] b2191e2be29d: Preparing [2023-09-27T16:47:53.307Z] b2191e2be29d: Layer already exists [2023-09-27T16:47:53.307Z] 10e07e3f29bb: Layer already exists [2023-09-27T16:47:53.307Z] c5e915c83b11: Layer already exists [2023-09-27T16:47:53.307Z] 0ca9514e912a: Layer already exists [2023-09-27T16:47:53.307Z] 23ceb1ba515a: Layer already exists [2023-09-27T16:47:53.307Z] latest: digest: sha256:a31d03430f7ee43295ec93f7f7d6529e45eb3bac3cb138c3374633aa85aedfbc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:47:53.679Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:47:54.053Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.19 [2023-09-27T16:47:54.053Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-27T16:47:54.053Z] 10e07e3f29bb: Preparing [2023-09-27T16:47:54.053Z] 0ca9514e912a: Preparing [2023-09-27T16:47:54.053Z] 23ceb1ba515a: Preparing [2023-09-27T16:47:54.053Z] c5e915c83b11: Preparing [2023-09-27T16:47:54.053Z] b2191e2be29d: Preparing [2023-09-27T16:47:54.053Z] 23ceb1ba515a: Layer already exists [2023-09-27T16:47:54.053Z] c5e915c83b11: Layer already exists [2023-09-27T16:47:54.053Z] 10e07e3f29bb: Layer already exists [2023-09-27T16:47:54.053Z] 0ca9514e912a: Layer already exists [2023-09-27T16:47:54.053Z] b2191e2be29d: Layer already exists [2023-09-27T16:47:54.053Z] 3.1.0-dev.19: digest: sha256:a31d03430f7ee43295ec93f7f7d6529e45eb3bac3cb138c3374633aa85aedfbc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:47:54.802Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:47:55.147Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012-3.1.0-dev.19 [2023-09-27T16:47:55.147Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-27T16:47:55.147Z] 10e07e3f29bb: Preparing [2023-09-27T16:47:55.147Z] 0ca9514e912a: Preparing [2023-09-27T16:47:55.147Z] 23ceb1ba515a: Preparing [2023-09-27T16:47:55.147Z] c5e915c83b11: Preparing [2023-09-27T16:47:55.147Z] b2191e2be29d: Preparing [2023-09-27T16:47:55.147Z] 23ceb1ba515a: Layer already exists [2023-09-27T16:47:55.147Z] 10e07e3f29bb: Layer already exists [2023-09-27T16:47:55.147Z] c5e915c83b11: Layer already exists [2023-09-27T16:47:55.147Z] 0ca9514e912a: Layer already exists [2023-09-27T16:47:55.147Z] b2191e2be29d: Layer already exists [2023-09-27T16:47:55.147Z] f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012-3.1.0-dev.19: digest: sha256:a31d03430f7ee43295ec93f7f7d6529e45eb3bac3cb138c3374633aa85aedfbc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:47:55.761Z] + 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-27T16:47:56.109Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-09-27T16:47:56.109Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-27T16:47:56.109Z] 10e07e3f29bb: Preparing [2023-09-27T16:47:56.109Z] 0ca9514e912a: Preparing [2023-09-27T16:47:56.109Z] 23ceb1ba515a: Preparing [2023-09-27T16:47:56.109Z] c5e915c83b11: Preparing [2023-09-27T16:47:56.109Z] b2191e2be29d: Preparing [2023-09-27T16:47:56.109Z] c5e915c83b11: Layer already exists [2023-09-27T16:47:56.109Z] 23ceb1ba515a: Layer already exists [2023-09-27T16:47:56.109Z] 0ca9514e912a: Layer already exists [2023-09-27T16:47:56.109Z] b2191e2be29d: Layer already exists [2023-09-27T16:47:56.109Z] 10e07e3f29bb: Layer already exists [2023-09-27T16:47:56.378Z] main: digest: sha256:a31d03430f7ee43295ec93f7f7d6529e45eb3bac3cb138c3374633aa85aedfbc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-27T16:47:56.442Z] ===================================================== [Pipeline] echo [2023-09-27T16:47:56.450Z] taggedImages: [2023-09-27T16:47:56.450Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [2023-09-27T16:47:56.450Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-27T16:47:56.450Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.19 [2023-09-27T16:47:56.450Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012-3.1.0-dev.19 [2023-09-27T16:47:56.450Z] - 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-27T16:47:56.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T16:47:56.821Z] [2023-09-27T16:47:56.821Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:47:57.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T16:47:57.162Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-27T16:47:57.162Z] 8998bd30e6a1: Pulling fs layer [2023-09-27T16:47:57.162Z] 04944245beec: Pulling fs layer [2023-09-27T16:47:57.162Z] 699f458cf7ca: Pulling fs layer [2023-09-27T16:47:57.162Z] 765212b225bb: Pulling fs layer [2023-09-27T16:47:57.162Z] f23df028b6ca: Pulling fs layer [2023-09-27T16:47:57.162Z] d65c8cfc05b1: Pulling fs layer [2023-09-27T16:47:57.162Z] 2437ff75d9bd: Pulling fs layer [2023-09-27T16:47:57.162Z] f23df028b6ca: Waiting [2023-09-27T16:47:57.162Z] d65c8cfc05b1: Waiting [2023-09-27T16:47:57.162Z] 2437ff75d9bd: Waiting [2023-09-27T16:47:57.162Z] 765212b225bb: Waiting [2023-09-27T16:47:57.430Z] 04944245beec: Verifying Checksum [2023-09-27T16:47:57.430Z] 04944245beec: Download complete [2023-09-27T16:47:57.430Z] 765212b225bb: Verifying Checksum [2023-09-27T16:47:57.430Z] 765212b225bb: Download complete [2023-09-27T16:47:57.430Z] f23df028b6ca: Verifying Checksum [2023-09-27T16:47:57.430Z] f23df028b6ca: Download complete [2023-09-27T16:47:57.430Z] d65c8cfc05b1: Verifying Checksum [2023-09-27T16:47:57.430Z] d65c8cfc05b1: Download complete [2023-09-27T16:47:57.697Z] 699f458cf7ca: Verifying Checksum [2023-09-27T16:47:57.697Z] 699f458cf7ca: Download complete [2023-09-27T16:47:57.966Z] 8998bd30e6a1: Verifying Checksum [2023-09-27T16:47:57.966Z] 8998bd30e6a1: Download complete [2023-09-27T16:48:00.555Z] 2437ff75d9bd: Verifying Checksum [2023-09-27T16:48:01.971Z] 8998bd30e6a1: Pull complete [2023-09-27T16:48:02.558Z] 04944245beec: Pull complete [2023-09-27T16:48:06.818Z] 699f458cf7ca: Pull complete [2023-09-27T16:48:06.818Z] 765212b225bb: Pull complete [2023-09-27T16:48:07.086Z] f23df028b6ca: Pull complete [2023-09-27T16:48:07.354Z] d65c8cfc05b1: Pull complete [2023-09-27T16:48:22.354Z] 2437ff75d9bd: Pull complete [2023-09-27T16:48:22.354Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-27T16:48:22.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T16:48:22.354Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:48:22.570Z] prd-ubuntu20.04-docker-arm64-4c-16g-8050 does not seem to be running inside a container [2023-09-27T16:48:22.663Z] $ 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/145 -v /w/workspace/device-virtual-go/145:/w/workspace/device-virtual-go/145:rw,z -v /w/workspace/device-virtual-go/145@tmp:/w/workspace/device-virtual-go/145@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-27T16:48:25.423Z] $ docker top 48e9ad5fdfb379d59d40b449b99fb6d25db821c82f989e5bd6304c3275cf4c69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:48:26.270Z] ---> job-cost.sh [2023-09-27T16:48:26.270Z] lf-activate-venv: SKIPPING [2023-09-27T16:48:26.270Z] INFO: No Stack... [2023-09-27T16:48:28.213Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-27T16:48:29.174Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T16:48:29.812Z] + cat /w/workspace/device-virtual-go/145/archives/cost.csv [2023-09-27T16:48:29.812Z] + cut -d, -f6 [Pipeline] lock [2023-09-27T16:48:29.885Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-145-stack-cost] [2023-09-27T16:48:29.890Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-145-stack-cost] did not exist. Created. [2023-09-27T16:48:29.890Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-145-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T16:48:30.550Z] /w/workspace/device-virtual-go/145@tmp/durable-48a0c14d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-27T16:48:31.209Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-27T16:48:31.234Z] Warning: overwriting stash ‘stack-cost’ [2023-09-27T16:48:31.300Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T16:48:31.307Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-145-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T16:48:31.336Z] $ docker stop --time=1 48e9ad5fdfb379d59d40b449b99fb6d25db821c82f989e5bd6304c3275cf4c69 [2023-09-27T16:48:32.875Z] $ docker rm -f --volumes 48e9ad5fdfb379d59d40b449b99fb6d25db821c82f989e5bd6304c3275cf4c69 [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-27T16:48:33.296Z] provisioning config files... [2023-09-27T16:48:33.304Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12554505983997225444tmp [Pipeline] { [Pipeline] sh [2023-09-27T16:48:33.593Z] + set +x [2023-09-27T16:48:33.593Z] + curl -s https://codecov.io/bash [2023-09-27T16:48:33.593Z] + bash -s -- [2023-09-27T16:48:33.593Z] [2023-09-27T16:48:33.593Z] _____ _ [2023-09-27T16:48:33.593Z] / ____| | | [2023-09-27T16:48:33.593Z] | | ___ __| | ___ ___ _____ __ [2023-09-27T16:48:33.593Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-27T16:48:33.593Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-27T16:48:33.593Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-27T16:48:33.593Z] Bash-1.0.6 [2023-09-27T16:48:33.593Z] [2023-09-27T16:48:33.593Z] [2023-09-27T16:48:33.593Z] ==> git version 2.25.1 found [2023-09-27T16:48:33.593Z] ==> 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-27T16:48:33.593Z] Release-Date: 2020-01-08 [2023-09-27T16:48:33.593Z] 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-27T16:48:33.593Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-27T16:48:33.593Z] ==> Jenkins CI detected. [2023-09-27T16:48:33.593Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-09-27T16:48:33.593Z] project root: . [2023-09-27T16:48:33.593Z] --> token set from env [2023-09-27T16:48:33.593Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-27T16:48:33.852Z] ==> Running gcov in . (disable via -X gcov) [2023-09-27T16:48:33.852Z] ==> Python coveragepy not found [2023-09-27T16:48:33.852Z] ==> Searching for coverage reports in: [2023-09-27T16:48:33.852Z] + . [2023-09-27T16:48:33.852Z] -> Found 1 reports [2023-09-27T16:48:33.852Z] ==> Detecting git/mercurial file structure [2023-09-27T16:48:33.852Z] ==> Reading reports [2023-09-27T16:48:33.852Z] + ./coverage.out bytes=43063 [2023-09-27T16:48:33.852Z] ==> Appending adjustments [2023-09-27T16:48:33.852Z] https://docs.codecov.io/docs/fixing-reports [2023-09-27T16:48:33.852Z] + Found adjustments [2023-09-27T16:48:33.852Z] ==> Gzipping contents [2023-09-27T16:48:33.852Z] 8.0K /tmp/codecov.jNPeMI.gz [2023-09-27T16:48:33.852Z] ==> Uploading reports [2023-09-27T16:48:33.852Z] url: https://codecov.io [2023-09-27T16:48:33.852Z] query: branch=main&commit=f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012&build=145&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F145%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-27T16:48:33.852Z] -> Pinging Codecov [2023-09-27T16:48:33.852Z] 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=f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012&build=145&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F145%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-27T16:48:34.112Z] -> Uploading to [2023-09-27T16:48:34.112Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-27/5E52B4B073DB2E39498172D8E973AA87/f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012/12e48ff2-3779-42aa-99d9-472f9d311e4a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230927T164833Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=76189f5eca03ab5dc7c7b8f6cc8b6376e3491774e2ae71982fa787775858247d [2023-09-27T16:48:34.112Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T16:48:34.112Z] Dload Upload Total Spent Left Speed [2023-09-27T16:48:34.371Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 20903 --:--:-- --:--:-- --:--:-- 20903 [2023-09-27T16:48:34.371Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [Pipeline] } [2023-09-27T16:48:34.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-27T16:48:34.555Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-27T16:48:34.564Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:48:34.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-27T16:48:34.849Z] [2023-09-27T16:48:34.849Z] 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-27T16:48:35.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-27T16:48:35.143Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-27T16:48:35.143Z] df9b9388f04a: Pulling fs layer [2023-09-27T16:48:35.143Z] 52dc419b0ee2: Pulling fs layer [2023-09-27T16:48:35.143Z] 25bc292e5bac: Pulling fs layer [2023-09-27T16:48:35.143Z] 114826534d7a: Pulling fs layer [2023-09-27T16:48:35.143Z] 4657fd5d0bcf: Pulling fs layer [2023-09-27T16:48:35.143Z] 6ad1cebc031e: Pulling fs layer [2023-09-27T16:48:35.143Z] 8a3aa393b2d8: Pulling fs layer [2023-09-27T16:48:35.143Z] 114826534d7a: Waiting [2023-09-27T16:48:35.143Z] 4657fd5d0bcf: Waiting [2023-09-27T16:48:35.143Z] 6ad1cebc031e: Waiting [2023-09-27T16:48:35.143Z] 8a3aa393b2d8: Waiting [2023-09-27T16:48:35.143Z] 25bc292e5bac: Verifying Checksum [2023-09-27T16:48:35.143Z] 25bc292e5bac: Download complete [2023-09-27T16:48:35.143Z] 52dc419b0ee2: Download complete [2023-09-27T16:48:35.143Z] 4657fd5d0bcf: Download complete [2023-09-27T16:48:35.143Z] df9b9388f04a: Verifying Checksum [2023-09-27T16:48:35.143Z] df9b9388f04a: Download complete [2023-09-27T16:48:35.403Z] df9b9388f04a: Pull complete [2023-09-27T16:48:35.403Z] 52dc419b0ee2: Pull complete [2023-09-27T16:48:35.403Z] 6ad1cebc031e: Verifying Checksum [2023-09-27T16:48:35.403Z] 6ad1cebc031e: Download complete [2023-09-27T16:48:35.403Z] 25bc292e5bac: Pull complete [2023-09-27T16:48:35.968Z] 114826534d7a: Verifying Checksum [2023-09-27T16:48:35.968Z] 114826534d7a: Download complete [2023-09-27T16:48:36.225Z] 8a3aa393b2d8: Verifying Checksum [2023-09-27T16:48:36.225Z] 8a3aa393b2d8: Download complete [2023-09-27T16:48:39.502Z] 114826534d7a: Pull complete [2023-09-27T16:48:39.502Z] 4657fd5d0bcf: Pull complete [2023-09-27T16:48:39.502Z] 6ad1cebc031e: Pull complete [2023-09-27T16:48:42.029Z] 8a3aa393b2d8: Pull complete [2023-09-27T16:48:42.029Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-27T16:48:42.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-27T16:48:42.029Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:48:42.108Z] prd-ubuntu20.04-docker-8c-8g-8047 does not seem to be running inside a container [2023-09-27T16:48:42.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-27T16:48:46.960Z] $ docker top 0ebc9e36db1d330ab5052bead2f3ca8e23c940b632cec41331a0def74cb82a4e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-27T16:48:47.034Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-09-27T16:48:47.312Z] + set -o pipefail [2023-09-27T16:48:47.312Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-09-27T16:49:02.258Z] [2023-09-27T16:49:02.258Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-09-27T16:49:02.258Z] [2023-09-27T16:49:02.258Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/83a9c75f-ea9a-4633-bfd6-b7a201cc8a93 [2023-09-27T16:49:02.258Z] [2023-09-27T16:49:02.258Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-27T16:49:02.258Z] [2023-09-27T16:49:02.258Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-27T16:49:02.258Z] [2023-09-27T16:49:02.258Z] [2023-09-27T16:49:02.258Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-27T16:49:02.258Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-27T16:49:02.258Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-27T16:49:02.259Z] $ docker stop --time=1 0ebc9e36db1d330ab5052bead2f3ca8e23c940b632cec41331a0def74cb82a4e [2023-09-27T16:49:06.135Z] $ docker rm -f --volumes 0ebc9e36db1d330ab5052bead2f3ca8e23c940b632cec41331a0def74cb82a4e [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-27T16:49:06.828Z] + git log --format=format:%s -1 f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 [Pipeline] sh [2023-09-27T16:49:07.125Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T16:49:07.125Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:49:07.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T16:49:07.421Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:49:07.494Z] prd-ubuntu20.04-docker-8c-8g-8047 does not seem to be running inside a container [2023-09-27T16:49:07.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T16:49:07.966Z] $ docker top 1f72bc338db8a2a86b65aeede85b5c12aca8a9121d85773747d5c9310921bb0b -eo pid,comm [2023-09-27T16:49:08.022Z] 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-27T16:49:08.022Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T16:49:08.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T16:49:08.053Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T16:49:08.168Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T16:49:08.159Z] $ docker exec 1f72bc338db8a2a86b65aeede85b5c12aca8a9121d85773747d5c9310921bb0b ssh-agent [2023-09-27T16:49:08.281Z] SSH_AUTH_SOCK=/tmp/ssh-m5zYJ2sfOptV/agent.32 [2023-09-27T16:49:08.281Z] SSH_AGENT_PID=38 [2023-09-27T16:49:08.285Z] Running ssh-add (command line suppressed) [2023-09-27T16:49:08.374Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5107284587774929708.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5107284587774929708.key) [2023-09-27T16:49:08.398Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T16:49:08.681Z] + git semver tag [2023-09-27T16:49:08.941Z] 2023-09-27 16:49:08,834 [run_tag] DEBUG tag force:False [2023-09-27T16:49:08.941Z] 2023-09-27 16:49:08,834 [check_head_tag] DEBUG check head tag [2023-09-27T16:49:08.941Z] 2023-09-27 16:49:08,835 [execute] INFO git cat-file --batch-check [2023-09-27T16:49:08.941Z] 2023-09-27 16:49:08,836 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-27T16:49:08.941Z] 2023-09-27 16:49:08,839 [execute] INFO git cat-file --batch [2023-09-27T16:49:08.941Z] 2023-09-27 16:49:08,840 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-27T16:49:08.941Z] 2023-09-27 16:49:08,852 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-27T16:49:08.941Z] 2023-09-27 16:49:08,852 [execute] INFO git tag -a v3.1.0-dev.19 -m v3.1.0-dev.19 [2023-09-27T16:49:08.941Z] 2023-09-27 16:49:08,852 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.19', '-m', 'v3.1.0-dev.19'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-27T16:49:08.941Z] 2023-09-27 16:49:08,855 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-27T16:49:08.941Z] 3.1.0-dev.19 [Pipeline] } [2023-09-27T16:49:08.939Z] $ docker exec --env ******** --env ******** 1f72bc338db8a2a86b65aeede85b5c12aca8a9121d85773747d5c9310921bb0b ssh-agent -k [2023-09-27T16:49:09.032Z] unset SSH_AUTH_SOCK; [2023-09-27T16:49:09.032Z] unset SSH_AGENT_PID; [2023-09-27T16:49:09.032Z] echo Agent pid 38 killed; [2023-09-27T16:49:09.052Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T16:49:09.348Z] + git semver [Pipeline] } [2023-09-27T16:49:09.609Z] $ docker stop --time=1 1f72bc338db8a2a86b65aeede85b5c12aca8a9121d85773747d5c9310921bb0b [2023-09-27T16:49:10.899Z] $ docker rm -f --volumes 1f72bc338db8a2a86b65aeede85b5c12aca8a9121d85773747d5c9310921bb0b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:49:11.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-27T16:49:11.282Z] [2023-09-27T16:49:11.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:49:11.591Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-27T16:49:11.591Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-27T16:49:11.591Z] ab5ef0e58194: Pulling fs layer [2023-09-27T16:49:11.591Z] 9712f1f96733: Pulling fs layer [2023-09-27T16:49:11.591Z] 63f879dbbcfc: Pulling fs layer [2023-09-27T16:49:11.591Z] 0d9ebad4ef96: Pulling fs layer [2023-09-27T16:49:11.591Z] e9a5061849ea: Pulling fs layer [2023-09-27T16:49:11.591Z] d747dcd14b5f: Pulling fs layer [2023-09-27T16:49:11.591Z] 2de7ff778b66: Pulling fs layer [2023-09-27T16:49:11.591Z] 0d9ebad4ef96: Waiting [2023-09-27T16:49:11.591Z] e9a5061849ea: Waiting [2023-09-27T16:49:11.591Z] d747dcd14b5f: Waiting [2023-09-27T16:49:11.591Z] 2de7ff778b66: Waiting [2023-09-27T16:49:11.591Z] 9712f1f96733: Verifying Checksum [2023-09-27T16:49:11.591Z] 9712f1f96733: Download complete [2023-09-27T16:49:12.172Z] 63f879dbbcfc: Verifying Checksum [2023-09-27T16:49:12.172Z] 63f879dbbcfc: Download complete [2023-09-27T16:49:12.172Z] e9a5061849ea: Verifying Checksum [2023-09-27T16:49:12.172Z] e9a5061849ea: Download complete [2023-09-27T16:49:12.172Z] d747dcd14b5f: Download complete [2023-09-27T16:49:12.172Z] 0d9ebad4ef96: Verifying Checksum [2023-09-27T16:49:12.172Z] 0d9ebad4ef96: Download complete [2023-09-27T16:49:12.172Z] ab5ef0e58194: Verifying Checksum [2023-09-27T16:49:12.172Z] ab5ef0e58194: Download complete [2023-09-27T16:49:12.429Z] 2de7ff778b66: Verifying Checksum [2023-09-27T16:49:12.429Z] 2de7ff778b66: Download complete [2023-09-27T16:49:14.957Z] ab5ef0e58194: Pull complete [2023-09-27T16:49:14.957Z] 9712f1f96733: Pull complete [2023-09-27T16:49:15.215Z] 63f879dbbcfc: Pull complete [2023-09-27T16:49:18.499Z] 0d9ebad4ef96: Pull complete [2023-09-27T16:49:18.757Z] e9a5061849ea: Pull complete [2023-09-27T16:49:18.757Z] d747dcd14b5f: Pull complete [2023-09-27T16:49:19.691Z] 2de7ff778b66: Pull complete [2023-09-27T16:49:19.691Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-27T16:49:19.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-27T16:49:19.691Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:49:19.767Z] prd-ubuntu20.04-docker-8c-8g-8047 does not seem to be running inside a container [2023-09-27T16:49:19.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-27T16:49:23.863Z] $ docker top 6d023376fa42afd0c9ac88e8221d8f8117da35a9b236c0b7a8cb5eb1b44dbe84 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-27T16:49:23.941Z] provisioning config files... [2023-09-27T16:49:23.948Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9104604853790460193tmp [2023-09-27T16:49:23.960Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8622487524931338935tmp [2023-09-27T16:49:23.970Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7665747604362724097tmp [Pipeline] { [Pipeline] echo [2023-09-27T16:49:23.987Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:49:24.268Z] ---> sigul-configuration.sh [2023-09-27T16:49:24.268Z] gpg: directory `/root/.gnupg' created [2023-09-27T16:49:24.268Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-27T16:49:24.268Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-27T16:49:24.268Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-27T16:49:24.268Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-27T16:49:24.268Z] gpg: CAST5 encrypted data [2023-09-27T16:49:24.268Z] gpg: encrypted with 1 passphrase [2023-09-27T16:49:24.268Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-27T16:49:24.554Z] + mkdir /home/jenkins [2023-09-27T16:49:24.554Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-27T16:49:24.837Z] + 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-27T16:49:24.846Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:49:25.131Z] ---> sigul-install.sh [2023-09-27T16:49:25.131Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-27T16:49:25.414Z] + git tag --list [2023-09-27T16:49:25.414Z] v1.0.0 [2023-09-27T16:49:25.414Z] v1.1.0 [2023-09-27T16:49:25.414Z] v1.1.1 [2023-09-27T16:49:25.414Z] v1.2.1 [2023-09-27T16:49:25.414Z] v1.2.2 [2023-09-27T16:49:25.414Z] v1.2.3 [2023-09-27T16:49:25.414Z] v1.3.0 [2023-09-27T16:49:25.414Z] v1.3.1 [2023-09-27T16:49:25.414Z] v2.0.0 [2023-09-27T16:49:25.414Z] v2.1.0 [2023-09-27T16:49:25.414Z] v2.1.1 [2023-09-27T16:49:25.414Z] v2.2.0 [2023-09-27T16:49:25.414Z] v2.3.0 [2023-09-27T16:49:25.414Z] v3.0 [2023-09-27T16:49:25.414Z] v3.0.0 [2023-09-27T16:49:25.414Z] v3.1.0-dev.1 [2023-09-27T16:49:25.414Z] v3.1.0-dev.10 [2023-09-27T16:49:25.414Z] v3.1.0-dev.11 [2023-09-27T16:49:25.414Z] v3.1.0-dev.12 [2023-09-27T16:49:25.414Z] v3.1.0-dev.13 [2023-09-27T16:49:25.414Z] v3.1.0-dev.14 [2023-09-27T16:49:25.414Z] v3.1.0-dev.15 [2023-09-27T16:49:25.414Z] v3.1.0-dev.16 [2023-09-27T16:49:25.414Z] v3.1.0-dev.17 [2023-09-27T16:49:25.414Z] v3.1.0-dev.18 [2023-09-27T16:49:25.414Z] v3.1.0-dev.19 [2023-09-27T16:49:25.414Z] v3.1.0-dev.2 [2023-09-27T16:49:25.414Z] v3.1.0-dev.3 [2023-09-27T16:49:25.414Z] v3.1.0-dev.4 [2023-09-27T16:49:25.414Z] v3.1.0-dev.5 [2023-09-27T16:49:25.414Z] v3.1.0-dev.6 [2023-09-27T16:49:25.414Z] v3.1.0-dev.7 [2023-09-27T16:49:25.414Z] v3.1.0-dev.8 [2023-09-27T16:49:25.414Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-27T16:49:25.704Z] + lftools sign git-tag v3.1.0-dev.19 [2023-09-27T16:49:26.272Z] Signing Git tag with Sigul... [2023-09-27T16:49:26.272Z] Signing v3.1.0-dev.19 [Pipeline] echo [2023-09-27T16:49:26.539Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:49:26.823Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-27T16:49:26.830Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-27T16:49:26.835Z] $ docker stop --time=1 6d023376fa42afd0c9ac88e8221d8f8117da35a9b236c0b7a8cb5eb1b44dbe84 [2023-09-27T16:49:28.136Z] $ docker rm -f --volumes 6d023376fa42afd0c9ac88e8221d8f8117da35a9b236c0b7a8cb5eb1b44dbe84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-27T16:49:28.544Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T16:49:28.544Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:49:28.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T16:49:28.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:49:28.916Z] prd-ubuntu20.04-docker-8c-8g-8047 does not seem to be running inside a container [2023-09-27T16:49:28.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T16:49:29.287Z] $ docker top f10ef5abffa7a6ea48e4fd463ae16104cc3230cda2630d32b1ce570126d0fc03 -eo pid,comm [2023-09-27T16:49:29.344Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-27T16:49:29.344Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T16:49:29.379Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T16:49:29.380Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T16:49:29.491Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T16:49:29.482Z] $ docker exec f10ef5abffa7a6ea48e4fd463ae16104cc3230cda2630d32b1ce570126d0fc03 ssh-agent [2023-09-27T16:49:29.613Z] SSH_AUTH_SOCK=/tmp/ssh-iDrncfowlVEl/agent.33 [2023-09-27T16:49:29.613Z] SSH_AGENT_PID=39 [2023-09-27T16:49:29.617Z] Running ssh-add (command line suppressed) [2023-09-27T16:49:29.705Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13132230901578203372.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13132230901578203372.key) [2023-09-27T16:49:29.729Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T16:49:30.014Z] + git semver bump pre [2023-09-27T16:49:30.274Z] 2023-09-27 16:49:30,171 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-27T16:49:30.274Z] 2023-09-27 16:49:30,172 [bump_version] DEBUG bumping version:3.1.0-dev.19 on axis:pre with prefix:dev [2023-09-27T16:49:30.274Z] 2023-09-27 16:49:30,172 [bump_version] DEBUG bumped version:3.1.0-dev.20 [2023-09-27T16:49:30.274Z] 2023-09-27 16:49:30,172 [write_version] DEBUG write version:3.1.0-dev.20 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-09-27T16:49:30.274Z] 2023-09-27 16:49:30,172 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-27T16:49:30.274Z] 2023-09-27 16:49:30,172 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-27T16:49:30.274Z] 2023-09-27 16:49:30,174 [execute] INFO git cat-file --batch-check [2023-09-27T16:49:30.274Z] 2023-09-27 16:49:30,175 [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-27T16:49:30.274Z] 2023-09-27 16:49:30,180 [execute] INFO git cat-file --batch [2023-09-27T16:49:30.274Z] 2023-09-27 16:49:30,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T16:49:30.274Z] 2023-09-27 16:49:30,184 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-27T16:49:30.274Z] 3.1.0-dev.20 [Pipeline] } [2023-09-27T16:49:30.272Z] $ docker exec --env ******** --env ******** f10ef5abffa7a6ea48e4fd463ae16104cc3230cda2630d32b1ce570126d0fc03 ssh-agent -k [2023-09-27T16:49:30.358Z] unset SSH_AUTH_SOCK; [2023-09-27T16:49:30.359Z] unset SSH_AGENT_PID; [2023-09-27T16:49:30.359Z] echo Agent pid 39 killed; [2023-09-27T16:49:30.380Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T16:49:30.681Z] + git semver [Pipeline] } [2023-09-27T16:49:30.942Z] $ docker stop --time=1 f10ef5abffa7a6ea48e4fd463ae16104cc3230cda2630d32b1ce570126d0fc03 [2023-09-27T16:49:32.197Z] $ docker rm -f --volumes f10ef5abffa7a6ea48e4fd463ae16104cc3230cda2630d32b1ce570126d0fc03 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T16:49:32.547Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T16:49:32.547Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:49:32.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T16:49:32.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:49:32.923Z] prd-ubuntu20.04-docker-8c-8g-8047 does not seem to be running inside a container [2023-09-27T16:49:32.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T16:49:33.246Z] $ docker top 73feda205211b048e3df866d81775fcceef1ca2d80979084cd90eabebc042c91 -eo pid,comm [2023-09-27T16:49:33.305Z] 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-27T16:49:33.305Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T16:49:33.342Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T16:49:33.342Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T16:49:33.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T16:49:33.451Z] $ docker exec 73feda205211b048e3df866d81775fcceef1ca2d80979084cd90eabebc042c91 ssh-agent [2023-09-27T16:49:33.577Z] SSH_AUTH_SOCK=/tmp/ssh-NzCQc34fILEL/agent.33 [2023-09-27T16:49:33.577Z] SSH_AGENT_PID=39 [2023-09-27T16:49:33.583Z] Running ssh-add (command line suppressed) [2023-09-27T16:49:33.677Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5985017377693911738.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5985017377693911738.key) [2023-09-27T16:49:33.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T16:49:33.989Z] + git semver push [2023-09-27T16:49:34.248Z] 2023-09-27 16:49:34,150 [run_push] DEBUG push [2023-09-27T16:49:34.248Z] 2023-09-27 16:49:34,151 [execute] INFO git cat-file --batch-check [2023-09-27T16:49:34.248Z] 2023-09-27 16:49:34,151 [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-27T16:49:34.248Z] 2023-09-27 16:49:34,155 [execute] INFO git rev-list 10e4750c8e904962e2e114124756e015c1a2687c -- [2023-09-27T16:49:34.248Z] 2023-09-27 16:49:34,155 [execute] DEBUG Popen(['git', 'rev-list', '10e4750c8e904962e2e114124756e015c1a2687c', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-27T16:49:34.248Z] 2023-09-27 16:49:34,164 [execute] INFO git fetch -v origin [2023-09-27T16:49:34.249Z] 2023-09-27 16:49:34,164 [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-27T16:49:34.819Z] 2023-09-27 16:49:34,705 [run_push] DEBUG no remote changes detected [2023-09-27T16:49:34.819Z] 2023-09-27 16:49:34,705 [execute] INFO git push origin semver [2023-09-27T16:49:34.819Z] 2023-09-27 16:49:34,705 [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-27T16:49:35.761Z] 2023-09-27 16:49:35,573 [run_push] DEBUG push all version tags [2023-09-27T16:49:35.761Z] 2023-09-27 16:49:35,574 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-27T16:49:35.761Z] 2023-09-27 16:49:35,574 [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-27T16:49:36.717Z] 2023-09-27 16:49:36,408 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-27T16:49:36.717Z] 3.1.0-dev.20 [Pipeline] } [2023-09-27T16:49:36.716Z] $ docker exec --env ******** --env ******** 73feda205211b048e3df866d81775fcceef1ca2d80979084cd90eabebc042c91 ssh-agent -k [2023-09-27T16:49:36.803Z] unset SSH_AUTH_SOCK; [2023-09-27T16:49:36.803Z] unset SSH_AGENT_PID; [2023-09-27T16:49:36.803Z] echo Agent pid 39 killed; [2023-09-27T16:49:36.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T16:49:37.127Z] + git semver [Pipeline] } [2023-09-27T16:49:37.387Z] $ docker stop --time=1 73feda205211b048e3df866d81775fcceef1ca2d80979084cd90eabebc042c91 [2023-09-27T16:49:38.648Z] $ docker rm -f --volumes 73feda205211b048e3df866d81775fcceef1ca2d80979084cd90eabebc042c91 [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-27T16:49:39.218Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-09-27T16:49:39.218Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-27T16:49:39.218Z] total 16 [2023-09-27T16:49:39.218Z] drwxr-xr-x 3 root root 4096 Sep 27 16:38 . [2023-09-27T16:49:39.218Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 16:49 .. [2023-09-27T16:49:39.218Z] drwxr-xr-x 2 root root 4096 Sep 27 16:38 cost [2023-09-27T16:49:39.218Z] -rw-r--r-- 1 root root 89 Sep 27 16:38 cost.csv [2023-09-27T16:49:39.218Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-27T16:49:39.218Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-27T16:49:39.218Z] total 16 [2023-09-27T16:49:39.218Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 16:38 . [2023-09-27T16:49:39.218Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 16:49 .. [2023-09-27T16:49:39.218Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 16:38 cost [2023-09-27T16:49:39.218Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 27 16:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:49:39.506Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:49:40.360Z] ---> package-listing.sh [2023-09-27T16:49:40.360Z] ++ facter osfamily [2023-09-27T16:49:40.360Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-27T16:49:40.619Z] + OS_FAMILY=debian [2023-09-27T16:49:40.619Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-09-27T16:49:40.619Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-27T16:49:40.619Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-27T16:49:40.619Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-27T16:49:40.619Z] + PACKAGES=/tmp/packages_start.txt [2023-09-27T16:49:40.619Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-27T16:49:40.619Z] + PACKAGES=/tmp/packages_end.txt [2023-09-27T16:49:40.619Z] + case "${OS_FAMILY}" in [2023-09-27T16:49:40.619Z] + dpkg -l [2023-09-27T16:49:40.619Z] + grep '^ii' [2023-09-27T16:49:40.619Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-27T16:49:40.619Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-27T16:49:40.619Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-27T16:49:40.619Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-27T16:49:40.619Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-09-27T16:49:40.619Z] + 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-27T16:49:40.631Z] 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-27T16:49:40.910Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T16:49:41.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T16:49:41.624Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T16:49:41.711Z] prd-ubuntu20.04-docker-8c-8g-8047 does not seem to be running inside a container [2023-09-27T16:49:41.776Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-27T16:49:41.986Z] $ docker top f2d0fbf96cd8211ba52464a73efcfb02e8cf1deb256b54f18df116936b39428a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T16:49:42.333Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-27T16:49:42.616Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-27T16:49:42.901Z] + ls /var/log/sa-host [2023-09-27T16:49:42.901Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T16:49:43.047Z] provisioning config files... [2023-09-27T16:49:43.054Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17444994217620897854tmp [Pipeline] { [Pipeline] echo [2023-09-27T16:49:43.065Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:49:43.344Z] ---> create-netrc.sh [Pipeline] } [2023-09-27T16:49:43.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:49:43.690Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-27T16:49:43.697Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:49:43.980Z] ---> sudo-logs.sh [2023-09-27T16:49:43.980Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-27T16:49:44.010Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:49:44.290Z] ---> job-cost.sh [2023-09-27T16:49:44.290Z] lf-activate-venv: SKIPPING [2023-09-27T16:49:44.290Z] DEBUG: total: 0.2199999988079071 [2023-09-27T16:49:44.290Z] INFO: Retrieving Stack Cost... [2023-09-27T16:49:44.549Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T16:49:45.116Z] INFO: Archiving Costs [Pipeline] echo [2023-09-27T16:49:45.127Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T16:49:45.409Z] ---> logs-deploy.sh [2023-09-27T16:49:45.409Z] lf-activate-venv: SKIPPING [2023-09-27T16:49:45.409Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/145 [2023-09-27T16:49:45.409Z] INFO: archiving workspace using pattern(s): [2023-09-27T16:49:46.346Z] Archives upload complete. [2023-09-27T16:49:46.346Z] INFO: archiving logs to Nexus