Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 697f398d4930450ca66ff8e227ddea628c81eaba 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-ssh17536617373007803141.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-ssh8002480133051230685.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-ssh1515058110190774493.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-ssh2739885587169485384.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-ssh14487460190138879951.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6566 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 697f398d4930450ca66ff8e227ddea628c81eaba (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#429)" > 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 697f398d4930450ca66ff8e227ddea628c81eaba # timeout=10 > git rev-list --no-walk d121d4b12413d22e246e49a32881448e0ea11499 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-19T16:05:02.247Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-19T16:05:02.318Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-19T16:05:02.332Z] ========================================================= [2023-09-19T16:05:02.332Z] EdgeX Global Pipelines Version Info [2023-09-19T16:05:02.332Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:05:03.039Z] ------------------- [2023-09-19T16:05:03.039Z] stable info: [2023-09-19T16:05:03.039Z] ------------------- [2023-09-19T16:05:03.039Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-19T16:05:03.039Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T16:05:03.039Z] Message: update stable to v1.0.254 [2023-09-19T16:05:03.703Z] ------------------- [2023-09-19T16:05:03.703Z] experimental info: [2023-09-19T16:05:03.703Z] ------------------- [2023-09-19T16:05:03.703Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-19T16:05:03.703Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T16:05:03.703Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-19T16:05:03.874Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-09-19T16:05:03.883Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-09-19T16:05:03.892Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-19T16:05:03.901Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-19T16:05:03.910Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-19T16:05:03.919Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-19T16:05:03.928Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-19T16:05:03.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-19T16:05:03.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-19T16:05:03.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-19T16:05:03.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-19T16:05:03.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-09-19T16:05:03.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-19T16:05:04.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-19T16:05:04.012Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T16:05:04.021Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T16:05:04.029Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T16:05:04.038Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T16:05:04.047Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-19T16:05:04.055Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-19T16:05:04.064Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-19T16:05:04.073Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-19T16:05:04.083Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-19T16:05:04.091Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-19T16:05:04.101Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-19T16:05:04.110Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-19T16:05:04.119Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-19T16:05:04.127Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-19T16:05:04.136Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-19T16:05:04.145Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-19T16:05:04.154Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 697f398d4930450ca66ff8e227ddea628c81eaba [Pipeline] echo [2023-09-19T16:05:04.164Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 697f398 [Pipeline] echo [2023-09-19T16:05:04.173Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T16:05:04.211Z] provisioning config files... [2023-09-19T16:05:04.229Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12758267358237418539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:05:04.539Z] ---> docker-login.sh [2023-09-19T16:05:04.539Z] nexus3.edgexfoundry.org:10001 [2023-09-19T16:05:04.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:05:04.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:05:04.798Z] Configure a credential helper to remove this warning. See [2023-09-19T16:05:04.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:05:04.798Z] [2023-09-19T16:05:04.798Z] Login Succeeded [2023-09-19T16:05:04.798Z] nexus3.edgexfoundry.org:10002 [2023-09-19T16:05:04.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:05:04.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:05:04.798Z] Configure a credential helper to remove this warning. See [2023-09-19T16:05:04.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:05:04.798Z] [2023-09-19T16:05:04.798Z] Login Succeeded [2023-09-19T16:05:04.798Z] nexus3.edgexfoundry.org:10003 [2023-09-19T16:05:05.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:05:05.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:05:05.059Z] Configure a credential helper to remove this warning. See [2023-09-19T16:05:05.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:05:05.059Z] [2023-09-19T16:05:05.059Z] Login Succeeded [2023-09-19T16:05:05.059Z] nexus3.edgexfoundry.org:10004 [2023-09-19T16:05:05.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:05:05.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:05:05.059Z] Configure a credential helper to remove this warning. See [2023-09-19T16:05:05.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:05:05.059Z] [2023-09-19T16:05:05.059Z] Login Succeeded [2023-09-19T16:05:05.059Z] docker.io [2023-09-19T16:05:05.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:05:05.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:05:05.320Z] Configure a credential helper to remove this warning. See [2023-09-19T16:05:05.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:05:05.320Z] [2023-09-19T16:05:05.320Z] Login Succeeded [2023-09-19T16:05:05.320Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T16:05:05.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-19T16:05:05.723Z] + git rev-list -1 --merges 697f398d4930450ca66ff8e227ddea628c81eaba~1..697f398d4930450ca66ff8e227ddea628c81eaba [Pipeline] echo [2023-09-19T16:05:05.775Z] -----------> git rev-list -1 --merges 697f398d4930450ca66ff8e227ddea628c81eaba~1..697f398d4930450ca66ff8e227ddea628c81eaba 697f398d4930450ca66ff8e227ddea628c81eaba [false] [Pipeline] sh [2023-09-19T16:05:06.068Z] + git log --format=format:%s -1 697f398d4930450ca66ff8e227ddea628c81eaba [Pipeline] echo [2023-09-19T16:05:06.085Z] ========================================================= [2023-09-19T16:05:06.085Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-19T16:05:06.085Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T16:05:06.426Z] + git log --format=format:%s -1 697f398d4930450ca66ff8e227ddea628c81eaba [Pipeline] echo [2023-09-19T16:05:06.438Z] [semverPrep] GIT_COMMIT: 697f398d4930450ca66ff8e227ddea628c81eaba, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#429) [Pipeline] echo [2023-09-19T16:05:06.450Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-19T16:05:06.901Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T16:05:06.901Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-19T16:05:06.901Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-19T16:05:06.901Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-19T16:05:06.901Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-19T16:05:06.901Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-19T16:05:06.901Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:05:07.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T16:05:07.365Z] [2023-09-19T16:05:07.365Z] 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-19T16:05:07.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T16:05:07.667Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-19T16:05:07.667Z] b85a868b505f: Pulling fs layer [2023-09-19T16:05:07.667Z] e2be974225ed: Pulling fs layer [2023-09-19T16:05:07.667Z] 339a4e72a1f5: Pulling fs layer [2023-09-19T16:05:07.667Z] 988bab9f4d93: Pulling fs layer [2023-09-19T16:05:07.667Z] 1469e6f7b9e6: Pulling fs layer [2023-09-19T16:05:07.667Z] eaf3925da568: Pulling fs layer [2023-09-19T16:05:07.667Z] bab4dde63d76: Pulling fs layer [2023-09-19T16:05:07.667Z] bde34c3a00c8: Pulling fs layer [2023-09-19T16:05:07.667Z] b352a97aabf1: Pulling fs layer [2023-09-19T16:05:07.667Z] 988bab9f4d93: Waiting [2023-09-19T16:05:07.667Z] 4872d77fe225: Pulling fs layer [2023-09-19T16:05:07.667Z] 5851b861e8e6: Pulling fs layer [2023-09-19T16:05:07.667Z] 1469e6f7b9e6: Waiting [2023-09-19T16:05:07.667Z] 4872d77fe225: Waiting [2023-09-19T16:05:07.667Z] eaf3925da568: Waiting [2023-09-19T16:05:07.667Z] 5851b861e8e6: Waiting [2023-09-19T16:05:07.667Z] bab4dde63d76: Waiting [2023-09-19T16:05:07.667Z] bde34c3a00c8: Waiting [2023-09-19T16:05:07.667Z] b352a97aabf1: Waiting [2023-09-19T16:05:07.667Z] e2be974225ed: Download complete [2023-09-19T16:05:07.667Z] 988bab9f4d93: Verifying Checksum [2023-09-19T16:05:07.667Z] 988bab9f4d93: Download complete [2023-09-19T16:05:07.667Z] 1469e6f7b9e6: Verifying Checksum [2023-09-19T16:05:07.667Z] 1469e6f7b9e6: Download complete [2023-09-19T16:05:07.667Z] eaf3925da568: Verifying Checksum [2023-09-19T16:05:07.667Z] eaf3925da568: Download complete [2023-09-19T16:05:07.924Z] 339a4e72a1f5: Verifying Checksum [2023-09-19T16:05:07.924Z] 339a4e72a1f5: Download complete [2023-09-19T16:05:07.924Z] bde34c3a00c8: Download complete [2023-09-19T16:05:07.924Z] b352a97aabf1: Verifying Checksum [2023-09-19T16:05:07.924Z] b352a97aabf1: Download complete [2023-09-19T16:05:07.924Z] 4872d77fe225: Verifying Checksum [2023-09-19T16:05:07.924Z] 4872d77fe225: Download complete [2023-09-19T16:05:07.924Z] 5851b861e8e6: Verifying Checksum [2023-09-19T16:05:07.924Z] 5851b861e8e6: Download complete [2023-09-19T16:05:07.924Z] b85a868b505f: Download complete [2023-09-19T16:05:08.183Z] bab4dde63d76: Verifying Checksum [2023-09-19T16:05:09.129Z] b85a868b505f: Pull complete [2023-09-19T16:05:09.393Z] e2be974225ed: Pull complete [2023-09-19T16:05:09.960Z] 339a4e72a1f5: Pull complete [2023-09-19T16:05:09.960Z] 988bab9f4d93: Pull complete [2023-09-19T16:05:10.221Z] 1469e6f7b9e6: Pull complete [2023-09-19T16:05:10.489Z] eaf3925da568: Pull complete [2023-09-19T16:05:12.402Z] bab4dde63d76: Pull complete [2023-09-19T16:05:12.402Z] bde34c3a00c8: Pull complete [2023-09-19T16:05:12.402Z] b352a97aabf1: Pull complete [2023-09-19T16:05:12.402Z] 4872d77fe225: Pull complete [2023-09-19T16:05:12.662Z] 5851b861e8e6: Pull complete [2023-09-19T16:05:12.662Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-19T16:05:12.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T16:05:12.662Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:05:12.776Z] prd-ubuntu20.04-docker-8c-8g-6566 does not seem to be running inside a container [2023-09-19T16:05:12.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T16:05:15.630Z] $ docker top c47b6903789e800aa7f520a6c84736cf6b370c31b979e79ac000fd678b18be41 -eo pid,comm [2023-09-19T16:05:15.688Z] 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-19T16:05:15.688Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T16:05:15.726Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T16:05:15.726Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T16:05:15.845Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T16:05:15.852Z] $ docker exec c47b6903789e800aa7f520a6c84736cf6b370c31b979e79ac000fd678b18be41 ssh-agent [2023-09-19T16:05:15.957Z] SSH_AUTH_SOCK=/tmp/ssh-yS8CkXvT0AqH/agent.32 [2023-09-19T16:05:15.957Z] SSH_AGENT_PID=38 [2023-09-19T16:05:15.963Z] Running ssh-add (command line suppressed) [2023-09-19T16:05:16.076Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2253300536820743128.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2253300536820743128.key) [2023-09-19T16:05:16.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T16:05:16.371Z] + git tag --points-at HEAD [Pipeline] } [2023-09-19T16:05:16.389Z] $ docker exec --env ******** --env ******** c47b6903789e800aa7f520a6c84736cf6b370c31b979e79ac000fd678b18be41 ssh-agent -k [2023-09-19T16:05:16.483Z] unset SSH_AUTH_SOCK; [2023-09-19T16:05:16.484Z] unset SSH_AGENT_PID; [2023-09-19T16:05:16.485Z] echo Agent pid 38 killed; [2023-09-19T16:05:16.489Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-19T16:05:16.511Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T16:05:16.511Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T16:05:16.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T16:05:16.630Z] $ docker exec c47b6903789e800aa7f520a6c84736cf6b370c31b979e79ac000fd678b18be41 ssh-agent [2023-09-19T16:05:16.739Z] SSH_AUTH_SOCK=/tmp/ssh-WTKf3HOmv1lv/agent.70 [2023-09-19T16:05:16.739Z] SSH_AGENT_PID=76 [2023-09-19T16:05:16.744Z] Running ssh-add (command line suppressed) [2023-09-19T16:05:16.847Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3439419662790784362.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3439419662790784362.key) [2023-09-19T16:05:16.856Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T16:05:17.144Z] + git semver init [2023-09-19T16:05:17.404Z] 2023-09-19 16:05:17,359 [run_init] DEBUG init version:0.0.0 force:False [2023-09-19T16:05:17.404Z] 2023-09-19 16:05:17,359 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-19T16:05:17.404Z] 2023-09-19 16:05:17,360 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-19T16:05:17.404Z] 2023-09-19 16:05:17,360 [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-19T16:05:18.784Z] 2023-09-19 16:05:18,535 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-09-19T16:05:18.784Z] 2023-09-19 16:05:18,536 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-09-19T16:05:18.784Z] 2023-09-19 16:05:18,536 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-19T16:05:18.784Z] 2023-09-19 16:05:18,536 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-19T16:05:18.784Z] 3.1.0-dev.14 [Pipeline] } [2023-09-19T16:05:18.797Z] $ docker exec --env ******** --env ******** c47b6903789e800aa7f520a6c84736cf6b370c31b979e79ac000fd678b18be41 ssh-agent -k [2023-09-19T16:05:18.890Z] unset SSH_AUTH_SOCK; [2023-09-19T16:05:18.890Z] unset SSH_AGENT_PID; [2023-09-19T16:05:18.890Z] echo Agent pid 76 killed; [2023-09-19T16:05:18.899Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T16:05:19.215Z] + git semver [Pipeline] } [2023-09-19T16:05:19.490Z] $ docker stop --time=1 c47b6903789e800aa7f520a6c84736cf6b370c31b979e79ac000fd678b18be41 [2023-09-19T16:05:20.791Z] $ docker rm -f --volumes c47b6903789e800aa7f520a6c84736cf6b370c31b979e79ac000fd678b18be41 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T16:05:21.122Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-19T16:05:21.320Z] Stashed 1 file(s) [Pipeline] echo [2023-09-19T16:05:21.323Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.14 [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-19T16:05:21.499Z] provisioning config files... [2023-09-19T16:05:21.509Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13867761538060655667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:05:21.804Z] ---> docker-login.sh [2023-09-19T16:05:21.804Z] nexus3.edgexfoundry.org:10001 [2023-09-19T16:05:21.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:05:21.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:05:21.804Z] Configure a credential helper to remove this warning. See [2023-09-19T16:05:21.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:05:21.804Z] [2023-09-19T16:05:21.804Z] Login Succeeded [2023-09-19T16:05:21.804Z] nexus3.edgexfoundry.org:10002 [2023-09-19T16:05:21.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:05:21.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:05:21.804Z] Configure a credential helper to remove this warning. See [2023-09-19T16:05:21.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:05:21.804Z] [2023-09-19T16:05:21.804Z] Login Succeeded [2023-09-19T16:05:21.804Z] nexus3.edgexfoundry.org:10003 [2023-09-19T16:05:22.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:05:22.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:05:22.062Z] Configure a credential helper to remove this warning. See [2023-09-19T16:05:22.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:05:22.062Z] [2023-09-19T16:05:22.062Z] Login Succeeded [2023-09-19T16:05:22.062Z] nexus3.edgexfoundry.org:10004 [2023-09-19T16:05:22.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:05:22.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:05:22.062Z] Configure a credential helper to remove this warning. See [2023-09-19T16:05:22.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:05:22.062Z] [2023-09-19T16:05:22.062Z] Login Succeeded [2023-09-19T16:05:22.062Z] docker.io [2023-09-19T16:05:22.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:05:22.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:05:22.321Z] Configure a credential helper to remove this warning. See [2023-09-19T16:05:22.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:05:22.321Z] [2023-09-19T16:05:22.321Z] Login Succeeded [2023-09-19T16:05:22.321Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T16:05:22.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T16:05:22.384Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T16:05:22.400Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T16:05:22.413Z] ========================================================= [2023-09-19T16:05:22.413Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-19T16:05:22.413Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:05:22.735Z] + 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-19T16:05:22.735Z] Sending build context to Docker daemon 23.6MB [2023-09-19T16:05:22.735Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T16:05:22.735Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-19T16:05:22.995Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-19T16:05:22.995Z] 7264a8db6415: Pulling fs layer [2023-09-19T16:05:22.995Z] c4d48a809fc2: Pulling fs layer [2023-09-19T16:05:22.995Z] 4f1c88b9dad5: Pulling fs layer [2023-09-19T16:05:22.995Z] ad3a456e5733: Pulling fs layer [2023-09-19T16:05:22.995Z] 9e4f439ed901: Pulling fs layer [2023-09-19T16:05:22.995Z] feaf6a47b606: Pulling fs layer [2023-09-19T16:05:22.995Z] 5e8b037d7d82: Pulling fs layer [2023-09-19T16:05:22.995Z] 8ac70367396e: Pulling fs layer [2023-09-19T16:05:22.995Z] 6db16350a2e2: Pulling fs layer [2023-09-19T16:05:22.995Z] 9250d5d63582: Pulling fs layer [2023-09-19T16:05:22.995Z] 5e8b037d7d82: Waiting [2023-09-19T16:05:22.995Z] 6db16350a2e2: Waiting [2023-09-19T16:05:22.995Z] ad3a456e5733: Waiting [2023-09-19T16:05:22.995Z] 8ac70367396e: Waiting [2023-09-19T16:05:22.995Z] 9250d5d63582: Waiting [2023-09-19T16:05:22.995Z] feaf6a47b606: Waiting [2023-09-19T16:05:22.995Z] c4d48a809fc2: Verifying Checksum [2023-09-19T16:05:22.995Z] c4d48a809fc2: Download complete [2023-09-19T16:05:22.995Z] ad3a456e5733: Verifying Checksum [2023-09-19T16:05:22.995Z] ad3a456e5733: Download complete [2023-09-19T16:05:22.995Z] 9e4f439ed901: Download complete [2023-09-19T16:05:22.995Z] 7264a8db6415: Verifying Checksum [2023-09-19T16:05:22.995Z] 7264a8db6415: Download complete [2023-09-19T16:05:22.995Z] feaf6a47b606: Verifying Checksum [2023-09-19T16:05:22.995Z] feaf6a47b606: Download complete [2023-09-19T16:05:23.255Z] 7264a8db6415: Pull complete [2023-09-19T16:05:23.255Z] 8ac70367396e: Verifying Checksum [2023-09-19T16:05:23.255Z] 8ac70367396e: Download complete [2023-09-19T16:05:23.255Z] c4d48a809fc2: Pull complete [2023-09-19T16:05:23.513Z] 4f1c88b9dad5: Verifying Checksum [2023-09-19T16:05:23.513Z] 4f1c88b9dad5: Download complete [2023-09-19T16:05:23.513Z] 6db16350a2e2: Verifying Checksum [2023-09-19T16:05:23.513Z] 6db16350a2e2: Download complete [2023-09-19T16:05:23.771Z] 5e8b037d7d82: Verifying Checksum [2023-09-19T16:05:23.771Z] 5e8b037d7d82: Download complete [2023-09-19T16:05:23.771Z] 9250d5d63582: Verifying Checksum [2023-09-19T16:05:23.771Z] 9250d5d63582: Download complete [2023-09-19T16:05:27.076Z] 4f1c88b9dad5: Pull complete [2023-09-19T16:05:27.076Z] ad3a456e5733: Pull complete [2023-09-19T16:05:27.076Z] 9e4f439ed901: Pull complete [2023-09-19T16:05:27.076Z] feaf6a47b606: Pull complete [2023-09-19T16:05:29.608Z] 5e8b037d7d82: Pull complete [2023-09-19T16:05:29.869Z] 8ac70367396e: Pull complete [2023-09-19T16:05:30.437Z] 6db16350a2e2: Pull complete [2023-09-19T16:05:31.005Z] 9250d5d63582: Pull complete [2023-09-19T16:05:31.005Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-19T16:05:31.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-19T16:05:31.005Z] ---> fa269f55d9b9 [2023-09-19T16:05:31.005Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T16:05:36.274Z] ---> Running in 3b8e9a8d2a6e [2023-09-19T16:05:36.443Z] Still waiting to schedule task [2023-09-19T16:05:36.444Z] ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-19T16:05:36.444Z] ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-19T16:05:36.444Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6565’ is offline [2023-09-19T16:05:37.231Z] Removing intermediate container 3b8e9a8d2a6e [2023-09-19T16:05:37.231Z] ---> 41838351c858 [2023-09-19T16:05:37.231Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T16:05:37.231Z] ---> Running in 2c1e98b69938 [2023-09-19T16:05:37.231Z] Removing intermediate container 2c1e98b69938 [2023-09-19T16:05:37.231Z] ---> 364a50da75e8 [2023-09-19T16:05:37.231Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-19T16:05:37.231Z] ---> Running in 284a544d379c [2023-09-19T16:05:37.231Z] Removing intermediate container 284a544d379c [2023-09-19T16:05:37.231Z] ---> 8dd578f2dba8 [2023-09-19T16:05:37.231Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-19T16:05:37.231Z] ---> Running in ccc0efc667e5 [2023-09-19T16:05:37.231Z] Removing intermediate container ccc0efc667e5 [2023-09-19T16:05:37.231Z] ---> eb201b5220bb [2023-09-19T16:05:37.231Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T16:05:37.231Z] ---> Running in 7066373970c4 [2023-09-19T16:05:37.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T16:05:37.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T16:05:37.777Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-19T16:05:37.778Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-19T16:05:37.778Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-19T16:05:37.778Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-19T16:05:37.778Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T16:05:37.778Z] OK: 270 MiB in 60 packages [2023-09-19T16:05:38.345Z] Removing intermediate container 7066373970c4 [2023-09-19T16:05:38.345Z] ---> b47889c7da6b [2023-09-19T16:05:38.345Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-19T16:05:38.603Z] ---> 41c91000ff1f [2023-09-19T16:05:38.603Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T16:05:38.603Z] ---> Running in 0e3ccdd98758 [2023-09-19T16:06:17.442Z] Removing intermediate container 0e3ccdd98758 [2023-09-19T16:06:17.442Z] ---> d4fcace31c50 [2023-09-19T16:06:17.442Z] Step 10/12 : COPY . . [2023-09-19T16:06:17.442Z] ---> c6b9ee4ea8c6 [2023-09-19T16:06:17.442Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T16:06:17.442Z] ---> Running in 2790c27469aa [2023-09-19T16:06:17.442Z] Removing intermediate container 2790c27469aa [2023-09-19T16:06:17.442Z] ---> 648fb6c86752 [2023-09-19T16:06:17.442Z] Step 12/12 : RUN $MAKE [2023-09-19T16:06:17.442Z] ---> Running in b3afc46ba1c1 [2023-09-19T16:06:17.442Z] noop [2023-09-19T16:06:17.442Z] Removing intermediate container b3afc46ba1c1 [2023-09-19T16:06:17.442Z] ---> 2fe5f09719e1 [2023-09-19T16:06:17.442Z] Successfully built 2fe5f09719e1 [2023-09-19T16:06:17.442Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:06:17.750Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T16:06:17.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:06:17.822Z] prd-ubuntu20.04-docker-8c-8g-6566 does not seem to be running inside a container [2023-09-19T16:06:17.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-19T16:06:18.210Z] $ docker top bf8aac1576d75350a5df5b08580237e84718db96159074f384952aa24112667c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T16:06:18.552Z] + go version [2023-09-19T16:06:18.552Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-19T16:06:18.565Z] $ docker stop --time=1 bf8aac1576d75350a5df5b08580237e84718db96159074f384952aa24112667c [2023-09-19T16:06:19.869Z] $ docker rm -f --volumes bf8aac1576d75350a5df5b08580237e84718db96159074f384952aa24112667c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:06:20.268Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T16:06:20.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:06:20.347Z] prd-ubuntu20.04-docker-8c-8g-6566 does not seem to be running inside a container [2023-09-19T16:06:20.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-19T16:06:20.702Z] $ docker top 026261616e47008bac6fbfe97d10e26fe6ede5817222b7cfd4554515825278a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T16:06:21.107Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-19T16:06:21.455Z] + make test [2023-09-19T16:06:21.455Z] go test ./... -coverprofile=coverage.out [2023-09-19T16:06:22.845Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-19T16:06:32.810Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-19T16:06:32.810Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements [2023-09-19T16:06:38.071Z] go vet ./... [2023-09-19T16:06:40.599Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T16:06:40.599Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T16:06:40.599Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T16:06:40.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T16:06:40.622Z] $ docker stop --time=1 026261616e47008bac6fbfe97d10e26fe6ede5817222b7cfd4554515825278a7 [2023-09-19T16:06:43.460Z] $ docker rm -f --volumes 026261616e47008bac6fbfe97d10e26fe6ede5817222b7cfd4554515825278a7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T16:06:43.920Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T16:06:43.979Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-19T16:06:44.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T16:06:44.879Z] + ls -al . [2023-09-19T16:06:44.879Z] total 204 [2023-09-19T16:06:44.879Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 16:06 . [2023-09-19T16:06:44.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 16:04 .. [2023-09-19T16:06:44.879Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 16:06 .git [2023-09-19T16:06:44.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 16:05 .github [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 19 16:05 .gitignore [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 16:05 .golangci.yml [2023-09-19T16:06:44.879Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 16:05 .semver [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 19 16:05 Attribution.txt [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 19 16:05 CHANGELOG.md [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 19 16:05 Dockerfile [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 16:05 GOVERNANCE.md [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 19 16:05 Jenkinsfile [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 16:05 LICENSE [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 19 16:05 Makefile [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 19 16:05 OWNERS.md [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 19 16:05 README.md [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 16:05 VERSION [2023-09-19T16:06:44.879Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 16:05 bin [2023-09-19T16:06:44.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 16:05 cmd [2023-09-19T16:06:44.879Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 19 16:06 coverage.out [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 19 16:05 go.mod [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 19 16:05 go.sum [2023-09-19T16:06:44.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 16:05 internal [2023-09-19T16:06:44.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 16:05 snap [2023-09-19T16:06:44.879Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 19 16:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:06:45.178Z] + 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=697f398d4930450ca66ff8e227ddea628c81eaba --label arch=amd64 --label version=3.1.0-dev.14 . [2023-09-19T16:06:45.178Z] Sending build context to Docker daemon 23.65MB [2023-09-19T16:06:45.178Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T16:06:45.178Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-19T16:06:45.178Z] ---> 2fe5f09719e1 [2023-09-19T16:06:45.178Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T16:06:45.438Z] ---> Running in c88645305393 [2023-09-19T16:06:45.699Z] Removing intermediate container c88645305393 [2023-09-19T16:06:45.699Z] ---> f5b3c2f812a3 [2023-09-19T16:06:45.699Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T16:06:45.699Z] ---> Running in 494371074ed4 [2023-09-19T16:06:45.699Z] Removing intermediate container 494371074ed4 [2023-09-19T16:06:45.699Z] ---> 60803873c583 [2023-09-19T16:06:45.699Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-19T16:06:45.699Z] ---> Running in 631a51d49280 [2023-09-19T16:06:45.699Z] Removing intermediate container 631a51d49280 [2023-09-19T16:06:45.699Z] ---> 9e1e5ae8accb [2023-09-19T16:06:45.700Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-19T16:06:45.700Z] ---> Running in fd4a0a86b990 [2023-09-19T16:06:45.960Z] Removing intermediate container fd4a0a86b990 [2023-09-19T16:06:45.960Z] ---> c95897b4f3e4 [2023-09-19T16:06:45.960Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T16:06:45.960Z] ---> Running in 3af510c9b704 [2023-09-19T16:06:46.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T16:06:46.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T16:06:46.787Z] OK: 270 MiB in 60 packages [2023-09-19T16:06:46.787Z] Removing intermediate container 3af510c9b704 [2023-09-19T16:06:46.787Z] ---> b94de4af3cde [2023-09-19T16:06:46.787Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-19T16:06:47.043Z] ---> 5fe03d612d48 [2023-09-19T16:06:47.043Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T16:06:47.043Z] ---> Running in 9eab086ac75a [2023-09-19T16:06:47.610Z] Removing intermediate container 9eab086ac75a [2023-09-19T16:06:47.610Z] ---> e6d11c7149bc [2023-09-19T16:06:47.610Z] Step 10/25 : COPY . . [2023-09-19T16:06:48.547Z] ---> 9973a67a382a [2023-09-19T16:06:48.547Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T16:06:48.547Z] ---> Running in 5ec1585e20b0 [2023-09-19T16:06:48.547Z] Removing intermediate container 5ec1585e20b0 [2023-09-19T16:06:48.547Z] ---> 2f4752b8335a [2023-09-19T16:06:48.547Z] Step 12/25 : RUN $MAKE [2023-09-19T16:06:48.547Z] ---> Running in 2bc5e3c9e301 [2023-09-19T16:06:48.804Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.25" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-19T16:07:07.401Z] Removing intermediate container 2bc5e3c9e301 [2023-09-19T16:07:07.401Z] ---> 9f21728cee23 [2023-09-19T16:07:07.401Z] Step 13/25 : FROM alpine:3.18 [2023-09-19T16:07:07.401Z] 3.18: Pulling from library/alpine [2023-09-19T16:07:07.402Z] 7264a8db6415: Already exists [2023-09-19T16:07:07.658Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T16:07:07.659Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T16:07:07.659Z] ---> 7e01a0d0a1dc [2023-09-19T16:07:07.659Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-19T16:07:07.659Z] ---> Running in 532b66d245a4 [2023-09-19T16:07:07.659Z] Removing intermediate container 532b66d245a4 [2023-09-19T16:07:07.659Z] ---> bb8643cf1f56 [2023-09-19T16:07:07.659Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-19T16:07:07.659Z] ---> Running in d902e47b93af [2023-09-19T16:07:07.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T16:07:08.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T16:07:08.177Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T16:07:08.177Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T16:07:08.177Z] OK: 7 MiB in 16 packages [2023-09-19T16:07:08.747Z] Removing intermediate container d902e47b93af [2023-09-19T16:07:08.747Z] ---> 7634ca68033c [2023-09-19T16:07:08.747Z] Step 16/25 : WORKDIR / [2023-09-19T16:07:08.747Z] ---> Running in 42b9a9377be2 [2023-09-19T16:07:08.747Z] Removing intermediate container 42b9a9377be2 [2023-09-19T16:07:08.747Z] ---> 4caba95d1faf [2023-09-19T16:07:08.747Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-19T16:07:08.747Z] ---> f1ab91113f09 [2023-09-19T16:07:08.747Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-19T16:07:09.006Z] ---> 40327706849b [2023-09-19T16:07:09.006Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-19T16:07:09.573Z] ---> 873970d0d089 [2023-09-19T16:07:09.573Z] Step 20/25 : EXPOSE 59900 [2023-09-19T16:07:09.573Z] ---> Running in 92e1628a1d88 [2023-09-19T16:07:09.831Z] Removing intermediate container 92e1628a1d88 [2023-09-19T16:07:09.831Z] ---> 482cd869c94f [2023-09-19T16:07:09.831Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-19T16:07:09.831Z] ---> Running in ca2e8512a497 [2023-09-19T16:07:09.831Z] Removing intermediate container ca2e8512a497 [2023-09-19T16:07:09.831Z] ---> cd8e63423e64 [2023-09-19T16:07:09.831Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T16:07:09.831Z] ---> Running in a4152f913ff3 [2023-09-19T16:07:09.831Z] Removing intermediate container a4152f913ff3 [2023-09-19T16:07:09.831Z] ---> 79ccc0ae47be [2023-09-19T16:07:09.831Z] Step 23/25 : LABEL arch=amd64 [2023-09-19T16:07:09.831Z] ---> Running in 723b7b9e822e [2023-09-19T16:07:10.090Z] Removing intermediate container 723b7b9e822e [2023-09-19T16:07:10.090Z] ---> 9df74763c152 [2023-09-19T16:07:10.090Z] Step 24/25 : LABEL git_sha=697f398d4930450ca66ff8e227ddea628c81eaba [2023-09-19T16:07:10.090Z] ---> Running in 31f298fc6c59 [2023-09-19T16:07:10.090Z] Removing intermediate container 31f298fc6c59 [2023-09-19T16:07:10.090Z] ---> a87ecb5c551b [2023-09-19T16:07:10.090Z] Step 25/25 : LABEL version=3.1.0-dev.14 [2023-09-19T16:07:10.090Z] ---> Running in c351d4583d1c [2023-09-19T16:07:10.090Z] Removing intermediate container c351d4583d1c [2023-09-19T16:07:10.090Z] ---> 69bfccaddfe3 [2023-09-19T16:07:10.090Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T16:07:10.090Z] Successfully built 69bfccaddfe3 [2023-09-19T16:07:10.090Z] 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-19T16:07:10.190Z] provisioning config files... [2023-09-19T16:07:10.205Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8695879588904488649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:07:10.497Z] ---> docker-login.sh [2023-09-19T16:07:10.497Z] nexus3.edgexfoundry.org:10001 [2023-09-19T16:07:10.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:07:10.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:07:10.497Z] Configure a credential helper to remove this warning. See [2023-09-19T16:07:10.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:07:10.497Z] [2023-09-19T16:07:10.497Z] Login Succeeded [2023-09-19T16:07:10.497Z] nexus3.edgexfoundry.org:10002 [2023-09-19T16:07:10.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:07:10.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:07:10.497Z] Configure a credential helper to remove this warning. See [2023-09-19T16:07:10.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:07:10.497Z] [2023-09-19T16:07:10.497Z] Login Succeeded [2023-09-19T16:07:10.497Z] nexus3.edgexfoundry.org:10003 [2023-09-19T16:07:10.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:07:10.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:07:10.755Z] Configure a credential helper to remove this warning. See [2023-09-19T16:07:10.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:07:10.755Z] [2023-09-19T16:07:10.755Z] Login Succeeded [2023-09-19T16:07:10.755Z] nexus3.edgexfoundry.org:10004 [2023-09-19T16:07:10.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:07:10.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:07:10.755Z] Configure a credential helper to remove this warning. See [2023-09-19T16:07:10.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:07:10.755Z] [2023-09-19T16:07:10.755Z] Login Succeeded [2023-09-19T16:07:10.755Z] docker.io [2023-09-19T16:07:11.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:07:11.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:07:11.015Z] Configure a credential helper to remove this warning. See [2023-09-19T16:07:11.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:07:11.015Z] [2023-09-19T16:07:11.015Z] Login Succeeded [2023-09-19T16:07:11.015Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T16:07:11.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-19T16:07:11.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T16:07:11.069Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-09-19T16:07:11.069Z] 697f398d4930450ca66ff8e227ddea628c81eaba [2023-09-19T16:07:11.069Z] latest [2023-09-19T16:07:11.069Z] 3.1.0-dev.14 [2023-09-19T16:07:11.069Z] 697f398d4930450ca66ff8e227ddea628c81eaba-3.1.0-dev.14 [2023-09-19T16:07:11.069Z] main [2023-09-19T16:07:11.069Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:07:11.396Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:697f398d4930450ca66ff8e227ddea628c81eaba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:07:11.698Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:697f398d4930450ca66ff8e227ddea628c81eaba [2023-09-19T16:07:11.698Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-19T16:07:11.698Z] 013da41a70a3: Preparing [2023-09-19T16:07:11.698Z] 2727a5a9cca9: Preparing [2023-09-19T16:07:11.698Z] 0781d08f02ff: Preparing [2023-09-19T16:07:11.698Z] be254310f54e: Preparing [2023-09-19T16:07:11.698Z] 4693057ce236: Preparing [2023-09-19T16:07:11.698Z] 4693057ce236: Layer already exists [2023-09-19T16:07:11.698Z] 2727a5a9cca9: Pushed [2023-09-19T16:07:11.698Z] 0781d08f02ff: Pushed [2023-09-19T16:07:11.698Z] be254310f54e: Pushed [2023-09-19T16:07:14.237Z] 013da41a70a3: Pushed [2023-09-19T16:07:14.551Z] 697f398d4930450ca66ff8e227ddea628c81eaba: digest: sha256:d260cd233d5d3af1eaa5b2744f23e0ec2048c9e5fba9494ea9ae725cfa10605c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:07:14.865Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:07:15.166Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-19T16:07:15.167Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-19T16:07:15.167Z] 013da41a70a3: Preparing [2023-09-19T16:07:15.167Z] 2727a5a9cca9: Preparing [2023-09-19T16:07:15.167Z] 0781d08f02ff: Preparing [2023-09-19T16:07:15.167Z] be254310f54e: Preparing [2023-09-19T16:07:15.167Z] 4693057ce236: Preparing [2023-09-19T16:07:15.167Z] be254310f54e: Layer already exists [2023-09-19T16:07:15.167Z] 0781d08f02ff: Layer already exists [2023-09-19T16:07:15.167Z] 013da41a70a3: Layer already exists [2023-09-19T16:07:15.167Z] 2727a5a9cca9: Layer already exists [2023-09-19T16:07:15.167Z] 4693057ce236: Layer already exists [2023-09-19T16:07:15.167Z] latest: digest: sha256:d260cd233d5d3af1eaa5b2744f23e0ec2048c9e5fba9494ea9ae725cfa10605c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:07:15.474Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:07:15.778Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.14 [2023-09-19T16:07:15.778Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-19T16:07:15.778Z] 013da41a70a3: Preparing [2023-09-19T16:07:15.778Z] 2727a5a9cca9: Preparing [2023-09-19T16:07:15.778Z] 0781d08f02ff: Preparing [2023-09-19T16:07:15.778Z] be254310f54e: Preparing [2023-09-19T16:07:15.778Z] 4693057ce236: Preparing [2023-09-19T16:07:15.778Z] 2727a5a9cca9: Layer already exists [2023-09-19T16:07:15.778Z] 4693057ce236: Layer already exists [2023-09-19T16:07:15.778Z] 013da41a70a3: Layer already exists [2023-09-19T16:07:15.778Z] be254310f54e: Layer already exists [2023-09-19T16:07:15.778Z] 0781d08f02ff: Layer already exists [2023-09-19T16:07:15.778Z] 3.1.0-dev.14: digest: sha256:d260cd233d5d3af1eaa5b2744f23e0ec2048c9e5fba9494ea9ae725cfa10605c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:07:16.089Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:697f398d4930450ca66ff8e227ddea628c81eaba-3.1.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:07:16.392Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:697f398d4930450ca66ff8e227ddea628c81eaba-3.1.0-dev.14 [2023-09-19T16:07:16.392Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-19T16:07:16.392Z] 013da41a70a3: Preparing [2023-09-19T16:07:16.392Z] 2727a5a9cca9: Preparing [2023-09-19T16:07:16.392Z] 0781d08f02ff: Preparing [2023-09-19T16:07:16.392Z] be254310f54e: Preparing [2023-09-19T16:07:16.392Z] 4693057ce236: Preparing [2023-09-19T16:07:16.392Z] 4693057ce236: Layer already exists [2023-09-19T16:07:16.392Z] 013da41a70a3: Layer already exists [2023-09-19T16:07:16.392Z] be254310f54e: Layer already exists [2023-09-19T16:07:16.392Z] 2727a5a9cca9: Layer already exists [2023-09-19T16:07:16.392Z] 0781d08f02ff: Layer already exists [2023-09-19T16:07:16.392Z] 697f398d4930450ca66ff8e227ddea628c81eaba-3.1.0-dev.14: digest: sha256:d260cd233d5d3af1eaa5b2744f23e0ec2048c9e5fba9494ea9ae725cfa10605c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:07:16.700Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:07:16.999Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-09-19T16:07:16.999Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-19T16:07:16.999Z] 013da41a70a3: Preparing [2023-09-19T16:07:16.999Z] 2727a5a9cca9: Preparing [2023-09-19T16:07:16.999Z] 0781d08f02ff: Preparing [2023-09-19T16:07:16.999Z] be254310f54e: Preparing [2023-09-19T16:07:16.999Z] 4693057ce236: Preparing [2023-09-19T16:07:16.999Z] be254310f54e: Layer already exists [2023-09-19T16:07:16.999Z] 4693057ce236: Layer already exists [2023-09-19T16:07:16.999Z] 0781d08f02ff: Layer already exists [2023-09-19T16:07:16.999Z] 013da41a70a3: Layer already exists [2023-09-19T16:07:16.999Z] 2727a5a9cca9: Layer already exists [2023-09-19T16:07:16.999Z] main: digest: sha256:d260cd233d5d3af1eaa5b2744f23e0ec2048c9e5fba9494ea9ae725cfa10605c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-19T16:07:17.037Z] ===================================================== [Pipeline] echo [2023-09-19T16:07:17.043Z] taggedImages: [2023-09-19T16:07:17.043Z] - nexus3.edgexfoundry.org:10004/device-virtual:697f398d4930450ca66ff8e227ddea628c81eaba [2023-09-19T16:07:17.043Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-19T16:07:17.043Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.14 [2023-09-19T16:07:17.043Z] - nexus3.edgexfoundry.org:10004/device-virtual:697f398d4930450ca66ff8e227ddea628c81eaba-3.1.0-dev.14 [2023-09-19T16:07:17.043Z] - 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-19T16:07:17.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T16:07:17.407Z] [2023-09-19T16:07:17.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:07:17.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T16:07:17.707Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-19T16:07:17.707Z] 5eb5b503b376: Pulling fs layer [2023-09-19T16:07:17.707Z] 5c69ac0246d0: Pulling fs layer [2023-09-19T16:07:17.707Z] ec43610c2a17: Pulling fs layer [2023-09-19T16:07:17.707Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-19T16:07:17.707Z] 33b1e0a273af: Pulling fs layer [2023-09-19T16:07:17.707Z] 5d3b04190fa2: Pulling fs layer [2023-09-19T16:07:17.707Z] 2f39f015ded8: Pulling fs layer [2023-09-19T16:07:17.707Z] 5d3b04190fa2: Waiting [2023-09-19T16:07:17.707Z] 3a2ae6a8a46f: Waiting [2023-09-19T16:07:17.707Z] 2f39f015ded8: Waiting [2023-09-19T16:07:17.707Z] 5c69ac0246d0: Verifying Checksum [2023-09-19T16:07:17.707Z] 5c69ac0246d0: Download complete [2023-09-19T16:07:17.707Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-19T16:07:17.707Z] 3a2ae6a8a46f: Download complete [2023-09-19T16:07:17.707Z] 33b1e0a273af: Verifying Checksum [2023-09-19T16:07:17.707Z] 33b1e0a273af: Download complete [2023-09-19T16:07:17.707Z] 5d3b04190fa2: Verifying Checksum [2023-09-19T16:07:17.707Z] 5d3b04190fa2: Download complete [2023-09-19T16:07:17.707Z] ec43610c2a17: Verifying Checksum [2023-09-19T16:07:17.707Z] ec43610c2a17: Download complete [2023-09-19T16:07:17.965Z] 5eb5b503b376: Verifying Checksum [2023-09-19T16:07:17.965Z] 5eb5b503b376: Download complete [2023-09-19T16:07:18.535Z] 2f39f015ded8: Download complete [2023-09-19T16:07:19.100Z] 5eb5b503b376: Pull complete [2023-09-19T16:07:19.100Z] 5c69ac0246d0: Pull complete [2023-09-19T16:07:19.665Z] ec43610c2a17: Pull complete [2023-09-19T16:07:19.665Z] 3a2ae6a8a46f: Pull complete [2023-09-19T16:07:19.923Z] 33b1e0a273af: Pull complete [2023-09-19T16:07:19.923Z] 5d3b04190fa2: Pull complete [2023-09-19T16:07:24.104Z] 2f39f015ded8: Pull complete [2023-09-19T16:07:24.104Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-19T16:07:24.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T16:07:24.104Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:07:24.177Z] prd-ubuntu20.04-docker-8c-8g-6566 does not seem to be running inside a container [2023-09-19T16:07:24.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T16:07:27.505Z] $ docker top d76e87b1d59674bf9baae7f0af74a9920bac20f5284d07251e11729a65a920dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:07:27.950Z] ---> job-cost.sh [2023-09-19T16:07:27.950Z] lf-activate-venv: SKIPPING [2023-09-19T16:07:27.950Z] INFO: No Stack... [2023-09-19T16:07:28.208Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T16:07:28.467Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T16:07:28.762Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-09-19T16:07:28.762Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T16:07:28.775Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-140-stack-cost] [2023-09-19T16:07:28.780Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-140-stack-cost] did not exist. Created. [2023-09-19T16:07:28.780Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-140-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T16:07:29.079Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-19T16:07:29.104Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T16:07:29.113Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-140-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T16:07:29.135Z] $ docker stop --time=1 d76e87b1d59674bf9baae7f0af74a9920bac20f5284d07251e11729a65a920dd [2023-09-19T16:07:30.278Z] $ docker rm -f --volumes d76e87b1d59674bf9baae7f0af74a9920bac20f5284d07251e11729a65a920dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-19T16:09:34.045Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6567 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-09-19T16:09:34.061Z] Running in /w/workspace/device-virtual-go/140 [Pipeline] { [Pipeline] checkout [2023-09-19T16:09:34.116Z] The recommended git tool is: git [2023-09-19T16:09:39.508Z] using credential edgex-jenkins-ssh [2023-09-19T16:09:39.526Z] Cloning the remote Git repository [2023-09-19T16:09:39.560Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-09-19T16:09:39.650Z] > git init /w/workspace/device-virtual-go/140 # timeout=10 [2023-09-19T16:09:39.775Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-19T16:09:39.776Z] > git --version # timeout=10 [2023-09-19T16:09:39.794Z] > git --version # 'git version 2.25.1' [2023-09-19T16:09:39.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T16:09:39.940Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T16:09:42.908Z] Avoid second fetch [2023-09-19T16:09:42.909Z] Checking out Revision 697f398d4930450ca66ff8e227ddea628c81eaba (main) [2023-09-19T16:09:42.008Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-19T16:09:42.031Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T16:09:42.920Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T16:09:42.981Z] > git checkout -f 697f398d4930450ca66ff8e227ddea628c81eaba # timeout=10 [2023-09-19T16:09:43.550Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#429)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T16:09:44.406Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-19T16:09:44.406Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T16:09:44.406Z] Dload Upload Total Spent Left Speed [2023-09-19T16:09:44.406Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2023-09-19T16:09:45.289Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-19T16:09:45.634Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-19T16:09:45.634Z] + sudo tee /etc/docker/daemon.new [2023-09-19T16:09:45.634Z] { [2023-09-19T16:09:45.634Z] "registry-mirrors": [ [2023-09-19T16:09:45.634Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-19T16:09:45.634Z] ], [2023-09-19T16:09:45.634Z] "bip": "10.250.0.254/24", [2023-09-19T16:09:45.634Z] "hosts": [ [2023-09-19T16:09:45.634Z] "tcp://0.0.0.0:5555", [2023-09-19T16:09:45.634Z] "unix:///var/run/docker.sock" [2023-09-19T16:09:45.634Z] ], [2023-09-19T16:09:45.634Z] "mtu": 1458, [2023-09-19T16:09:45.634Z] "selinux-enabled": true, [2023-09-19T16:09:45.634Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-19T16:09:45.634Z] } [Pipeline] sh [2023-09-19T16:09:46.210Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-19T16:09:46.551Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T16:10:04.820Z] provisioning config files... [2023-09-19T16:10:04.846Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/140@tmp/config8141259042952773904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:10:05.198Z] ---> docker-login.sh [2023-09-19T16:10:05.198Z] nexus3.edgexfoundry.org:10001 [2023-09-19T16:10:05.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:10:05.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:10:05.735Z] Configure a credential helper to remove this warning. See [2023-09-19T16:10:05.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:10:05.735Z] [2023-09-19T16:10:05.735Z] Login Succeeded [2023-09-19T16:10:05.735Z] nexus3.edgexfoundry.org:10002 [2023-09-19T16:10:06.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:10:06.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:10:06.004Z] Configure a credential helper to remove this warning. See [2023-09-19T16:10:06.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:10:06.004Z] [2023-09-19T16:10:06.004Z] Login Succeeded [2023-09-19T16:10:06.004Z] nexus3.edgexfoundry.org:10003 [2023-09-19T16:10:06.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:10:06.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:10:06.538Z] Configure a credential helper to remove this warning. See [2023-09-19T16:10:06.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:10:06.538Z] [2023-09-19T16:10:06.538Z] Login Succeeded [2023-09-19T16:10:06.538Z] nexus3.edgexfoundry.org:10004 [2023-09-19T16:10:06.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:10:06.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:10:06.806Z] Configure a credential helper to remove this warning. See [2023-09-19T16:10:06.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:10:06.806Z] [2023-09-19T16:10:06.806Z] Login Succeeded [2023-09-19T16:10:06.806Z] docker.io [2023-09-19T16:10:07.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:10:07.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:10:07.343Z] Configure a credential helper to remove this warning. See [2023-09-19T16:10:07.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:10:07.343Z] [2023-09-19T16:10:07.343Z] Login Succeeded [2023-09-19T16:10:07.343Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T16:10:07.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T16:10:07.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T16:10:07.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T16:10:07.647Z] ========================================================= [2023-09-19T16:10:07.647Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-19T16:10:07.647Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:10:07.995Z] + 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-19T16:10:08.269Z] Sending build context to Docker daemon 11.94MB [2023-09-19T16:10:08.269Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T16:10:08.269Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-19T16:10:08.537Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-19T16:10:08.537Z] 9fda8d8052c6: Pulling fs layer [2023-09-19T16:10:08.537Z] 5d54e960e981: Pulling fs layer [2023-09-19T16:10:08.537Z] c4a7e357bf2a: Pulling fs layer [2023-09-19T16:10:08.537Z] f0e02332f6b5: Pulling fs layer [2023-09-19T16:10:08.537Z] 66412af1f25a: Pulling fs layer [2023-09-19T16:10:08.537Z] 1baf3a5c0e64: Pulling fs layer [2023-09-19T16:10:08.537Z] 9a37bb91b891: Pulling fs layer [2023-09-19T16:10:08.537Z] a29adfc67d43: Pulling fs layer [2023-09-19T16:10:08.537Z] d5de9f91c1a4: Pulling fs layer [2023-09-19T16:10:08.537Z] 1baf3a5c0e64: Waiting [2023-09-19T16:10:08.537Z] 9a37bb91b891: Waiting [2023-09-19T16:10:08.537Z] f0e02332f6b5: Waiting [2023-09-19T16:10:08.537Z] 66412af1f25a: Waiting [2023-09-19T16:10:08.537Z] a29adfc67d43: Waiting [2023-09-19T16:10:08.537Z] 5d54e960e981: Verifying Checksum [2023-09-19T16:10:08.537Z] 5d54e960e981: Download complete [2023-09-19T16:10:08.537Z] f0e02332f6b5: Verifying Checksum [2023-09-19T16:10:08.537Z] f0e02332f6b5: Download complete [2023-09-19T16:10:08.537Z] 66412af1f25a: Verifying Checksum [2023-09-19T16:10:08.537Z] 66412af1f25a: Download complete [2023-09-19T16:10:08.537Z] 9fda8d8052c6: Verifying Checksum [2023-09-19T16:10:08.537Z] 9fda8d8052c6: Download complete [2023-09-19T16:10:09.142Z] 9a37bb91b891: Verifying Checksum [2023-09-19T16:10:09.142Z] 9a37bb91b891: Download complete [2023-09-19T16:10:09.741Z] 9fda8d8052c6: Pull complete [2023-09-19T16:10:09.741Z] a29adfc67d43: Verifying Checksum [2023-09-19T16:10:09.741Z] a29adfc67d43: Download complete [2023-09-19T16:10:10.338Z] 5d54e960e981: Pull complete [2023-09-19T16:10:10.338Z] d5de9f91c1a4: Verifying Checksum [2023-09-19T16:10:10.338Z] d5de9f91c1a4: Download complete [2023-09-19T16:10:10.338Z] c4a7e357bf2a: Verifying Checksum [2023-09-19T16:10:10.338Z] c4a7e357bf2a: Download complete [2023-09-19T16:10:11.305Z] 1baf3a5c0e64: Verifying Checksum [2023-09-19T16:10:11.305Z] 1baf3a5c0e64: Download complete [2023-09-19T16:10:21.423Z] c4a7e357bf2a: Pull complete [2023-09-19T16:10:21.423Z] f0e02332f6b5: Pull complete [2023-09-19T16:10:21.423Z] 66412af1f25a: Pull complete [2023-09-19T16:10:28.079Z] 1baf3a5c0e64: Pull complete [2023-09-19T16:10:29.051Z] 9a37bb91b891: Pull complete [2023-09-19T16:10:30.459Z] a29adfc67d43: Pull complete [2023-09-19T16:10:31.869Z] d5de9f91c1a4: Pull complete [2023-09-19T16:10:31.869Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-19T16:10:31.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-19T16:10:31.869Z] ---> 746ca1b523b5 [2023-09-19T16:10:31.869Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T16:10:33.908Z] ---> Running in 2f4ccb93b7bc [2023-09-19T16:10:33.908Z] Removing intermediate container 2f4ccb93b7bc [2023-09-19T16:10:33.908Z] ---> c92f84fafbec [2023-09-19T16:10:33.908Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T16:10:34.178Z] ---> Running in 7df2171c175c [2023-09-19T16:10:34.447Z] Removing intermediate container 7df2171c175c [2023-09-19T16:10:34.447Z] ---> 8c2b94ca240d [2023-09-19T16:10:34.447Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-19T16:10:34.447Z] ---> Running in eb290f20fe58 [2023-09-19T16:10:34.726Z] Removing intermediate container eb290f20fe58 [2023-09-19T16:10:34.726Z] ---> 06d9cbe05791 [2023-09-19T16:10:34.726Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-19T16:10:34.726Z] ---> Running in ff03b3f748a1 [2023-09-19T16:10:35.431Z] Removing intermediate container ff03b3f748a1 [2023-09-19T16:10:35.431Z] ---> 30ed6313ec2b [2023-09-19T16:10:35.431Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T16:10:35.431Z] ---> Running in 8c75ff6e85e7 [2023-09-19T16:10:36.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T16:10:36.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T16:10:37.681Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-19T16:10:37.681Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-19T16:10:37.681Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-19T16:10:37.681Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-19T16:10:37.681Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T16:10:37.681Z] OK: 272 MiB in 60 packages [2023-09-19T16:10:39.096Z] Removing intermediate container 8c75ff6e85e7 [2023-09-19T16:10:39.096Z] ---> 00ab6d6efc2d [2023-09-19T16:10:39.096Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-19T16:10:41.046Z] ---> d3a7f2171765 [2023-09-19T16:10:41.046Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T16:10:41.046Z] ---> Running in 7712432d5de8 [2023-09-19T16:11:48.917Z] Removing intermediate container 7712432d5de8 [2023-09-19T16:11:48.917Z] ---> f8bbb5b9bb9f [2023-09-19T16:11:48.917Z] Step 10/12 : COPY . . [2023-09-19T16:11:49.515Z] ---> 0bcf0a325747 [2023-09-19T16:11:49.515Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T16:11:49.783Z] ---> Running in ce8eb8f0443a [2023-09-19T16:11:50.049Z] Removing intermediate container ce8eb8f0443a [2023-09-19T16:11:50.049Z] ---> 07e1455f8d84 [2023-09-19T16:11:50.049Z] Step 12/12 : RUN $MAKE [2023-09-19T16:11:50.049Z] ---> Running in 1b59ddc4c779 [2023-09-19T16:11:51.011Z] noop [2023-09-19T16:11:51.595Z] Removing intermediate container 1b59ddc4c779 [2023-09-19T16:11:51.595Z] ---> 0f17dd52f702 [2023-09-19T16:11:51.595Z] Successfully built 0f17dd52f702 [2023-09-19T16:11:51.595Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:11:51.947Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T16:11:51.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:11:52.160Z] prd-ubuntu20.04-docker-arm64-4c-16g-6567 does not seem to be running inside a container [2023-09-19T16:11:52.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/140 -v /w/workspace/device-virtual-go/140:/w/workspace/device-virtual-go/140:rw,z -v /w/workspace/device-virtual-go/140@tmp:/w/workspace/device-virtual-go/140@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-19T16:11:53.401Z] $ docker top a49b1b1c06bb9009ee1511033f124f1b74733f9eb0e0a93dd18bffa15e271339 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T16:11:54.227Z] + go version [2023-09-19T16:11:54.227Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-19T16:11:54.248Z] $ docker stop --time=1 a49b1b1c06bb9009ee1511033f124f1b74733f9eb0e0a93dd18bffa15e271339 [2023-09-19T16:11:55.860Z] $ docker rm -f --volumes a49b1b1c06bb9009ee1511033f124f1b74733f9eb0e0a93dd18bffa15e271339 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:11:56.404Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T16:11:56.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:11:56.586Z] prd-ubuntu20.04-docker-arm64-4c-16g-6567 does not seem to be running inside a container [2023-09-19T16:11:56.651Z] $ 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/140 -v /w/workspace/device-virtual-go/140:/w/workspace/device-virtual-go/140:rw,z -v /w/workspace/device-virtual-go/140@tmp:/w/workspace/device-virtual-go/140@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-19T16:11:57.776Z] $ docker top 7a7b26d094b5d65d08e9e7b5c00e1731dbe35ec317e1c7f9b8444ebeafbf6ca7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T16:11:58.263Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/140 [Pipeline] fileExists [Pipeline] sh [2023-09-19T16:11:58.594Z] + make test [2023-09-19T16:11:58.594Z] go test ./... -coverprofile=coverage.out [2023-09-19T16:12:05.240Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-19T16:13:26.858Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-19T16:13:26.858Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.065s coverage: 58.4% of statements [2023-09-19T16:13:27.441Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-19T16:13:27.441Z] go vet ./... [2023-09-19T16:13:49.505Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T16:13:49.505Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T16:13:49.505Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T16:13:49.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T16:13:49.538Z] $ docker stop --time=1 7a7b26d094b5d65d08e9e7b5c00e1731dbe35ec317e1c7f9b8444ebeafbf6ca7 [2023-09-19T16:13:51.381Z] $ docker rm -f --volumes 7a7b26d094b5d65d08e9e7b5c00e1731dbe35ec317e1c7f9b8444ebeafbf6ca7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T16:13:52.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T16:13:52.643Z] Warning: overwriting stash ‘coverage-report’ [2023-09-19T16:13:53.119Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T16:13:53.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T16:13:53.889Z] + ls -al . [2023-09-19T16:13:53.889Z] total 200 [2023-09-19T16:13:53.889Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 16:12 . [2023-09-19T16:13:53.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 16:09 .. [2023-09-19T16:13:53.889Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 16:09 .git [2023-09-19T16:13:53.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 16:09 .github [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 19 16:09 .gitignore [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 16:09 .golangci.yml [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 19 16:09 Attribution.txt [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 19 16:09 CHANGELOG.md [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 19 16:09 Dockerfile [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 16:09 GOVERNANCE.md [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 19 16:09 Jenkinsfile [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 16:09 LICENSE [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 19 16:09 Makefile [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 19 16:09 OWNERS.md [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 19 16:09 README.md [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 16:05 VERSION [2023-09-19T16:13:53.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 16:09 bin [2023-09-19T16:13:53.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 16:09 cmd [2023-09-19T16:13:53.889Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 19 16:13 coverage.out [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 19 16:09 go.mod [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 19 16:09 go.sum [2023-09-19T16:13:53.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 16:09 internal [2023-09-19T16:13:53.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 16:09 snap [2023-09-19T16:13:53.889Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 19 16:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:13:54.223Z] + 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=697f398d4930450ca66ff8e227ddea628c81eaba --label arch=arm64 --label version=3.1.0-dev.14 . [2023-09-19T16:13:54.805Z] Sending build context to Docker daemon 11.99MB [2023-09-19T16:13:54.805Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T16:13:54.805Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-19T16:13:54.805Z] ---> 0f17dd52f702 [2023-09-19T16:13:54.805Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T16:13:54.805Z] ---> Running in aa4de351d322 [2023-09-19T16:13:55.072Z] Removing intermediate container aa4de351d322 [2023-09-19T16:13:55.072Z] ---> fbb02c97b5b6 [2023-09-19T16:13:55.072Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T16:13:55.072Z] ---> Running in dc6fd706e35f [2023-09-19T16:13:55.343Z] Removing intermediate container dc6fd706e35f [2023-09-19T16:13:55.343Z] ---> 936baed94107 [2023-09-19T16:13:55.343Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-19T16:13:55.613Z] ---> Running in 354fcf080658 [2023-09-19T16:13:55.881Z] Removing intermediate container 354fcf080658 [2023-09-19T16:13:55.881Z] ---> a8f0f7cdd26e [2023-09-19T16:13:55.881Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-19T16:13:55.881Z] ---> Running in 987db443ae1a [2023-09-19T16:13:56.152Z] Removing intermediate container 987db443ae1a [2023-09-19T16:13:56.152Z] ---> 7fdb93c7c3ca [2023-09-19T16:13:56.152Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T16:13:56.152Z] ---> Running in c6ce3d7a44d4 [2023-09-19T16:13:57.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T16:13:57.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T16:13:58.672Z] OK: 272 MiB in 60 packages [2023-09-19T16:14:02.922Z] Removing intermediate container c6ce3d7a44d4 [2023-09-19T16:14:02.922Z] ---> 5c5d8ccd06e5 [2023-09-19T16:14:02.922Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-19T16:14:03.189Z] ---> 208007e551e3 [2023-09-19T16:14:03.189Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T16:14:03.189Z] ---> Running in 0994d7017d17 [2023-09-19T16:14:06.557Z] Removing intermediate container 0994d7017d17 [2023-09-19T16:14:06.557Z] ---> f551c6291d1f [2023-09-19T16:14:06.557Z] Step 10/25 : COPY . . [2023-09-19T16:14:07.516Z] ---> 163dc92d78d0 [2023-09-19T16:14:07.516Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T16:14:07.516Z] ---> Running in 0a42b77022b3 [2023-09-19T16:14:08.097Z] Removing intermediate container 0a42b77022b3 [2023-09-19T16:14:08.097Z] ---> ab9b69dd3b8a [2023-09-19T16:14:08.097Z] Step 12/25 : RUN $MAKE [2023-09-19T16:14:08.097Z] ---> Running in 31bb04d92e54 [2023-09-19T16:14:10.039Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.25" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-19T16:16:16.713Z] Removing intermediate container 31bb04d92e54 [2023-09-19T16:16:16.713Z] ---> 80cc43f66ec9 [2023-09-19T16:16:16.713Z] Step 13/25 : FROM alpine:3.18 [2023-09-19T16:16:16.713Z] 3.18: Pulling from library/alpine [2023-09-19T16:16:16.713Z] 9fda8d8052c6: Already exists [2023-09-19T16:16:16.713Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T16:16:16.713Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T16:16:16.713Z] ---> f6648c04cd6c [2023-09-19T16:16:16.713Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-19T16:16:16.713Z] ---> Running in a3378f3a40fa [2023-09-19T16:16:16.713Z] Removing intermediate container a3378f3a40fa [2023-09-19T16:16:16.713Z] ---> aed3c691458e [2023-09-19T16:16:16.713Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-19T16:16:16.713Z] ---> Running in d2dce081db5a [2023-09-19T16:16:16.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T16:16:16.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T16:16:16.713Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T16:16:16.713Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T16:16:16.713Z] OK: 8 MiB in 16 packages [2023-09-19T16:16:16.713Z] Removing intermediate container d2dce081db5a [2023-09-19T16:16:16.713Z] ---> b10b99b73e6d [2023-09-19T16:16:16.713Z] Step 16/25 : WORKDIR / [2023-09-19T16:16:16.713Z] ---> Running in 97d3a2ee3ddd [2023-09-19T16:16:16.713Z] Removing intermediate container 97d3a2ee3ddd [2023-09-19T16:16:16.713Z] ---> 5dbe1fbbafd8 [2023-09-19T16:16:16.713Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-19T16:16:16.713Z] ---> 6d6822b2d544 [2023-09-19T16:16:16.713Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-19T16:16:16.713Z] ---> 8e9103b752c3 [2023-09-19T16:16:16.713Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-19T16:16:16.713Z] ---> 3511a0821fc1 [2023-09-19T16:16:16.713Z] Step 20/25 : EXPOSE 59900 [2023-09-19T16:16:16.713Z] ---> Running in 00ebdab75c9c [2023-09-19T16:16:16.713Z] Removing intermediate container 00ebdab75c9c [2023-09-19T16:16:16.713Z] ---> 1540ba4e20f9 [2023-09-19T16:16:16.713Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-19T16:16:16.713Z] ---> Running in f067633f2c08 [2023-09-19T16:16:16.713Z] Removing intermediate container f067633f2c08 [2023-09-19T16:16:16.713Z] ---> b9c1b98eae03 [2023-09-19T16:16:16.713Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T16:16:16.713Z] ---> Running in 7ee96fd6b5e1 [2023-09-19T16:16:16.713Z] Removing intermediate container 7ee96fd6b5e1 [2023-09-19T16:16:16.713Z] ---> 7ec5acc764e0 [2023-09-19T16:16:16.713Z] Step 23/25 : LABEL arch=arm64 [2023-09-19T16:16:16.713Z] ---> Running in e67b5c6843cd [2023-09-19T16:16:16.713Z] Removing intermediate container e67b5c6843cd [2023-09-19T16:16:16.713Z] ---> dc7c42c4b301 [2023-09-19T16:16:16.713Z] Step 24/25 : LABEL git_sha=697f398d4930450ca66ff8e227ddea628c81eaba [2023-09-19T16:16:16.713Z] ---> Running in 62b3564634b1 [2023-09-19T16:16:16.713Z] Removing intermediate container 62b3564634b1 [2023-09-19T16:16:16.713Z] ---> 783f9be5638a [2023-09-19T16:16:16.713Z] Step 25/25 : LABEL version=3.1.0-dev.14 [2023-09-19T16:16:16.713Z] ---> Running in f462f31c70ec [2023-09-19T16:16:16.713Z] Removing intermediate container f462f31c70ec [2023-09-19T16:16:16.713Z] ---> b0919d04cbf7 [2023-09-19T16:16:16.713Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T16:16:16.713Z] Successfully built b0919d04cbf7 [2023-09-19T16:16:16.713Z] 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-19T16:16:16.807Z] provisioning config files... [2023-09-19T16:16:16.821Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/140@tmp/config4679599415589820958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:16:17.145Z] ---> docker-login.sh [2023-09-19T16:16:17.145Z] nexus3.edgexfoundry.org:10001 [2023-09-19T16:16:17.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:16:17.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:16:17.412Z] Configure a credential helper to remove this warning. See [2023-09-19T16:16:17.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:16:17.412Z] [2023-09-19T16:16:17.412Z] Login Succeeded [2023-09-19T16:16:17.412Z] nexus3.edgexfoundry.org:10002 [2023-09-19T16:16:17.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:16:17.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:16:17.679Z] Configure a credential helper to remove this warning. See [2023-09-19T16:16:17.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:16:17.679Z] [2023-09-19T16:16:17.679Z] Login Succeeded [2023-09-19T16:16:17.679Z] nexus3.edgexfoundry.org:10003 [2023-09-19T16:16:17.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:16:18.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:16:18.212Z] Configure a credential helper to remove this warning. See [2023-09-19T16:16:18.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:16:18.212Z] [2023-09-19T16:16:18.212Z] Login Succeeded [2023-09-19T16:16:18.212Z] nexus3.edgexfoundry.org:10004 [2023-09-19T16:16:18.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:16:18.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:16:18.479Z] Configure a credential helper to remove this warning. See [2023-09-19T16:16:18.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:16:18.479Z] [2023-09-19T16:16:18.479Z] Login Succeeded [2023-09-19T16:16:18.479Z] docker.io [2023-09-19T16:16:18.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T16:16:19.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T16:16:19.009Z] Configure a credential helper to remove this warning. See [2023-09-19T16:16:19.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T16:16:19.009Z] [2023-09-19T16:16:19.009Z] Login Succeeded [2023-09-19T16:16:19.009Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T16:16:19.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-19T16:16:19.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T16:16:19.067Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-09-19T16:16:19.067Z] 697f398d4930450ca66ff8e227ddea628c81eaba [2023-09-19T16:16:19.067Z] latest [2023-09-19T16:16:19.067Z] 3.1.0-dev.14 [2023-09-19T16:16:19.067Z] 697f398d4930450ca66ff8e227ddea628c81eaba-3.1.0-dev.14 [2023-09-19T16:16:19.067Z] main [2023-09-19T16:16:19.067Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:16:19.393Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:697f398d4930450ca66ff8e227ddea628c81eaba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:16:19.722Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:697f398d4930450ca66ff8e227ddea628c81eaba [2023-09-19T16:16:19.722Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-19T16:16:19.722Z] 80297f02c0b9: Preparing [2023-09-19T16:16:19.722Z] a24e1a08a98c: Preparing [2023-09-19T16:16:19.722Z] 4a9f51772da6: Preparing [2023-09-19T16:16:19.722Z] bfae20b58371: Preparing [2023-09-19T16:16:19.722Z] b2191e2be29d: Preparing [2023-09-19T16:16:19.722Z] b2191e2be29d: Layer already exists [2023-09-19T16:16:19.988Z] 4a9f51772da6: Pushed [2023-09-19T16:16:19.988Z] a24e1a08a98c: Pushed [2023-09-19T16:16:19.988Z] bfae20b58371: Pushed [2023-09-19T16:16:25.311Z] 80297f02c0b9: Pushed [2023-09-19T16:16:25.576Z] 697f398d4930450ca66ff8e227ddea628c81eaba: digest: sha256:d6cdbc2dded418c1049395e0ee2b6710f252546609ec8e906c1746f025b5f069 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:16:25.912Z] + 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-19T16:16:26.250Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-19T16:16:26.250Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-19T16:16:26.250Z] 80297f02c0b9: Preparing [2023-09-19T16:16:26.250Z] a24e1a08a98c: Preparing [2023-09-19T16:16:26.250Z] 4a9f51772da6: Preparing [2023-09-19T16:16:26.250Z] bfae20b58371: Preparing [2023-09-19T16:16:26.250Z] b2191e2be29d: Preparing [2023-09-19T16:16:26.250Z] a24e1a08a98c: Layer already exists [2023-09-19T16:16:26.250Z] 4a9f51772da6: Layer already exists [2023-09-19T16:16:26.250Z] bfae20b58371: Layer already exists [2023-09-19T16:16:26.250Z] b2191e2be29d: Layer already exists [2023-09-19T16:16:26.250Z] 80297f02c0b9: Layer already exists [2023-09-19T16:16:26.250Z] latest: digest: sha256:d6cdbc2dded418c1049395e0ee2b6710f252546609ec8e906c1746f025b5f069 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:16:26.590Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:16:26.925Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.14 [2023-09-19T16:16:26.925Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-19T16:16:26.925Z] 80297f02c0b9: Preparing [2023-09-19T16:16:26.925Z] a24e1a08a98c: Preparing [2023-09-19T16:16:26.925Z] 4a9f51772da6: Preparing [2023-09-19T16:16:26.925Z] bfae20b58371: Preparing [2023-09-19T16:16:26.925Z] b2191e2be29d: Preparing [2023-09-19T16:16:26.925Z] 4a9f51772da6: Layer already exists [2023-09-19T16:16:26.925Z] a24e1a08a98c: Layer already exists [2023-09-19T16:16:26.925Z] b2191e2be29d: Layer already exists [2023-09-19T16:16:26.925Z] 80297f02c0b9: Layer already exists [2023-09-19T16:16:26.925Z] bfae20b58371: Layer already exists [2023-09-19T16:16:26.925Z] 3.1.0-dev.14: digest: sha256:d6cdbc2dded418c1049395e0ee2b6710f252546609ec8e906c1746f025b5f069 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:16:27.269Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:697f398d4930450ca66ff8e227ddea628c81eaba-3.1.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:16:27.603Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:697f398d4930450ca66ff8e227ddea628c81eaba-3.1.0-dev.14 [2023-09-19T16:16:27.603Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-19T16:16:27.603Z] 80297f02c0b9: Preparing [2023-09-19T16:16:27.603Z] a24e1a08a98c: Preparing [2023-09-19T16:16:27.603Z] 4a9f51772da6: Preparing [2023-09-19T16:16:27.603Z] bfae20b58371: Preparing [2023-09-19T16:16:27.603Z] b2191e2be29d: Preparing [2023-09-19T16:16:27.603Z] 80297f02c0b9: Layer already exists [2023-09-19T16:16:27.603Z] bfae20b58371: Layer already exists [2023-09-19T16:16:27.603Z] 4a9f51772da6: Layer already exists [2023-09-19T16:16:27.603Z] a24e1a08a98c: Layer already exists [2023-09-19T16:16:27.603Z] b2191e2be29d: Layer already exists [2023-09-19T16:16:27.603Z] 697f398d4930450ca66ff8e227ddea628c81eaba-3.1.0-dev.14: digest: sha256:d6cdbc2dded418c1049395e0ee2b6710f252546609ec8e906c1746f025b5f069 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:16:27.951Z] + 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-19T16:16:28.290Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-09-19T16:16:28.290Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-19T16:16:28.290Z] 80297f02c0b9: Preparing [2023-09-19T16:16:28.290Z] a24e1a08a98c: Preparing [2023-09-19T16:16:28.290Z] 4a9f51772da6: Preparing [2023-09-19T16:16:28.290Z] bfae20b58371: Preparing [2023-09-19T16:16:28.290Z] b2191e2be29d: Preparing [2023-09-19T16:16:28.290Z] a24e1a08a98c: Layer already exists [2023-09-19T16:16:28.290Z] b2191e2be29d: Layer already exists [2023-09-19T16:16:28.290Z] 4a9f51772da6: Layer already exists [2023-09-19T16:16:28.290Z] 80297f02c0b9: Layer already exists [2023-09-19T16:16:28.290Z] bfae20b58371: Layer already exists [2023-09-19T16:16:28.290Z] main: digest: sha256:d6cdbc2dded418c1049395e0ee2b6710f252546609ec8e906c1746f025b5f069 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-19T16:16:28.355Z] ===================================================== [Pipeline] echo [2023-09-19T16:16:28.362Z] taggedImages: [2023-09-19T16:16:28.363Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:697f398d4930450ca66ff8e227ddea628c81eaba [2023-09-19T16:16:28.363Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-19T16:16:28.363Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.14 [2023-09-19T16:16:28.363Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:697f398d4930450ca66ff8e227ddea628c81eaba-3.1.0-dev.14 [2023-09-19T16:16:28.363Z] - 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-19T16:16:28.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T16:16:28.790Z] [2023-09-19T16:16:28.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:16:29.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T16:16:29.139Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-19T16:16:29.139Z] 8998bd30e6a1: Pulling fs layer [2023-09-19T16:16:29.139Z] 04944245beec: Pulling fs layer [2023-09-19T16:16:29.139Z] 699f458cf7ca: Pulling fs layer [2023-09-19T16:16:29.139Z] 765212b225bb: Pulling fs layer [2023-09-19T16:16:29.139Z] f23df028b6ca: Pulling fs layer [2023-09-19T16:16:29.139Z] d65c8cfc05b1: Pulling fs layer [2023-09-19T16:16:29.139Z] 2437ff75d9bd: Pulling fs layer [2023-09-19T16:16:29.139Z] 765212b225bb: Waiting [2023-09-19T16:16:29.139Z] f23df028b6ca: Waiting [2023-09-19T16:16:29.139Z] d65c8cfc05b1: Waiting [2023-09-19T16:16:29.139Z] 2437ff75d9bd: Waiting [2023-09-19T16:16:29.419Z] 04944245beec: Verifying Checksum [2023-09-19T16:16:29.419Z] 04944245beec: Download complete [2023-09-19T16:16:29.419Z] 765212b225bb: Verifying Checksum [2023-09-19T16:16:29.419Z] 765212b225bb: Download complete [2023-09-19T16:16:29.419Z] f23df028b6ca: Verifying Checksum [2023-09-19T16:16:29.419Z] f23df028b6ca: Download complete [2023-09-19T16:16:29.419Z] d65c8cfc05b1: Verifying Checksum [2023-09-19T16:16:29.419Z] d65c8cfc05b1: Download complete [2023-09-19T16:16:29.419Z] 699f458cf7ca: Verifying Checksum [2023-09-19T16:16:29.419Z] 699f458cf7ca: Download complete [2023-09-19T16:16:30.033Z] 8998bd30e6a1: Verifying Checksum [2023-09-19T16:16:30.033Z] 8998bd30e6a1: Download complete [2023-09-19T16:16:32.024Z] 2437ff75d9bd: Verifying Checksum [2023-09-19T16:16:32.024Z] 2437ff75d9bd: Download complete [2023-09-19T16:16:33.963Z] 8998bd30e6a1: Pull complete [2023-09-19T16:16:34.228Z] 04944245beec: Pull complete [2023-09-19T16:16:35.632Z] 699f458cf7ca: Pull complete [2023-09-19T16:16:35.632Z] 765212b225bb: Pull complete [2023-09-19T16:16:36.214Z] f23df028b6ca: Pull complete [2023-09-19T16:16:36.481Z] d65c8cfc05b1: Pull complete [2023-09-19T16:16:51.464Z] 2437ff75d9bd: Pull complete [2023-09-19T16:16:51.464Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-19T16:16:51.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T16:16:51.464Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:16:51.657Z] prd-ubuntu20.04-docker-arm64-4c-16g-6567 does not seem to be running inside a container [2023-09-19T16:16:51.719Z] $ 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/140 -v /w/workspace/device-virtual-go/140:/w/workspace/device-virtual-go/140:rw,z -v /w/workspace/device-virtual-go/140@tmp:/w/workspace/device-virtual-go/140@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-19T16:16:54.185Z] $ docker top f6117d64178ab7551ac0d5302d90998348d72bc746f703cd35f85e00419dccb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:16:54.679Z] ---> job-cost.sh [2023-09-19T16:16:54.943Z] lf-activate-venv: SKIPPING [2023-09-19T16:16:54.943Z] INFO: No Stack... [2023-09-19T16:16:55.208Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-19T16:16:56.161Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T16:16:56.485Z] + cat /w/workspace/device-virtual-go/140/archives/cost.csv [2023-09-19T16:16:56.485Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T16:16:56.553Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-140-stack-cost] [2023-09-19T16:16:56.559Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-140-stack-cost] did not exist. Created. [2023-09-19T16:16:56.559Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-140-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T16:16:56.895Z] /w/workspace/device-virtual-go/140@tmp/durable-0fd09011/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-19T16:16:57.220Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-19T16:16:57.234Z] Warning: overwriting stash ‘stack-cost’ [2023-09-19T16:16:57.286Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T16:16:57.292Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-140-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T16:16:57.315Z] $ docker stop --time=1 f6117d64178ab7551ac0d5302d90998348d72bc746f703cd35f85e00419dccb0 [2023-09-19T16:16:58.803Z] $ docker rm -f --volumes f6117d64178ab7551ac0d5302d90998348d72bc746f703cd35f85e00419dccb0 [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-19T16:16:59.181Z] provisioning config files... [2023-09-19T16:16:59.189Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17119214379646505569tmp [Pipeline] { [Pipeline] sh [2023-09-19T16:16:59.480Z] + set +x [2023-09-19T16:16:59.481Z] + bash -s -- [2023-09-19T16:16:59.481Z] + curl -s https://codecov.io/bash [2023-09-19T16:16:59.481Z] [2023-09-19T16:16:59.481Z] _____ _ [2023-09-19T16:16:59.481Z] / ____| | | [2023-09-19T16:16:59.481Z] | | ___ __| | ___ ___ _____ __ [2023-09-19T16:16:59.481Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-19T16:16:59.481Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-19T16:16:59.481Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-19T16:16:59.481Z] Bash-1.0.6 [2023-09-19T16:16:59.481Z] [2023-09-19T16:16:59.481Z] [2023-09-19T16:16:59.481Z] ==> git version 2.25.1 found [2023-09-19T16:16:59.481Z] ==> 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-19T16:16:59.481Z] Release-Date: 2020-01-08 [2023-09-19T16:16:59.481Z] 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-19T16:16:59.481Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-19T16:16:59.481Z] ==> Jenkins CI detected. [2023-09-19T16:16:59.481Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-09-19T16:16:59.481Z] project root: . [2023-09-19T16:16:59.481Z] --> token set from env [2023-09-19T16:16:59.481Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-19T16:16:59.739Z] ==> Running gcov in . (disable via -X gcov) [2023-09-19T16:16:59.739Z] ==> Python coveragepy not found [2023-09-19T16:16:59.739Z] ==> Searching for coverage reports in: [2023-09-19T16:16:59.739Z] + . [2023-09-19T16:16:59.739Z] -> Found 1 reports [2023-09-19T16:16:59.739Z] ==> Detecting git/mercurial file structure [2023-09-19T16:16:59.739Z] ==> Reading reports [2023-09-19T16:16:59.739Z] + ./coverage.out bytes=43063 [2023-09-19T16:16:59.739Z] ==> Appending adjustments [2023-09-19T16:16:59.739Z] https://docs.codecov.io/docs/fixing-reports [2023-09-19T16:16:59.739Z] + Found adjustments [2023-09-19T16:16:59.739Z] ==> Gzipping contents [2023-09-19T16:16:59.739Z] 8.0K /tmp/codecov.vlHy2d.gz [2023-09-19T16:16:59.739Z] ==> Uploading reports [2023-09-19T16:16:59.739Z] url: https://codecov.io [2023-09-19T16:16:59.739Z] query: branch=main&commit=697f398d4930450ca66ff8e227ddea628c81eaba&build=140&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F140%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-19T16:16:59.739Z] -> Pinging Codecov [2023-09-19T16:16:59.739Z] 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=697f398d4930450ca66ff8e227ddea628c81eaba&build=140&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F140%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-19T16:16:59.999Z] -> Uploading to [2023-09-19T16:16:59.999Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-19/5E52B4B073DB2E39498172D8E973AA87/697f398d4930450ca66ff8e227ddea628c81eaba/8aecdcbe-5733-4fbd-a1f3-3f6e2ce32e52.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T161659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e474bc64269ebf9597fc1fcaaa228b2238c9050f16a1f9cc355212460cbebb85 [2023-09-19T16:16:59.999Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T16:16:59.999Z] Dload Upload Total Spent Left Speed [2023-09-19T16:16:59.999Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 29123 --:--:-- --:--:-- --:--:-- 29123 [2023-09-19T16:16:59.999Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/697f398d4930450ca66ff8e227ddea628c81eaba [Pipeline] } [2023-09-19T16:17:00.006Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-19T16:17:00.229Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-19T16:17:00.238Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:17:00.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T16:17:00.534Z] [2023-09-19T16:17:00.534Z] 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-19T16:17:00.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T16:17:00.829Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-19T16:17:00.829Z] df9b9388f04a: Pulling fs layer [2023-09-19T16:17:00.829Z] 52dc419b0ee2: Pulling fs layer [2023-09-19T16:17:00.829Z] 25bc292e5bac: Pulling fs layer [2023-09-19T16:17:00.829Z] 114826534d7a: Pulling fs layer [2023-09-19T16:17:00.829Z] 4657fd5d0bcf: Pulling fs layer [2023-09-19T16:17:00.829Z] 6ad1cebc031e: Pulling fs layer [2023-09-19T16:17:00.829Z] 8a3aa393b2d8: Pulling fs layer [2023-09-19T16:17:00.829Z] 4657fd5d0bcf: Waiting [2023-09-19T16:17:00.829Z] 6ad1cebc031e: Waiting [2023-09-19T16:17:00.829Z] 8a3aa393b2d8: Waiting [2023-09-19T16:17:00.829Z] 114826534d7a: Waiting [2023-09-19T16:17:00.829Z] 25bc292e5bac: Verifying Checksum [2023-09-19T16:17:00.829Z] 25bc292e5bac: Download complete [2023-09-19T16:17:00.829Z] 52dc419b0ee2: Download complete [2023-09-19T16:17:00.829Z] 4657fd5d0bcf: Verifying Checksum [2023-09-19T16:17:00.829Z] 4657fd5d0bcf: Download complete [2023-09-19T16:17:00.829Z] df9b9388f04a: Verifying Checksum [2023-09-19T16:17:00.829Z] df9b9388f04a: Download complete [2023-09-19T16:17:01.087Z] df9b9388f04a: Pull complete [2023-09-19T16:17:01.087Z] 6ad1cebc031e: Verifying Checksum [2023-09-19T16:17:01.087Z] 6ad1cebc031e: Download complete [2023-09-19T16:17:01.087Z] 52dc419b0ee2: Pull complete [2023-09-19T16:17:01.087Z] 25bc292e5bac: Pull complete [2023-09-19T16:17:01.656Z] 114826534d7a: Verifying Checksum [2023-09-19T16:17:01.656Z] 114826534d7a: Download complete [2023-09-19T16:17:01.656Z] 8a3aa393b2d8: Download complete [2023-09-19T16:17:04.934Z] 114826534d7a: Pull complete [2023-09-19T16:17:04.934Z] 4657fd5d0bcf: Pull complete [2023-09-19T16:17:04.934Z] 6ad1cebc031e: Pull complete [2023-09-19T16:17:08.232Z] 8a3aa393b2d8: Pull complete [2023-09-19T16:17:08.232Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-19T16:17:08.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T16:17:08.232Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:17:08.309Z] prd-ubuntu20.04-docker-8c-8g-6566 does not seem to be running inside a container [2023-09-19T16:17:08.348Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-19T16:17:12.553Z] $ docker top 8986d207951965f29363062adef0ac5e31111c33b82533e9406f9c404db8a16f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-19T16:17:12.621Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-09-19T16:17:12.901Z] + set -o pipefail [2023-09-19T16:17:12.901Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-09-19T16:17:18.184Z] [2023-09-19T16:17:18.184Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-09-19T16:17:18.184Z] [2023-09-19T16:17:18.184Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/a1b75a7f-afb0-4813-af48-6c95b3f0feb4 [2023-09-19T16:17:18.184Z] [2023-09-19T16:17:18.184Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-19T16:17:18.184Z] [2023-09-19T16:17:18.184Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-19T16:17:18.184Z] [2023-09-19T16:17:18.444Z] [2023-09-19T16:17:18.444Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-19T16:17:18.444Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-19T16:17:18.444Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-19T16:17:18.458Z] $ docker stop --time=1 8986d207951965f29363062adef0ac5e31111c33b82533e9406f9c404db8a16f [2023-09-19T16:17:21.573Z] $ docker rm -f --volumes 8986d207951965f29363062adef0ac5e31111c33b82533e9406f9c404db8a16f [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-19T16:17:22.297Z] + git log --format=format:%s -1 697f398d4930450ca66ff8e227ddea628c81eaba [Pipeline] sh [2023-09-19T16:17:22.590Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T16:17:22.590Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:17:22.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T16:17:22.885Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:17:23.022Z] prd-ubuntu20.04-docker-8c-8g-6566 does not seem to be running inside a container [2023-09-19T16:17:23.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T16:17:23.515Z] $ docker top 3b8a4fdab374704e07136abb9f8e66dd238f90c7993653388ff4586cf8ca47a7 -eo pid,comm [2023-09-19T16:17:23.556Z] 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-19T16:17:23.556Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T16:17:23.594Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T16:17:23.594Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T16:17:23.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T16:17:23.712Z] $ docker exec 3b8a4fdab374704e07136abb9f8e66dd238f90c7993653388ff4586cf8ca47a7 ssh-agent [2023-09-19T16:17:23.804Z] SSH_AUTH_SOCK=/tmp/ssh-3AMXM4tRr0Q6/agent.33 [2023-09-19T16:17:23.804Z] SSH_AGENT_PID=39 [2023-09-19T16:17:23.809Z] Running ssh-add (command line suppressed) [2023-09-19T16:17:23.911Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15563487721375474162.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15563487721375474162.key) [2023-09-19T16:17:23.927Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T16:17:24.217Z] + git semver tag [2023-09-19T16:17:24.476Z] 2023-09-19 16:17:24,378 [run_tag] DEBUG tag force:False [2023-09-19T16:17:24.476Z] 2023-09-19 16:17:24,379 [check_head_tag] DEBUG check head tag [2023-09-19T16:17:24.476Z] 2023-09-19 16:17:24,380 [execute] INFO git cat-file --batch-check [2023-09-19T16:17:24.476Z] 2023-09-19 16:17:24,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-19T16:17:24.476Z] 2023-09-19 16:17:24,384 [execute] INFO git cat-file --batch [2023-09-19T16:17:24.476Z] 2023-09-19 16:17:24,385 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-19T16:17:24.476Z] 2023-09-19 16:17:24,396 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-19T16:17:24.476Z] 2023-09-19 16:17:24,397 [execute] INFO git tag -a v3.1.0-dev.14 -m v3.1.0-dev.14 [2023-09-19T16:17:24.476Z] 2023-09-19 16:17:24,397 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.14', '-m', 'v3.1.0-dev.14'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-19T16:17:24.476Z] 2023-09-19 16:17:24,401 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-19T16:17:24.476Z] 3.1.0-dev.14 [Pipeline] } [2023-09-19T16:17:24.487Z] $ docker exec --env ******** --env ******** 3b8a4fdab374704e07136abb9f8e66dd238f90c7993653388ff4586cf8ca47a7 ssh-agent -k [2023-09-19T16:17:24.591Z] unset SSH_AUTH_SOCK; [2023-09-19T16:17:24.591Z] unset SSH_AGENT_PID; [2023-09-19T16:17:24.591Z] echo Agent pid 39 killed; [2023-09-19T16:17:24.594Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T16:17:24.889Z] + git semver [Pipeline] } [2023-09-19T16:17:25.164Z] $ docker stop --time=1 3b8a4fdab374704e07136abb9f8e66dd238f90c7993653388ff4586cf8ca47a7 [2023-09-19T16:17:26.420Z] $ docker rm -f --volumes 3b8a4fdab374704e07136abb9f8e66dd238f90c7993653388ff4586cf8ca47a7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:17:26.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T16:17:26.800Z] [2023-09-19T16:17:26.800Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:17:27.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T16:17:27.095Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-19T16:17:27.095Z] ab5ef0e58194: Pulling fs layer [2023-09-19T16:17:27.095Z] 9712f1f96733: Pulling fs layer [2023-09-19T16:17:27.095Z] 63f879dbbcfc: Pulling fs layer [2023-09-19T16:17:27.095Z] 0d9ebad4ef96: Pulling fs layer [2023-09-19T16:17:27.095Z] e9a5061849ea: Pulling fs layer [2023-09-19T16:17:27.095Z] d747dcd14b5f: Pulling fs layer [2023-09-19T16:17:27.095Z] 2de7ff778b66: Pulling fs layer [2023-09-19T16:17:27.095Z] 0d9ebad4ef96: Waiting [2023-09-19T16:17:27.095Z] d747dcd14b5f: Waiting [2023-09-19T16:17:27.095Z] 2de7ff778b66: Waiting [2023-09-19T16:17:27.095Z] e9a5061849ea: Waiting [2023-09-19T16:17:27.095Z] 9712f1f96733: Download complete [2023-09-19T16:17:27.354Z] 63f879dbbcfc: Verifying Checksum [2023-09-19T16:17:27.354Z] 63f879dbbcfc: Download complete [2023-09-19T16:17:27.614Z] 0d9ebad4ef96: Verifying Checksum [2023-09-19T16:17:27.614Z] 0d9ebad4ef96: Download complete [2023-09-19T16:17:27.614Z] d747dcd14b5f: Verifying Checksum [2023-09-19T16:17:27.614Z] d747dcd14b5f: Download complete [2023-09-19T16:17:27.614Z] e9a5061849ea: Verifying Checksum [2023-09-19T16:17:27.614Z] e9a5061849ea: Download complete [2023-09-19T16:17:27.614Z] ab5ef0e58194: Verifying Checksum [2023-09-19T16:17:27.614Z] ab5ef0e58194: Download complete [2023-09-19T16:17:27.872Z] 2de7ff778b66: Verifying Checksum [2023-09-19T16:17:27.872Z] 2de7ff778b66: Download complete [2023-09-19T16:17:30.399Z] ab5ef0e58194: Pull complete [2023-09-19T16:17:30.399Z] 9712f1f96733: Pull complete [2023-09-19T16:17:30.966Z] 63f879dbbcfc: Pull complete [2023-09-19T16:17:34.240Z] 0d9ebad4ef96: Pull complete [2023-09-19T16:17:34.240Z] e9a5061849ea: Pull complete [2023-09-19T16:17:34.498Z] d747dcd14b5f: Pull complete [2023-09-19T16:17:35.430Z] 2de7ff778b66: Pull complete [2023-09-19T16:17:35.430Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-19T16:17:35.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T16:17:35.430Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:17:35.502Z] prd-ubuntu20.04-docker-8c-8g-6566 does not seem to be running inside a container [2023-09-19T16:17:35.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-19T16:17:39.612Z] $ docker top 127aecd8c6f9da85ef6e7b2125103cd07977b381467756860acdf19ddb0dc08a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-19T16:17:39.680Z] provisioning config files... [2023-09-19T16:17:39.686Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17237917776752266126tmp [2023-09-19T16:17:39.695Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10639047394354935184tmp [2023-09-19T16:17:39.702Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1482009880572310944tmp [Pipeline] { [Pipeline] echo [2023-09-19T16:17:39.716Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:17:39.993Z] ---> sigul-configuration.sh [2023-09-19T16:17:39.994Z] gpg: directory `/root/.gnupg' created [2023-09-19T16:17:39.994Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-19T16:17:39.994Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-19T16:17:39.994Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-19T16:17:39.994Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-19T16:17:39.994Z] gpg: CAST5 encrypted data [2023-09-19T16:17:39.994Z] gpg: encrypted with 1 passphrase [2023-09-19T16:17:39.994Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-19T16:17:40.276Z] + mkdir /home/jenkins [2023-09-19T16:17:40.276Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-19T16:17:40.561Z] + 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-19T16:17:40.568Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:17:40.848Z] ---> sigul-install.sh [2023-09-19T16:17:40.848Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-19T16:17:41.131Z] + git tag --list [2023-09-19T16:17:41.131Z] v1.0.0 [2023-09-19T16:17:41.131Z] v1.1.0 [2023-09-19T16:17:41.131Z] v1.1.1 [2023-09-19T16:17:41.131Z] v1.2.1 [2023-09-19T16:17:41.131Z] v1.2.2 [2023-09-19T16:17:41.131Z] v1.2.3 [2023-09-19T16:17:41.131Z] v1.3.0 [2023-09-19T16:17:41.131Z] v1.3.1 [2023-09-19T16:17:41.131Z] v2.0.0 [2023-09-19T16:17:41.131Z] v2.1.0 [2023-09-19T16:17:41.131Z] v2.1.1 [2023-09-19T16:17:41.131Z] v2.2.0 [2023-09-19T16:17:41.131Z] v2.3.0 [2023-09-19T16:17:41.131Z] v3.0 [2023-09-19T16:17:41.131Z] v3.0.0 [2023-09-19T16:17:41.131Z] v3.1.0-dev.1 [2023-09-19T16:17:41.131Z] v3.1.0-dev.10 [2023-09-19T16:17:41.131Z] v3.1.0-dev.11 [2023-09-19T16:17:41.131Z] v3.1.0-dev.12 [2023-09-19T16:17:41.131Z] v3.1.0-dev.13 [2023-09-19T16:17:41.131Z] v3.1.0-dev.14 [2023-09-19T16:17:41.131Z] v3.1.0-dev.2 [2023-09-19T16:17:41.131Z] v3.1.0-dev.3 [2023-09-19T16:17:41.131Z] v3.1.0-dev.4 [2023-09-19T16:17:41.131Z] v3.1.0-dev.5 [2023-09-19T16:17:41.131Z] v3.1.0-dev.6 [2023-09-19T16:17:41.131Z] v3.1.0-dev.7 [2023-09-19T16:17:41.131Z] v3.1.0-dev.8 [2023-09-19T16:17:41.131Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-19T16:17:41.417Z] + lftools sign git-tag v3.1.0-dev.14 [2023-09-19T16:17:41.985Z] Signing Git tag with Sigul... [2023-09-19T16:17:41.985Z] Signing v3.1.0-dev.14 [Pipeline] echo [2023-09-19T16:17:42.252Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:17:42.533Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-19T16:17:42.541Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-19T16:17:42.561Z] $ docker stop --time=1 127aecd8c6f9da85ef6e7b2125103cd07977b381467756860acdf19ddb0dc08a [2023-09-19T16:17:43.831Z] $ docker rm -f --volumes 127aecd8c6f9da85ef6e7b2125103cd07977b381467756860acdf19ddb0dc08a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-19T16:17:44.211Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T16:17:44.211Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:17:44.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T16:17:44.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:17:44.565Z] prd-ubuntu20.04-docker-8c-8g-6566 does not seem to be running inside a container [2023-09-19T16:17:44.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T16:17:44.911Z] $ docker top 6d0c65da5ab0192670828d7fab2903c9434632776499e4e0e5fb096c91207f46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T16:17:44.992Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T16:17:44.992Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T16:17:45.095Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T16:17:45.099Z] $ docker exec 6d0c65da5ab0192670828d7fab2903c9434632776499e4e0e5fb096c91207f46 ssh-agent [2023-09-19T16:17:45.193Z] SSH_AUTH_SOCK=/tmp/ssh-URAZvyDpRxxM/agent.31 [2023-09-19T16:17:45.193Z] SSH_AGENT_PID=37 [2023-09-19T16:17:45.197Z] Running ssh-add (command line suppressed) [2023-09-19T16:17:45.300Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9838835191635512132.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9838835191635512132.key) [2023-09-19T16:17:45.311Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T16:17:45.593Z] + git semver bump pre [2023-09-19T16:17:45.851Z] 2023-09-19 16:17:45,783 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-19T16:17:45.851Z] 2023-09-19 16:17:45,783 [bump_version] DEBUG bumping version:3.1.0-dev.14 on axis:pre with prefix:dev [2023-09-19T16:17:45.851Z] 2023-09-19 16:17:45,783 [bump_version] DEBUG bumped version:3.1.0-dev.15 [2023-09-19T16:17:45.851Z] 2023-09-19 16:17:45,784 [write_version] DEBUG write version:3.1.0-dev.15 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-09-19T16:17:45.851Z] 2023-09-19 16:17:45,784 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-19T16:17:45.851Z] 2023-09-19 16:17:45,784 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-19T16:17:45.851Z] 2023-09-19 16:17:45,785 [execute] INFO git cat-file --batch-check [2023-09-19T16:17:45.851Z] 2023-09-19 16:17:45,786 [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-19T16:17:45.851Z] 2023-09-19 16:17:45,791 [execute] INFO git cat-file --batch [2023-09-19T16:17:45.851Z] 2023-09-19 16:17:45,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T16:17:45.851Z] 2023-09-19 16:17:45,795 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-19T16:17:45.851Z] 3.1.0-dev.15 [Pipeline] } [2023-09-19T16:17:45.862Z] $ docker exec --env ******** --env ******** 6d0c65da5ab0192670828d7fab2903c9434632776499e4e0e5fb096c91207f46 ssh-agent -k [2023-09-19T16:17:45.940Z] unset SSH_AUTH_SOCK; [2023-09-19T16:17:45.940Z] unset SSH_AGENT_PID; [2023-09-19T16:17:45.941Z] echo Agent pid 37 killed; [2023-09-19T16:17:45.947Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T16:17:46.242Z] + git semver [Pipeline] } [2023-09-19T16:17:46.515Z] $ docker stop --time=1 6d0c65da5ab0192670828d7fab2903c9434632776499e4e0e5fb096c91207f46 [2023-09-19T16:17:47.759Z] $ docker rm -f --volumes 6d0c65da5ab0192670828d7fab2903c9434632776499e4e0e5fb096c91207f46 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T16:17:48.099Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T16:17:48.099Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:17:48.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T16:17:48.397Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:17:48.467Z] prd-ubuntu20.04-docker-8c-8g-6566 does not seem to be running inside a container [2023-09-19T16:17:48.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T16:17:48.804Z] $ docker top 5a3c7542285ab96971ebfd7b81db1f7a36437c2f20bc4ec32f9e229b1117f427 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T16:17:48.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T16:17:48.885Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T16:17:48.995Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T16:17:49.000Z] $ docker exec 5a3c7542285ab96971ebfd7b81db1f7a36437c2f20bc4ec32f9e229b1117f427 ssh-agent [2023-09-19T16:17:49.108Z] SSH_AUTH_SOCK=/tmp/ssh-T0FFJ3urDZ8S/agent.32 [2023-09-19T16:17:49.108Z] SSH_AGENT_PID=37 [2023-09-19T16:17:49.112Z] Running ssh-add (command line suppressed) [2023-09-19T16:17:49.205Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6145171643885598071.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6145171643885598071.key) [2023-09-19T16:17:49.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T16:17:49.497Z] + git semver push [2023-09-19T16:17:49.754Z] 2023-09-19 16:17:49,651 [run_push] DEBUG push [2023-09-19T16:17:49.754Z] 2023-09-19 16:17:49,652 [execute] INFO git cat-file --batch-check [2023-09-19T16:17:49.754Z] 2023-09-19 16:17:49,652 [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-19T16:17:49.754Z] 2023-09-19 16:17:49,655 [execute] INFO git rev-list abe2754c9072ac83468a3fed95e83ff3d72120d6 -- [2023-09-19T16:17:49.754Z] 2023-09-19 16:17:49,656 [execute] DEBUG Popen(['git', 'rev-list', 'abe2754c9072ac83468a3fed95e83ff3d72120d6', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-19T16:17:49.754Z] 2023-09-19 16:17:49,665 [execute] INFO git fetch -v origin [2023-09-19T16:17:49.754Z] 2023-09-19 16:17:49,665 [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-19T16:17:50.322Z] 2023-09-19 16:17:50,162 [run_push] DEBUG no remote changes detected [2023-09-19T16:17:50.322Z] 2023-09-19 16:17:50,162 [execute] INFO git push origin semver [2023-09-19T16:17:50.322Z] 2023-09-19 16:17:50,162 [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-19T16:17:51.259Z] 2023-09-19 16:17:51,000 [run_push] DEBUG push all version tags [2023-09-19T16:17:51.259Z] 2023-09-19 16:17:51,000 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-19T16:17:51.259Z] 2023-09-19 16:17:51,001 [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-19T16:17:52.196Z] 2023-09-19 16:17:51,855 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-19T16:17:52.196Z] 3.1.0-dev.15 [Pipeline] } [2023-09-19T16:17:52.208Z] $ docker exec --env ******** --env ******** 5a3c7542285ab96971ebfd7b81db1f7a36437c2f20bc4ec32f9e229b1117f427 ssh-agent -k [2023-09-19T16:17:52.302Z] unset SSH_AUTH_SOCK; [2023-09-19T16:17:52.303Z] unset SSH_AGENT_PID; [2023-09-19T16:17:52.303Z] echo Agent pid 37 killed; [2023-09-19T16:17:52.312Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T16:17:52.609Z] + git semver [Pipeline] } [2023-09-19T16:17:52.882Z] $ docker stop --time=1 5a3c7542285ab96971ebfd7b81db1f7a36437c2f20bc4ec32f9e229b1117f427 [2023-09-19T16:17:54.138Z] $ docker rm -f --volumes 5a3c7542285ab96971ebfd7b81db1f7a36437c2f20bc4ec32f9e229b1117f427 [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-19T16:17:54.780Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-09-19T16:17:54.780Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-19T16:17:54.780Z] total 16 [2023-09-19T16:17:54.780Z] drwxr-xr-x 3 root root 4096 Sep 19 16:07 . [2023-09-19T16:17:54.780Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 16:17 .. [2023-09-19T16:17:54.780Z] drwxr-xr-x 2 root root 4096 Sep 19 16:07 cost [2023-09-19T16:17:54.780Z] -rw-r--r-- 1 root root 89 Sep 19 16:07 cost.csv [2023-09-19T16:17:54.780Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-19T16:17:54.780Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-19T16:17:54.780Z] total 16 [2023-09-19T16:17:54.780Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 16:07 . [2023-09-19T16:17:54.780Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 16:17 .. [2023-09-19T16:17:54.780Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 16:07 cost [2023-09-19T16:17:54.780Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 19 16:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:17:55.083Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:17:55.981Z] ---> package-listing.sh [2023-09-19T16:17:55.981Z] ++ facter osfamily [2023-09-19T16:17:55.981Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-19T16:17:56.241Z] + OS_FAMILY=debian [2023-09-19T16:17:56.241Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-09-19T16:17:56.241Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-19T16:17:56.241Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-19T16:17:56.241Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-19T16:17:56.241Z] + PACKAGES=/tmp/packages_start.txt [2023-09-19T16:17:56.241Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-19T16:17:56.241Z] + PACKAGES=/tmp/packages_end.txt [2023-09-19T16:17:56.241Z] + case "${OS_FAMILY}" in [2023-09-19T16:17:56.241Z] + dpkg -l [2023-09-19T16:17:56.241Z] + grep '^ii' [2023-09-19T16:17:56.241Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-19T16:17:56.241Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-19T16:17:56.241Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-19T16:17:56.241Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-19T16:17:56.241Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-09-19T16:17:56.241Z] + 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-19T16:17:56.250Z] 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-19T16:17:56.525Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T16:17:57.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T16:17:57.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T16:17:57.142Z] prd-ubuntu20.04-docker-8c-8g-6566 does not seem to be running inside a container [2023-09-19T16:17:57.172Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T16:17:57.377Z] $ docker top 1af091d57deec2b6b663a13ab8f19c979e1ee6bd3b0b591f10a0ffb1729d6f44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T16:17:57.718Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-19T16:17:57.998Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-19T16:17:58.290Z] + ls /var/log/sa-host [2023-09-19T16:17:58.290Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T16:17:58.432Z] provisioning config files... [2023-09-19T16:17:58.439Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14437461412611041475tmp [Pipeline] { [Pipeline] echo [2023-09-19T16:17:58.451Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:17:58.734Z] ---> create-netrc.sh [Pipeline] } [2023-09-19T16:17:58.741Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:17:59.064Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-19T16:17:59.072Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:17:59.355Z] ---> sudo-logs.sh [2023-09-19T16:17:59.355Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-19T16:17:59.373Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:17:59.653Z] ---> job-cost.sh [2023-09-19T16:17:59.653Z] lf-activate-venv: SKIPPING [2023-09-19T16:17:59.653Z] DEBUG: total: 0.2199999988079071 [2023-09-19T16:17:59.653Z] INFO: Retrieving Stack Cost... [2023-09-19T16:17:59.911Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T16:18:00.479Z] INFO: Archiving Costs [Pipeline] echo [2023-09-19T16:18:00.489Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T16:18:00.772Z] ---> logs-deploy.sh [2023-09-19T16:18:00.772Z] lf-activate-venv: SKIPPING [2023-09-19T16:18:00.772Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/140 [2023-09-19T16:18:00.772Z] INFO: archiving workspace using pattern(s): [2023-09-19T16:18:01.707Z] Archives upload complete. [2023-09-19T16:18:01.707Z] INFO: archiving logs to Nexus