Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9fa1e29ef86971f53d10bc46f825e51861cc077b 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-ssh13750513972146508700.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-ssh9165679188057702696.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-ssh4770338554541864567.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-ssh16843082980717417744.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-ssh9178229658754066226.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 ‘prd-ubuntu20.04-docker-8c-8g-6703’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6706 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 9fa1e29ef86971f53d10bc46f825e51861cc077b (main) Commit message: "Merge pull request #430 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.28" > 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 9fa1e29ef86971f53d10bc46f825e51861cc077b # timeout=10 > git rev-list --no-walk 697f398d4930450ca66ff8e227ddea628c81eaba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T12:42:50.969Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T12:42:51.027Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T12:42:51.052Z] ========================================================= [2023-09-20T12:42:51.052Z] EdgeX Global Pipelines Version Info [2023-09-20T12:42:51.052Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:42:51.773Z] ------------------- [2023-09-20T12:42:51.773Z] stable info: [2023-09-20T12:42:51.773Z] ------------------- [2023-09-20T12:42:51.773Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T12:42:51.773Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T12:42:51.773Z] Message: update stable to v1.0.254 [2023-09-20T12:42:52.345Z] ------------------- [2023-09-20T12:42:52.345Z] experimental info: [2023-09-20T12:42:52.345Z] ------------------- [2023-09-20T12:42:52.345Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T12:42:52.345Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T12:42:52.345Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T12:42:52.498Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-09-20T12:42:52.507Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-09-20T12:42:52.516Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T12:42:52.524Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T12:42:52.533Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T12:42:52.541Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T12:42:52.549Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T12:42:52.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T12:42:52.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T12:42:52.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T12:42:52.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T12:42:52.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-09-20T12:42:52.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T12:42:52.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T12:42:52.641Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T12:42:52.649Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T12:42:52.658Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T12:42:52.667Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T12:42:52.675Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T12:42:52.684Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T12:42:52.694Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T12:42:52.716Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T12:42:52.733Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T12:42:52.753Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T12:42:52.774Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T12:42:52.789Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T12:42:52.806Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T12:42:52.826Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T12:42:52.846Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T12:42:52.865Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T12:42:52.885Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9fa1e29ef86971f53d10bc46f825e51861cc077b [Pipeline] echo [2023-09-20T12:42:52.905Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9fa1e29 [Pipeline] echo [2023-09-20T12:42:52.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T12:42:52.978Z] provisioning config files... [2023-09-20T12:42:52.994Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5394005756240821750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:42:53.299Z] ---> docker-login.sh [2023-09-20T12:42:53.300Z] nexus3.edgexfoundry.org:10001 [2023-09-20T12:42:53.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:42:53.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:42:53.561Z] Configure a credential helper to remove this warning. See [2023-09-20T12:42:53.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:42:53.561Z] [2023-09-20T12:42:53.561Z] Login Succeeded [2023-09-20T12:42:53.561Z] nexus3.edgexfoundry.org:10002 [2023-09-20T12:42:53.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:42:53.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:42:53.561Z] Configure a credential helper to remove this warning. See [2023-09-20T12:42:53.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:42:53.561Z] [2023-09-20T12:42:53.561Z] Login Succeeded [2023-09-20T12:42:53.561Z] nexus3.edgexfoundry.org:10003 [2023-09-20T12:42:53.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:42:53.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:42:53.821Z] Configure a credential helper to remove this warning. See [2023-09-20T12:42:53.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:42:53.821Z] [2023-09-20T12:42:53.821Z] Login Succeeded [2023-09-20T12:42:53.821Z] nexus3.edgexfoundry.org:10004 [2023-09-20T12:42:53.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:42:53.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:42:53.821Z] Configure a credential helper to remove this warning. See [2023-09-20T12:42:53.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:42:53.821Z] [2023-09-20T12:42:53.821Z] Login Succeeded [2023-09-20T12:42:53.821Z] docker.io [2023-09-20T12:42:54.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:42:54.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:42:54.342Z] Configure a credential helper to remove this warning. See [2023-09-20T12:42:54.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:42:54.342Z] [2023-09-20T12:42:54.342Z] Login Succeeded [2023-09-20T12:42:54.342Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T12:42:54.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T12:42:54.737Z] + git rev-list -1 --merges 9fa1e29ef86971f53d10bc46f825e51861cc077b~1..9fa1e29ef86971f53d10bc46f825e51861cc077b [Pipeline] echo [2023-09-20T12:42:54.782Z] -----------> git rev-list -1 --merges 9fa1e29ef86971f53d10bc46f825e51861cc077b~1..9fa1e29ef86971f53d10bc46f825e51861cc077b 9fa1e29ef86971f53d10bc46f825e51861cc077b [2023-09-20T12:42:54.782Z] 9fa1e29ef86971f53d10bc46f825e51861cc077b [false] [Pipeline] sh [2023-09-20T12:42:55.073Z] + git log --format=format:%s -1 9fa1e29ef86971f53d10bc46f825e51861cc077b [Pipeline] echo [2023-09-20T12:42:55.091Z] ========================================================= [2023-09-20T12:42:55.091Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T12:42:55.091Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T12:42:55.427Z] + git log --format=format:%s -1 9fa1e29ef86971f53d10bc46f825e51861cc077b [Pipeline] echo [2023-09-20T12:42:55.438Z] [semverPrep] GIT_COMMIT: 9fa1e29ef86971f53d10bc46f825e51861cc077b, Commit Message: Merge pull request #430 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.28 [Pipeline] echo [2023-09-20T12:42:55.447Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T12:42:55.794Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T12:42:55.794Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T12:42:55.794Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T12:42:55.794Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T12:42:55.794Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T12:42:55.794Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T12:42:55.794Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:42:56.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T12:42:56.148Z] [2023-09-20T12:42:56.148Z] 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-20T12:42:56.450Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T12:42:56.450Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T12:42:56.450Z] b85a868b505f: Pulling fs layer [2023-09-20T12:42:56.450Z] e2be974225ed: Pulling fs layer [2023-09-20T12:42:56.450Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T12:42:56.450Z] 988bab9f4d93: Pulling fs layer [2023-09-20T12:42:56.450Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T12:42:56.450Z] eaf3925da568: Pulling fs layer [2023-09-20T12:42:56.450Z] bab4dde63d76: Pulling fs layer [2023-09-20T12:42:56.450Z] bde34c3a00c8: Pulling fs layer [2023-09-20T12:42:56.451Z] b352a97aabf1: Pulling fs layer [2023-09-20T12:42:56.451Z] 4872d77fe225: Pulling fs layer [2023-09-20T12:42:56.451Z] 5851b861e8e6: Pulling fs layer [2023-09-20T12:42:56.451Z] bab4dde63d76: Waiting [2023-09-20T12:42:56.451Z] bde34c3a00c8: Waiting [2023-09-20T12:42:56.451Z] 4872d77fe225: Waiting [2023-09-20T12:42:56.451Z] b352a97aabf1: Waiting [2023-09-20T12:42:56.451Z] 1469e6f7b9e6: Waiting [2023-09-20T12:42:56.451Z] eaf3925da568: Waiting [2023-09-20T12:42:56.451Z] 5851b861e8e6: Waiting [2023-09-20T12:42:56.451Z] 988bab9f4d93: Waiting [2023-09-20T12:42:56.451Z] e2be974225ed: Verifying Checksum [2023-09-20T12:42:56.451Z] e2be974225ed: Download complete [2023-09-20T12:42:56.451Z] 988bab9f4d93: Download complete [2023-09-20T12:42:56.451Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T12:42:56.451Z] 1469e6f7b9e6: Download complete [2023-09-20T12:42:56.710Z] eaf3925da568: Download complete [2023-09-20T12:42:56.710Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T12:42:56.710Z] 339a4e72a1f5: Download complete [2023-09-20T12:42:56.710Z] bde34c3a00c8: Verifying Checksum [2023-09-20T12:42:56.710Z] bde34c3a00c8: Download complete [2023-09-20T12:42:56.710Z] b352a97aabf1: Verifying Checksum [2023-09-20T12:42:56.710Z] b352a97aabf1: Download complete [2023-09-20T12:42:56.710Z] 4872d77fe225: Verifying Checksum [2023-09-20T12:42:56.710Z] 4872d77fe225: Download complete [2023-09-20T12:42:56.710Z] 5851b861e8e6: Verifying Checksum [2023-09-20T12:42:56.710Z] 5851b861e8e6: Download complete [2023-09-20T12:42:56.710Z] b85a868b505f: Verifying Checksum [2023-09-20T12:42:56.710Z] b85a868b505f: Download complete [2023-09-20T12:42:56.968Z] bab4dde63d76: Verifying Checksum [2023-09-20T12:42:56.968Z] bab4dde63d76: Download complete [2023-09-20T12:42:57.904Z] b85a868b505f: Pull complete [2023-09-20T12:42:57.904Z] e2be974225ed: Pull complete [2023-09-20T12:42:58.472Z] 339a4e72a1f5: Pull complete [2023-09-20T12:42:58.472Z] 988bab9f4d93: Pull complete [2023-09-20T12:42:58.732Z] 1469e6f7b9e6: Pull complete [2023-09-20T12:42:58.732Z] eaf3925da568: Pull complete [2023-09-20T12:43:00.640Z] bab4dde63d76: Pull complete [2023-09-20T12:43:00.640Z] bde34c3a00c8: Pull complete [2023-09-20T12:43:00.640Z] b352a97aabf1: Pull complete [2023-09-20T12:43:00.640Z] 4872d77fe225: Pull complete [2023-09-20T12:43:00.640Z] 5851b861e8e6: Pull complete [2023-09-20T12:43:00.640Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T12:43:00.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T12:43:00.640Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:43:00.732Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-09-20T12:43:00.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T12:43:02.386Z] $ docker top 9bdf6d58d78e4163d76eadbe3c1fbed30af5980af91c3938f1a6b07ebe410395 -eo pid,comm [2023-09-20T12:43:02.438Z] 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-20T12:43:02.438Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T12:43:02.469Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T12:43:02.469Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T12:43:02.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T12:43:02.576Z] $ docker exec 9bdf6d58d78e4163d76eadbe3c1fbed30af5980af91c3938f1a6b07ebe410395 ssh-agent [2023-09-20T12:43:02.683Z] SSH_AUTH_SOCK=/tmp/ssh-reWAPrRXHEDP/agent.33 [2023-09-20T12:43:02.683Z] SSH_AGENT_PID=39 [2023-09-20T12:43:02.690Z] Running ssh-add (command line suppressed) [2023-09-20T12:43:02.794Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11175952231723664922.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11175952231723664922.key) [2023-09-20T12:43:02.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T12:43:03.085Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T12:43:03.106Z] $ docker exec --env ******** --env ******** 9bdf6d58d78e4163d76eadbe3c1fbed30af5980af91c3938f1a6b07ebe410395 ssh-agent -k [2023-09-20T12:43:03.207Z] unset SSH_AUTH_SOCK; [2023-09-20T12:43:03.207Z] unset SSH_AGENT_PID; [2023-09-20T12:43:03.207Z] echo Agent pid 39 killed; [2023-09-20T12:43:03.211Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T12:43:03.243Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T12:43:03.243Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T12:43:03.346Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T12:43:03.353Z] $ docker exec 9bdf6d58d78e4163d76eadbe3c1fbed30af5980af91c3938f1a6b07ebe410395 ssh-agent [2023-09-20T12:43:03.459Z] SSH_AUTH_SOCK=/tmp/ssh-JzQD52V49el1/agent.70 [2023-09-20T12:43:03.459Z] SSH_AGENT_PID=76 [2023-09-20T12:43:03.468Z] Running ssh-add (command line suppressed) [2023-09-20T12:43:03.560Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6857169601953538048.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6857169601953538048.key) [2023-09-20T12:43:03.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T12:43:03.859Z] + git semver init [2023-09-20T12:43:04.119Z] 2023-09-20 12:43:04,010 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T12:43:04.119Z] 2023-09-20 12:43:04,011 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-20T12:43:04.119Z] 2023-09-20 12:43:04,011 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-20T12:43:04.119Z] 2023-09-20 12:43:04,011 [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-20T12:43:05.059Z] 2023-09-20 12:43:04,994 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-09-20T12:43:05.059Z] 2023-09-20 12:43:04,994 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-09-20T12:43:05.059Z] 2023-09-20 12:43:04,994 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T12:43:05.059Z] 2023-09-20 12:43:04,994 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T12:43:05.059Z] 3.1.0-dev.15 [Pipeline] } [2023-09-20T12:43:05.074Z] $ docker exec --env ******** --env ******** 9bdf6d58d78e4163d76eadbe3c1fbed30af5980af91c3938f1a6b07ebe410395 ssh-agent -k [2023-09-20T12:43:05.174Z] unset SSH_AUTH_SOCK; [2023-09-20T12:43:05.174Z] unset SSH_AGENT_PID; [2023-09-20T12:43:05.175Z] echo Agent pid 76 killed; [2023-09-20T12:43:05.179Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T12:43:05.485Z] + git semver [Pipeline] } [2023-09-20T12:43:05.764Z] $ docker stop --time=1 9bdf6d58d78e4163d76eadbe3c1fbed30af5980af91c3938f1a6b07ebe410395 [2023-09-20T12:43:07.067Z] $ docker rm -f --volumes 9bdf6d58d78e4163d76eadbe3c1fbed30af5980af91c3938f1a6b07ebe410395 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T12:43:07.404Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T12:43:07.602Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T12:43:07.604Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.15 [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-20T12:43:07.779Z] provisioning config files... [2023-09-20T12:43:07.789Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10586927268865370950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:43:08.093Z] ---> docker-login.sh [2023-09-20T12:43:08.093Z] nexus3.edgexfoundry.org:10001 [2023-09-20T12:43:08.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:43:08.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:43:08.093Z] Configure a credential helper to remove this warning. See [2023-09-20T12:43:08.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:43:08.093Z] [2023-09-20T12:43:08.093Z] Login Succeeded [2023-09-20T12:43:08.093Z] nexus3.edgexfoundry.org:10002 [2023-09-20T12:43:08.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:43:08.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:43:08.093Z] Configure a credential helper to remove this warning. See [2023-09-20T12:43:08.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:43:08.093Z] [2023-09-20T12:43:08.093Z] Login Succeeded [2023-09-20T12:43:08.093Z] nexus3.edgexfoundry.org:10003 [2023-09-20T12:43:08.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:43:08.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:43:08.352Z] Configure a credential helper to remove this warning. See [2023-09-20T12:43:08.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:43:08.352Z] [2023-09-20T12:43:08.352Z] Login Succeeded [2023-09-20T12:43:08.352Z] nexus3.edgexfoundry.org:10004 [2023-09-20T12:43:08.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:43:08.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:43:08.352Z] Configure a credential helper to remove this warning. See [2023-09-20T12:43:08.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:43:08.352Z] [2023-09-20T12:43:08.352Z] Login Succeeded [2023-09-20T12:43:08.352Z] docker.io [2023-09-20T12:43:08.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:43:08.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:43:08.613Z] Configure a credential helper to remove this warning. See [2023-09-20T12:43:08.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:43:08.613Z] [2023-09-20T12:43:08.613Z] Login Succeeded [2023-09-20T12:43:08.613Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T12:43:08.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T12:43:08.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T12:43:08.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T12:43:08.722Z] ========================================================= [2023-09-20T12:43:08.722Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T12:43:08.722Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:43:09.039Z] + 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-20T12:43:09.039Z] Sending build context to Docker daemon 23.61MB [2023-09-20T12:43:09.039Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T12:43:09.039Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T12:43:09.039Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T12:43:09.039Z] 7264a8db6415: Pulling fs layer [2023-09-20T12:43:09.039Z] c4d48a809fc2: Pulling fs layer [2023-09-20T12:43:09.039Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T12:43:09.039Z] ad3a456e5733: Pulling fs layer [2023-09-20T12:43:09.039Z] 9e4f439ed901: Pulling fs layer [2023-09-20T12:43:09.039Z] feaf6a47b606: Pulling fs layer [2023-09-20T12:43:09.039Z] 5e8b037d7d82: Pulling fs layer [2023-09-20T12:43:09.039Z] 8ac70367396e: Pulling fs layer [2023-09-20T12:43:09.039Z] 6db16350a2e2: Pulling fs layer [2023-09-20T12:43:09.039Z] 9250d5d63582: Pulling fs layer [2023-09-20T12:43:09.039Z] 5e8b037d7d82: Waiting [2023-09-20T12:43:09.039Z] 6db16350a2e2: Waiting [2023-09-20T12:43:09.039Z] 9250d5d63582: Waiting [2023-09-20T12:43:09.039Z] ad3a456e5733: Waiting [2023-09-20T12:43:09.039Z] 8ac70367396e: Waiting [2023-09-20T12:43:09.039Z] 9e4f439ed901: Waiting [2023-09-20T12:43:09.039Z] feaf6a47b606: Waiting [2023-09-20T12:43:09.299Z] c4d48a809fc2: Download complete [2023-09-20T12:43:09.299Z] ad3a456e5733: Verifying Checksum [2023-09-20T12:43:09.299Z] ad3a456e5733: Download complete [2023-09-20T12:43:09.299Z] 9e4f439ed901: Verifying Checksum [2023-09-20T12:43:09.299Z] 9e4f439ed901: Download complete [2023-09-20T12:43:09.299Z] 7264a8db6415: Verifying Checksum [2023-09-20T12:43:09.299Z] 7264a8db6415: Download complete [2023-09-20T12:43:09.299Z] feaf6a47b606: Verifying Checksum [2023-09-20T12:43:09.299Z] feaf6a47b606: Download complete [2023-09-20T12:43:09.299Z] 7264a8db6415: Pull complete [2023-09-20T12:43:09.558Z] 8ac70367396e: Verifying Checksum [2023-09-20T12:43:09.558Z] 8ac70367396e: Download complete [2023-09-20T12:43:09.558Z] c4d48a809fc2: Pull complete [2023-09-20T12:43:09.558Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T12:43:09.558Z] 4f1c88b9dad5: Download complete [2023-09-20T12:43:09.816Z] 6db16350a2e2: Download complete [2023-09-20T12:43:09.816Z] 9250d5d63582: Verifying Checksum [2023-09-20T12:43:09.816Z] 9250d5d63582: Download complete [2023-09-20T12:43:09.816Z] 5e8b037d7d82: Verifying Checksum [2023-09-20T12:43:09.816Z] 5e8b037d7d82: Download complete [2023-09-20T12:43:12.354Z] 4f1c88b9dad5: Pull complete [2023-09-20T12:43:12.354Z] ad3a456e5733: Pull complete [2023-09-20T12:43:12.354Z] 9e4f439ed901: Pull complete [2023-09-20T12:43:12.613Z] feaf6a47b606: Pull complete [2023-09-20T12:43:15.144Z] 5e8b037d7d82: Pull complete [2023-09-20T12:43:15.144Z] 8ac70367396e: Pull complete [2023-09-20T12:43:15.404Z] 6db16350a2e2: Pull complete [2023-09-20T12:43:15.969Z] 9250d5d63582: Pull complete [2023-09-20T12:43:15.969Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-20T12:43:15.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T12:43:15.969Z] ---> fa269f55d9b9 [2023-09-20T12:43:15.969Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T12:43:18.506Z] ---> Running in b791382ae33c [2023-09-20T12:43:18.506Z] Removing intermediate container b791382ae33c [2023-09-20T12:43:18.506Z] ---> 64acfc1e9b1f [2023-09-20T12:43:18.506Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T12:43:18.506Z] ---> Running in 2092ef79b9cb [2023-09-20T12:43:18.506Z] Removing intermediate container 2092ef79b9cb [2023-09-20T12:43:18.506Z] ---> c88d15c6e403 [2023-09-20T12:43:18.506Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T12:43:18.506Z] ---> Running in eb59415ea8b7 [2023-09-20T12:43:18.506Z] Removing intermediate container eb59415ea8b7 [2023-09-20T12:43:18.506Z] ---> e408811aae45 [2023-09-20T12:43:18.506Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-20T12:43:18.506Z] ---> Running in a7fec6912264 [2023-09-20T12:43:18.506Z] Removing intermediate container a7fec6912264 [2023-09-20T12:43:18.506Z] ---> 7b70d8033bf3 [2023-09-20T12:43:18.506Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T12:43:18.506Z] ---> Running in ce7879579cd5 [2023-09-20T12:43:18.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T12:43:19.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T12:43:19.025Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T12:43:19.025Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T12:43:19.025Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T12:43:19.286Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T12:43:19.286Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T12:43:19.286Z] OK: 270 MiB in 60 packages [2023-09-20T12:43:19.544Z] Removing intermediate container ce7879579cd5 [2023-09-20T12:43:19.544Z] ---> b234affe7f42 [2023-09-20T12:43:19.544Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-20T12:43:19.544Z] ---> 4e93f22daa39 [2023-09-20T12:43:19.544Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T12:43:19.803Z] ---> Running in 3ae73bda63a5 [2023-09-20T12:43:22.735Z] Still waiting to schedule task [2023-09-20T12:43:22.735Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6704’ is offline [2023-09-20T12:43:46.348Z] Removing intermediate container 3ae73bda63a5 [2023-09-20T12:43:46.348Z] ---> 8fabc862a4d9 [2023-09-20T12:43:46.348Z] Step 10/12 : COPY . . [2023-09-20T12:43:46.348Z] ---> 514a9bbc8082 [2023-09-20T12:43:46.348Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T12:43:46.348Z] ---> Running in d97f8ed64c71 [2023-09-20T12:43:46.348Z] Removing intermediate container d97f8ed64c71 [2023-09-20T12:43:46.348Z] ---> 32f1661baed9 [2023-09-20T12:43:46.348Z] Step 12/12 : RUN $MAKE [2023-09-20T12:43:46.348Z] ---> Running in 72da5689bc46 [2023-09-20T12:43:46.348Z] noop [2023-09-20T12:43:46.348Z] Removing intermediate container 72da5689bc46 [2023-09-20T12:43:46.348Z] ---> d2f56ffac6b7 [2023-09-20T12:43:46.348Z] Successfully built d2f56ffac6b7 [2023-09-20T12:43:46.348Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:43:46.653Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T12:43:46.654Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:43:46.725Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-09-20T12:43:46.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T12:43:47.089Z] $ docker top 8b880bab194fb45a3b55f20a68cb39248521e86e629b2614972fe2ae7434f156 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T12:43:47.432Z] + go version [2023-09-20T12:43:47.432Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T12:43:47.447Z] $ docker stop --time=1 8b880bab194fb45a3b55f20a68cb39248521e86e629b2614972fe2ae7434f156 [2023-09-20T12:43:48.734Z] $ docker rm -f --volumes 8b880bab194fb45a3b55f20a68cb39248521e86e629b2614972fe2ae7434f156 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:43:49.154Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T12:43:49.155Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:43:49.218Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-09-20T12:43:49.244Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T12:43:49.572Z] $ docker top d047ced341503cdcb0880234f7ff490895443e1dd563980067147834344782d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T12:43:49.902Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-20T12:43:50.195Z] + make test [2023-09-20T12:43:50.195Z] go test ./... -coverprofile=coverage.out [2023-09-20T12:43:51.131Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-20T12:44:01.099Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-20T12:44:01.099Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.011s coverage: 58.6% of statements [2023-09-20T12:44:07.654Z] go vet ./... [2023-09-20T12:44:10.182Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T12:44:10.182Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T12:44:10.182Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T12:44:10.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T12:44:10.209Z] $ docker stop --time=1 d047ced341503cdcb0880234f7ff490895443e1dd563980067147834344782d3 [2023-09-20T12:44:12.710Z] $ docker rm -f --volumes d047ced341503cdcb0880234f7ff490895443e1dd563980067147834344782d3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T12:44:13.165Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T12:44:13.217Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T12:44:13.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T12:44:14.038Z] + ls -al . [2023-09-20T12:44:14.038Z] total 204 [2023-09-20T12:44:14.038Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 12:43 . [2023-09-20T12:44:14.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:42 .. [2023-09-20T12:44:14.038Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 12:44 .git [2023-09-20T12:44:14.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 12:42 .github [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 20 12:42 .gitignore [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 12:42 .golangci.yml [2023-09-20T12:44:14.038Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 12:43 .semver [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 20 12:42 Attribution.txt [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 20 12:42 CHANGELOG.md [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 20 12:42 Dockerfile [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 12:42 GOVERNANCE.md [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 20 12:42 Jenkinsfile [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 12:42 LICENSE [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 20 12:42 Makefile [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 20 12:42 OWNERS.md [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 20 12:42 README.md [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 12:43 VERSION [2023-09-20T12:44:14.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 12:42 bin [2023-09-20T12:44:14.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 12:42 cmd [2023-09-20T12:44:14.038Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 20 12:44 coverage.out [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 20 12:42 go.mod [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 20 12:42 go.sum [2023-09-20T12:44:14.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 12:42 internal [2023-09-20T12:44:14.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:42 snap [2023-09-20T12:44:14.038Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 20 12:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:44:14.341Z] + 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=9fa1e29ef86971f53d10bc46f825e51861cc077b --label arch=amd64 --label version=3.1.0-dev.15 . [2023-09-20T12:44:14.341Z] Sending build context to Docker daemon 23.65MB [2023-09-20T12:44:14.341Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T12:44:14.341Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T12:44:14.341Z] ---> d2f56ffac6b7 [2023-09-20T12:44:14.341Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T12:44:14.600Z] ---> Running in f25c4c27826d [2023-09-20T12:44:14.600Z] Removing intermediate container f25c4c27826d [2023-09-20T12:44:14.600Z] ---> 773f1483d5aa [2023-09-20T12:44:14.600Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T12:44:14.600Z] ---> Running in 752e13972945 [2023-09-20T12:44:14.860Z] Removing intermediate container 752e13972945 [2023-09-20T12:44:14.860Z] ---> edb9f13bca87 [2023-09-20T12:44:14.860Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T12:44:14.860Z] ---> Running in ee210570c3e3 [2023-09-20T12:44:14.860Z] Removing intermediate container ee210570c3e3 [2023-09-20T12:44:14.860Z] ---> ccff5b79e8b2 [2023-09-20T12:44:14.860Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-20T12:44:14.860Z] ---> Running in c6752a4b4541 [2023-09-20T12:44:14.860Z] Removing intermediate container c6752a4b4541 [2023-09-20T12:44:14.860Z] ---> a5e937a4ee33 [2023-09-20T12:44:14.860Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T12:44:15.119Z] ---> Running in a4d8d8a90421 [2023-09-20T12:44:15.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T12:44:15.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T12:44:15.546Z] OK: 270 MiB in 60 packages [2023-09-20T12:44:16.136Z] Removing intermediate container a4d8d8a90421 [2023-09-20T12:44:16.136Z] ---> 9f5e02e07e49 [2023-09-20T12:44:16.136Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-20T12:44:16.136Z] ---> 1ca29d62f644 [2023-09-20T12:44:16.136Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T12:44:16.136Z] ---> Running in d3a7fa0bee0c [2023-09-20T12:44:17.098Z] Removing intermediate container d3a7fa0bee0c [2023-09-20T12:44:17.098Z] ---> 1f07b6d0fc69 [2023-09-20T12:44:17.098Z] Step 10/25 : COPY . . [2023-09-20T12:44:17.358Z] ---> 5f121e47e9ee [2023-09-20T12:44:17.358Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T12:44:17.358Z] ---> Running in b50290896f8d [2023-09-20T12:44:17.616Z] Removing intermediate container b50290896f8d [2023-09-20T12:44:17.616Z] ---> f62f44e62b4a [2023-09-20T12:44:17.616Z] Step 12/25 : RUN $MAKE [2023-09-20T12:44:17.616Z] ---> Running in a5fd4c5f5e08 [2023-09-20T12:44:17.874Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-20T12:44:36.127Z] Removing intermediate container a5fd4c5f5e08 [2023-09-20T12:44:36.127Z] ---> eeb129459961 [2023-09-20T12:44:36.127Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T12:44:36.127Z] 3.18: Pulling from library/alpine [2023-09-20T12:44:36.127Z] 7264a8db6415: Already exists [2023-09-20T12:44:36.389Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T12:44:36.389Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T12:44:36.389Z] ---> 7e01a0d0a1dc [2023-09-20T12:44:36.389Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-20T12:44:36.389Z] ---> Running in 9c026f9fc4f9 [2023-09-20T12:44:36.389Z] Removing intermediate container 9c026f9fc4f9 [2023-09-20T12:44:36.389Z] ---> a07cc2d93739 [2023-09-20T12:44:36.389Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T12:44:36.389Z] ---> Running in e26b3cce87b8 [2023-09-20T12:44:36.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T12:44:36.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T12:44:36.907Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T12:44:36.907Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T12:44:36.907Z] OK: 7 MiB in 16 packages [2023-09-20T12:44:37.475Z] Removing intermediate container e26b3cce87b8 [2023-09-20T12:44:37.475Z] ---> 928eec9fdbbd [2023-09-20T12:44:37.475Z] Step 16/25 : WORKDIR / [2023-09-20T12:44:37.475Z] ---> Running in 10e6d3081e08 [2023-09-20T12:44:37.475Z] Removing intermediate container 10e6d3081e08 [2023-09-20T12:44:37.475Z] ---> ac20a34cb8d5 [2023-09-20T12:44:37.475Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-20T12:44:37.475Z] ---> 8184da647608 [2023-09-20T12:44:37.475Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-20T12:44:37.735Z] ---> 8c2ff51d487f [2023-09-20T12:44:37.735Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-20T12:44:38.303Z] ---> 71313a884b02 [2023-09-20T12:44:38.303Z] Step 20/25 : EXPOSE 59900 [2023-09-20T12:44:38.303Z] ---> Running in 20c659a5c305 [2023-09-20T12:44:38.303Z] Removing intermediate container 20c659a5c305 [2023-09-20T12:44:38.303Z] ---> 7ba50a615be2 [2023-09-20T12:44:38.303Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-20T12:44:38.303Z] ---> Running in 598d865d60e5 [2023-09-20T12:44:38.303Z] Removing intermediate container 598d865d60e5 [2023-09-20T12:44:38.303Z] ---> 000cc4537eae [2023-09-20T12:44:38.303Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T12:44:38.303Z] ---> Running in 30bdac751b78 [2023-09-20T12:44:38.564Z] Removing intermediate container 30bdac751b78 [2023-09-20T12:44:38.564Z] ---> 6a0fcea09e44 [2023-09-20T12:44:38.564Z] Step 23/25 : LABEL arch=amd64 [2023-09-20T12:44:38.564Z] ---> Running in 23b5a7a997ed [2023-09-20T12:44:38.564Z] Removing intermediate container 23b5a7a997ed [2023-09-20T12:44:38.564Z] ---> 5240de56386c [2023-09-20T12:44:38.564Z] Step 24/25 : LABEL git_sha=9fa1e29ef86971f53d10bc46f825e51861cc077b [2023-09-20T12:44:38.564Z] ---> Running in 3af8c0828a88 [2023-09-20T12:44:38.822Z] Removing intermediate container 3af8c0828a88 [2023-09-20T12:44:38.822Z] ---> ed1842bc0d78 [2023-09-20T12:44:38.822Z] Step 25/25 : LABEL version=3.1.0-dev.15 [2023-09-20T12:44:38.822Z] ---> Running in 655c65e2b9cc [2023-09-20T12:44:38.822Z] Removing intermediate container 655c65e2b9cc [2023-09-20T12:44:38.822Z] ---> 2e40b18900bf [2023-09-20T12:44:38.822Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T12:44:38.822Z] Successfully built 2e40b18900bf [2023-09-20T12:44:38.822Z] 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-20T12:44:38.958Z] provisioning config files... [2023-09-20T12:44:38.967Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8073665014919548045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:44:39.258Z] ---> docker-login.sh [2023-09-20T12:44:39.258Z] nexus3.edgexfoundry.org:10001 [2023-09-20T12:44:39.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:44:39.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:44:39.258Z] Configure a credential helper to remove this warning. See [2023-09-20T12:44:39.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:44:39.258Z] [2023-09-20T12:44:39.258Z] Login Succeeded [2023-09-20T12:44:39.258Z] nexus3.edgexfoundry.org:10002 [2023-09-20T12:44:39.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:44:39.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:44:39.258Z] Configure a credential helper to remove this warning. See [2023-09-20T12:44:39.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:44:39.258Z] [2023-09-20T12:44:39.258Z] Login Succeeded [2023-09-20T12:44:39.258Z] nexus3.edgexfoundry.org:10003 [2023-09-20T12:44:39.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:44:39.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:44:39.517Z] Configure a credential helper to remove this warning. See [2023-09-20T12:44:39.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:44:39.517Z] [2023-09-20T12:44:39.517Z] Login Succeeded [2023-09-20T12:44:39.517Z] nexus3.edgexfoundry.org:10004 [2023-09-20T12:44:39.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:44:39.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:44:39.517Z] Configure a credential helper to remove this warning. See [2023-09-20T12:44:39.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:44:39.517Z] [2023-09-20T12:44:39.517Z] Login Succeeded [2023-09-20T12:44:39.517Z] docker.io [2023-09-20T12:44:39.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:44:39.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:44:39.777Z] Configure a credential helper to remove this warning. See [2023-09-20T12:44:39.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:44:39.777Z] [2023-09-20T12:44:39.777Z] Login Succeeded [2023-09-20T12:44:39.777Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T12:44:39.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T12:44:39.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T12:44:39.828Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-09-20T12:44:39.828Z] 9fa1e29ef86971f53d10bc46f825e51861cc077b [2023-09-20T12:44:39.828Z] latest [2023-09-20T12:44:39.828Z] 3.1.0-dev.15 [2023-09-20T12:44:39.828Z] 9fa1e29ef86971f53d10bc46f825e51861cc077b-3.1.0-dev.15 [2023-09-20T12:44:39.828Z] main [2023-09-20T12:44:39.828Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:44:40.160Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9fa1e29ef86971f53d10bc46f825e51861cc077b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:44:40.473Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:9fa1e29ef86971f53d10bc46f825e51861cc077b [2023-09-20T12:44:40.473Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-20T12:44:40.473Z] 887854951c28: Preparing [2023-09-20T12:44:40.473Z] ec9b96d2a53c: Preparing [2023-09-20T12:44:40.473Z] 88fc295c8ba5: Preparing [2023-09-20T12:44:40.473Z] 82b0ee91f96b: Preparing [2023-09-20T12:44:40.473Z] 4693057ce236: Preparing [2023-09-20T12:44:40.473Z] 4693057ce236: Layer already exists [2023-09-20T12:44:40.473Z] 82b0ee91f96b: Pushed [2023-09-20T12:44:40.473Z] 88fc295c8ba5: Pushed [2023-09-20T12:44:40.473Z] ec9b96d2a53c: Pushed [2023-09-20T12:44:43.765Z] 887854951c28: Pushed [2023-09-20T12:44:43.765Z] 9fa1e29ef86971f53d10bc46f825e51861cc077b: digest: sha256:45f3e88c092ca4cd1231a7ffae083c01f01a8417fab5e357af19ba8dce5c65a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:44:44.081Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:44:44.400Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-20T12:44:44.400Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-20T12:44:44.400Z] 887854951c28: Preparing [2023-09-20T12:44:44.400Z] ec9b96d2a53c: Preparing [2023-09-20T12:44:44.400Z] 88fc295c8ba5: Preparing [2023-09-20T12:44:44.400Z] 82b0ee91f96b: Preparing [2023-09-20T12:44:44.400Z] 4693057ce236: Preparing [2023-09-20T12:44:44.400Z] 82b0ee91f96b: Layer already exists [2023-09-20T12:44:44.400Z] 4693057ce236: Layer already exists [2023-09-20T12:44:44.400Z] 88fc295c8ba5: Layer already exists [2023-09-20T12:44:44.400Z] 887854951c28: Layer already exists [2023-09-20T12:44:44.400Z] ec9b96d2a53c: Layer already exists [2023-09-20T12:44:44.400Z] latest: digest: sha256:45f3e88c092ca4cd1231a7ffae083c01f01a8417fab5e357af19ba8dce5c65a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:44:44.716Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:44:45.024Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.15 [2023-09-20T12:44:45.025Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-20T12:44:45.025Z] 887854951c28: Preparing [2023-09-20T12:44:45.025Z] ec9b96d2a53c: Preparing [2023-09-20T12:44:45.025Z] 88fc295c8ba5: Preparing [2023-09-20T12:44:45.025Z] 82b0ee91f96b: Preparing [2023-09-20T12:44:45.025Z] 4693057ce236: Preparing [2023-09-20T12:44:45.025Z] 82b0ee91f96b: Layer already exists [2023-09-20T12:44:45.025Z] 4693057ce236: Layer already exists [2023-09-20T12:44:45.025Z] 88fc295c8ba5: Layer already exists [2023-09-20T12:44:45.025Z] 887854951c28: Layer already exists [2023-09-20T12:44:45.025Z] ec9b96d2a53c: Layer already exists [2023-09-20T12:44:45.025Z] 3.1.0-dev.15: digest: sha256:45f3e88c092ca4cd1231a7ffae083c01f01a8417fab5e357af19ba8dce5c65a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:44:45.344Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9fa1e29ef86971f53d10bc46f825e51861cc077b-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:44:45.659Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:9fa1e29ef86971f53d10bc46f825e51861cc077b-3.1.0-dev.15 [2023-09-20T12:44:45.659Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-20T12:44:45.659Z] 887854951c28: Preparing [2023-09-20T12:44:45.659Z] ec9b96d2a53c: Preparing [2023-09-20T12:44:45.659Z] 88fc295c8ba5: Preparing [2023-09-20T12:44:45.659Z] 82b0ee91f96b: Preparing [2023-09-20T12:44:45.659Z] 4693057ce236: Preparing [2023-09-20T12:44:45.659Z] ec9b96d2a53c: Layer already exists [2023-09-20T12:44:45.659Z] 82b0ee91f96b: Layer already exists [2023-09-20T12:44:45.659Z] 88fc295c8ba5: Layer already exists [2023-09-20T12:44:45.659Z] 4693057ce236: Layer already exists [2023-09-20T12:44:45.659Z] 887854951c28: Layer already exists [2023-09-20T12:44:45.659Z] 9fa1e29ef86971f53d10bc46f825e51861cc077b-3.1.0-dev.15: digest: sha256:45f3e88c092ca4cd1231a7ffae083c01f01a8417fab5e357af19ba8dce5c65a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:44:45.985Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:44:46.301Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-09-20T12:44:46.301Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-20T12:44:46.301Z] 887854951c28: Preparing [2023-09-20T12:44:46.301Z] ec9b96d2a53c: Preparing [2023-09-20T12:44:46.301Z] 88fc295c8ba5: Preparing [2023-09-20T12:44:46.301Z] 82b0ee91f96b: Preparing [2023-09-20T12:44:46.301Z] 4693057ce236: Preparing [2023-09-20T12:44:46.301Z] 887854951c28: Layer already exists [2023-09-20T12:44:46.301Z] 88fc295c8ba5: Layer already exists [2023-09-20T12:44:46.301Z] 4693057ce236: Layer already exists [2023-09-20T12:44:46.301Z] 82b0ee91f96b: Layer already exists [2023-09-20T12:44:46.301Z] ec9b96d2a53c: Layer already exists [2023-09-20T12:44:46.301Z] main: digest: sha256:45f3e88c092ca4cd1231a7ffae083c01f01a8417fab5e357af19ba8dce5c65a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T12:44:46.360Z] ===================================================== [Pipeline] echo [2023-09-20T12:44:46.372Z] taggedImages: [2023-09-20T12:44:46.372Z] - nexus3.edgexfoundry.org:10004/device-virtual:9fa1e29ef86971f53d10bc46f825e51861cc077b [2023-09-20T12:44:46.372Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-20T12:44:46.372Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.15 [2023-09-20T12:44:46.372Z] - nexus3.edgexfoundry.org:10004/device-virtual:9fa1e29ef86971f53d10bc46f825e51861cc077b-3.1.0-dev.15 [2023-09-20T12:44:46.372Z] - 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-20T12:44:46.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T12:44:46.770Z] [2023-09-20T12:44:46.770Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:44:47.080Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T12:44:47.080Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T12:44:47.080Z] 5eb5b503b376: Pulling fs layer [2023-09-20T12:44:47.080Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T12:44:47.080Z] ec43610c2a17: Pulling fs layer [2023-09-20T12:44:47.080Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T12:44:47.080Z] 33b1e0a273af: Pulling fs layer [2023-09-20T12:44:47.080Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T12:44:47.080Z] 2f39f015ded8: Pulling fs layer [2023-09-20T12:44:47.080Z] 33b1e0a273af: Waiting [2023-09-20T12:44:47.080Z] 5d3b04190fa2: Waiting [2023-09-20T12:44:47.080Z] 2f39f015ded8: Waiting [2023-09-20T12:44:47.080Z] 3a2ae6a8a46f: Waiting [2023-09-20T12:44:47.080Z] 5c69ac0246d0: Download complete [2023-09-20T12:44:47.080Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T12:44:47.080Z] 3a2ae6a8a46f: Download complete [2023-09-20T12:44:47.080Z] 33b1e0a273af: Verifying Checksum [2023-09-20T12:44:47.080Z] 33b1e0a273af: Download complete [2023-09-20T12:44:47.080Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T12:44:47.080Z] 5d3b04190fa2: Download complete [2023-09-20T12:44:47.080Z] ec43610c2a17: Verifying Checksum [2023-09-20T12:44:47.080Z] ec43610c2a17: Download complete [2023-09-20T12:44:47.338Z] 5eb5b503b376: Verifying Checksum [2023-09-20T12:44:47.338Z] 5eb5b503b376: Download complete [2023-09-20T12:44:47.905Z] 2f39f015ded8: Verifying Checksum [2023-09-20T12:44:47.905Z] 2f39f015ded8: Download complete [2023-09-20T12:44:48.471Z] 5eb5b503b376: Pull complete [2023-09-20T12:44:48.471Z] 5c69ac0246d0: Pull complete [2023-09-20T12:44:48.730Z] ec43610c2a17: Pull complete [2023-09-20T12:44:48.989Z] 3a2ae6a8a46f: Pull complete [2023-09-20T12:44:49.248Z] 33b1e0a273af: Pull complete [2023-09-20T12:44:49.248Z] 5d3b04190fa2: Pull complete [2023-09-20T12:44:53.446Z] 2f39f015ded8: Pull complete [2023-09-20T12:44:53.446Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T12:44:53.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T12:44:53.446Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:44:53.537Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-09-20T12:44:53.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T12:44:55.916Z] $ docker top cf5540a66776ac5bde09d98a518e79d466dd425f5a5ba1d7588741a44dc6a522 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:44:56.308Z] ---> job-cost.sh [2023-09-20T12:44:56.308Z] lf-activate-venv: SKIPPING [2023-09-20T12:44:56.308Z] INFO: No Stack... [2023-09-20T12:44:58.252Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T12:45:00.227Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T12:45:00.519Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-09-20T12:45:00.519Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T12:45:00.533Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-141-stack-cost] [2023-09-20T12:45:00.539Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-141-stack-cost] did not exist. Created. [2023-09-20T12:45:00.539Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-141-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T12:45:00.844Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T12:45:00.870Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T12:45:00.879Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-141-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T12:45:00.906Z] $ docker stop --time=1 cf5540a66776ac5bde09d98a518e79d466dd425f5a5ba1d7588741a44dc6a522 [2023-09-20T12:45:02.053Z] $ docker rm -f --volumes cf5540a66776ac5bde09d98a518e79d466dd425f5a5ba1d7588741a44dc6a522 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T12:45:31.286Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6708 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-09-20T12:45:31.304Z] Running in /w/workspace/device-virtual-go/141 [Pipeline] { [Pipeline] checkout [2023-09-20T12:45:31.332Z] The recommended git tool is: git [2023-09-20T12:45:36.337Z] using credential edgex-jenkins-ssh [2023-09-20T12:45:36.355Z] Cloning the remote Git repository [2023-09-20T12:45:36.396Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-09-20T12:45:36.479Z] > git init /w/workspace/device-virtual-go/141 # timeout=10 [2023-09-20T12:45:36.611Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-20T12:45:36.613Z] > git --version # timeout=10 [2023-09-20T12:45:36.633Z] > git --version # 'git version 2.25.1' [2023-09-20T12:45:36.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T12:45:36.780Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T12:45:39.558Z] Avoid second fetch [2023-09-20T12:45:39.558Z] Checking out Revision 9fa1e29ef86971f53d10bc46f825e51861cc077b (main) [2023-09-20T12:45:38.724Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-20T12:45:38.751Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T12:45:39.576Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T12:45:39.640Z] > git checkout -f 9fa1e29ef86971f53d10bc46f825e51861cc077b # timeout=10 [2023-09-20T12:45:40.109Z] Commit message: "Merge pull request #430 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.28" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T12:45:40.961Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T12:45:40.962Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T12:45:40.962Z] Dload Upload Total Spent Left Speed [2023-09-20T12:45:40.962Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 259k 0 --:--:-- --:--:-- --:--:-- 259k [Pipeline] sh [2023-09-20T12:45:41.597Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T12:45:41.927Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T12:45:41.927Z] + sudo tee /etc/docker/daemon.new [2023-09-20T12:45:41.927Z] { [2023-09-20T12:45:41.927Z] "registry-mirrors": [ [2023-09-20T12:45:41.927Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T12:45:41.927Z] ], [2023-09-20T12:45:41.927Z] "bip": "10.250.0.254/24", [2023-09-20T12:45:41.927Z] "hosts": [ [2023-09-20T12:45:41.927Z] "tcp://0.0.0.0:5555", [2023-09-20T12:45:41.927Z] "unix:///var/run/docker.sock" [2023-09-20T12:45:41.927Z] ], [2023-09-20T12:45:41.927Z] "mtu": 1458, [2023-09-20T12:45:41.927Z] "selinux-enabled": true, [2023-09-20T12:45:41.927Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T12:45:41.927Z] } [Pipeline] sh [2023-09-20T12:45:42.251Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T12:45:42.587Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T12:46:00.860Z] provisioning config files... [2023-09-20T12:46:00.890Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/141@tmp/config12735519864409377419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:46:01.248Z] ---> docker-login.sh [2023-09-20T12:46:01.249Z] nexus3.edgexfoundry.org:10001 [2023-09-20T12:46:01.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:46:01.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:46:01.845Z] Configure a credential helper to remove this warning. See [2023-09-20T12:46:01.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:46:01.845Z] [2023-09-20T12:46:01.845Z] Login Succeeded [2023-09-20T12:46:01.845Z] nexus3.edgexfoundry.org:10002 [2023-09-20T12:46:02.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:46:02.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:46:02.116Z] Configure a credential helper to remove this warning. See [2023-09-20T12:46:02.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:46:02.116Z] [2023-09-20T12:46:02.116Z] Login Succeeded [2023-09-20T12:46:02.116Z] nexus3.edgexfoundry.org:10003 [2023-09-20T12:46:02.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:46:02.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:46:02.670Z] Configure a credential helper to remove this warning. See [2023-09-20T12:46:02.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:46:02.670Z] [2023-09-20T12:46:02.670Z] Login Succeeded [2023-09-20T12:46:02.670Z] nexus3.edgexfoundry.org:10004 [2023-09-20T12:46:02.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:46:02.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:46:02.939Z] Configure a credential helper to remove this warning. See [2023-09-20T12:46:02.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:46:02.939Z] [2023-09-20T12:46:02.939Z] Login Succeeded [2023-09-20T12:46:02.939Z] docker.io [2023-09-20T12:46:03.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:46:03.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:46:03.478Z] Configure a credential helper to remove this warning. See [2023-09-20T12:46:03.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:46:03.478Z] [2023-09-20T12:46:03.478Z] Login Succeeded [2023-09-20T12:46:03.478Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T12:46:03.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T12:46:03.776Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T12:46:03.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T12:46:03.798Z] ========================================================= [2023-09-20T12:46:03.798Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T12:46:03.798Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:46:04.142Z] + 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-20T12:46:04.413Z] Sending build context to Docker daemon 11.94MB [2023-09-20T12:46:04.413Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T12:46:04.413Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T12:46:04.687Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T12:46:04.687Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T12:46:04.687Z] 5d54e960e981: Pulling fs layer [2023-09-20T12:46:04.687Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T12:46:04.687Z] f0e02332f6b5: Pulling fs layer [2023-09-20T12:46:04.687Z] 66412af1f25a: Pulling fs layer [2023-09-20T12:46:04.687Z] 1baf3a5c0e64: Pulling fs layer [2023-09-20T12:46:04.687Z] 9a37bb91b891: Pulling fs layer [2023-09-20T12:46:04.687Z] a29adfc67d43: Pulling fs layer [2023-09-20T12:46:04.687Z] d5de9f91c1a4: Pulling fs layer [2023-09-20T12:46:04.687Z] 1baf3a5c0e64: Waiting [2023-09-20T12:46:04.687Z] 9a37bb91b891: Waiting [2023-09-20T12:46:04.687Z] a29adfc67d43: Waiting [2023-09-20T12:46:04.687Z] f0e02332f6b5: Waiting [2023-09-20T12:46:04.687Z] d5de9f91c1a4: Waiting [2023-09-20T12:46:04.687Z] 5d54e960e981: Verifying Checksum [2023-09-20T12:46:04.687Z] 5d54e960e981: Download complete [2023-09-20T12:46:04.687Z] f0e02332f6b5: Verifying Checksum [2023-09-20T12:46:04.687Z] f0e02332f6b5: Download complete [2023-09-20T12:46:04.687Z] 66412af1f25a: Download complete [2023-09-20T12:46:04.687Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T12:46:04.687Z] 9fda8d8052c6: Download complete [2023-09-20T12:46:05.285Z] 9a37bb91b891: Verifying Checksum [2023-09-20T12:46:05.285Z] 9a37bb91b891: Download complete [2023-09-20T12:46:05.890Z] a29adfc67d43: Verifying Checksum [2023-09-20T12:46:05.890Z] a29adfc67d43: Download complete [2023-09-20T12:46:05.890Z] 9fda8d8052c6: Pull complete [2023-09-20T12:46:06.493Z] d5de9f91c1a4: Verifying Checksum [2023-09-20T12:46:06.493Z] d5de9f91c1a4: Download complete [2023-09-20T12:46:06.766Z] 5d54e960e981: Pull complete [2023-09-20T12:46:06.766Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T12:46:06.766Z] c4a7e357bf2a: Download complete [2023-09-20T12:46:07.737Z] 1baf3a5c0e64: Verifying Checksum [2023-09-20T12:46:07.737Z] 1baf3a5c0e64: Download complete [2023-09-20T12:46:17.843Z] c4a7e357bf2a: Pull complete [2023-09-20T12:46:17.843Z] f0e02332f6b5: Pull complete [2023-09-20T12:46:18.113Z] 66412af1f25a: Pull complete [2023-09-20T12:46:24.778Z] 1baf3a5c0e64: Pull complete [2023-09-20T12:46:27.430Z] 9a37bb91b891: Pull complete [2023-09-20T12:46:28.881Z] a29adfc67d43: Pull complete [2023-09-20T12:46:30.307Z] d5de9f91c1a4: Pull complete [2023-09-20T12:46:30.307Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-20T12:46:30.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T12:46:30.307Z] ---> 746ca1b523b5 [2023-09-20T12:46:30.307Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T12:46:32.261Z] ---> Running in 611fb6ba5c27 [2023-09-20T12:46:32.529Z] Removing intermediate container 611fb6ba5c27 [2023-09-20T12:46:32.529Z] ---> 6910546a4963 [2023-09-20T12:46:32.529Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T12:46:32.529Z] ---> Running in d96ea869c943 [2023-09-20T12:46:32.801Z] Removing intermediate container d96ea869c943 [2023-09-20T12:46:32.801Z] ---> 078f5bd4022e [2023-09-20T12:46:32.801Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T12:46:33.069Z] ---> Running in b994e3b3a037 [2023-09-20T12:46:33.342Z] Removing intermediate container b994e3b3a037 [2023-09-20T12:46:33.342Z] ---> 98ef18eab524 [2023-09-20T12:46:33.342Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-20T12:46:33.342Z] ---> Running in 6b14ee764f05 [2023-09-20T12:46:33.614Z] Removing intermediate container 6b14ee764f05 [2023-09-20T12:46:33.614Z] ---> cc7a38ad52d1 [2023-09-20T12:46:33.614Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T12:46:33.882Z] ---> Running in c4319578c1e0 [2023-09-20T12:46:34.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T12:46:35.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T12:46:36.390Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T12:46:36.390Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T12:46:36.390Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T12:46:36.390Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T12:46:36.390Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T12:46:36.657Z] OK: 272 MiB in 60 packages [2023-09-20T12:46:37.620Z] Removing intermediate container c4319578c1e0 [2023-09-20T12:46:37.620Z] ---> f0a7225f22d6 [2023-09-20T12:46:37.620Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-20T12:46:38.205Z] ---> 467fc06bb602 [2023-09-20T12:46:38.205Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T12:46:38.205Z] ---> Running in e8c9181fb473 [2023-09-20T12:47:46.210Z] Removing intermediate container e8c9181fb473 [2023-09-20T12:47:46.210Z] ---> 3e4dcddfaf43 [2023-09-20T12:47:46.210Z] Step 10/12 : COPY . . [2023-09-20T12:47:46.210Z] ---> d181f8abf02d [2023-09-20T12:47:46.210Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T12:47:46.210Z] ---> Running in 513c9eec2b09 [2023-09-20T12:47:46.210Z] Removing intermediate container 513c9eec2b09 [2023-09-20T12:47:46.210Z] ---> c47bbd8e881f [2023-09-20T12:47:46.210Z] Step 12/12 : RUN $MAKE [2023-09-20T12:47:46.210Z] ---> Running in 780955eda71e [2023-09-20T12:47:46.210Z] noop [2023-09-20T12:47:46.210Z] Removing intermediate container 780955eda71e [2023-09-20T12:47:46.210Z] ---> 6813ca45f4d3 [2023-09-20T12:47:46.210Z] Successfully built 6813ca45f4d3 [2023-09-20T12:47:46.210Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:47:46.552Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T12:47:46.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:47:46.763Z] prd-ubuntu20.04-docker-arm64-4c-16g-6708 does not seem to be running inside a container [2023-09-20T12:47:46.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/141 -v /w/workspace/device-virtual-go/141:/w/workspace/device-virtual-go/141:rw,z -v /w/workspace/device-virtual-go/141@tmp:/w/workspace/device-virtual-go/141@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-20T12:47:48.254Z] $ docker top 2c12da7ee555adaf6b826b1d8ba6c412ab1e1d5dfe57b3263e0ddb65baa1ebb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T12:47:49.076Z] + go version [2023-09-20T12:47:49.076Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T12:47:49.098Z] $ docker stop --time=1 2c12da7ee555adaf6b826b1d8ba6c412ab1e1d5dfe57b3263e0ddb65baa1ebb0 [2023-09-20T12:47:50.732Z] $ docker rm -f --volumes 2c12da7ee555adaf6b826b1d8ba6c412ab1e1d5dfe57b3263e0ddb65baa1ebb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:47:51.253Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T12:47:51.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:47:51.420Z] prd-ubuntu20.04-docker-arm64-4c-16g-6708 does not seem to be running inside a container [2023-09-20T12:47:51.492Z] $ 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/141 -v /w/workspace/device-virtual-go/141:/w/workspace/device-virtual-go/141:rw,z -v /w/workspace/device-virtual-go/141@tmp:/w/workspace/device-virtual-go/141@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-20T12:47:52.592Z] $ docker top 0501a31107757cd9370e6037ceec7a134391bf7b3158f54dbb723f8dc05ad77a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T12:47:53.087Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/141 [Pipeline] fileExists [Pipeline] sh [2023-09-20T12:47:53.418Z] + make test [2023-09-20T12:47:53.418Z] go test ./... -coverprofile=coverage.out [2023-09-20T12:47:57.672Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-20T12:49:34.332Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-20T12:49:34.332Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.069s coverage: 58.4% of statements [2023-09-20T12:49:34.332Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T12:49:34.332Z] go vet ./... [2023-09-20T12:49:52.548Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T12:49:52.548Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T12:49:52.548Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T12:49:52.567Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T12:49:52.588Z] $ docker stop --time=1 0501a31107757cd9370e6037ceec7a134391bf7b3158f54dbb723f8dc05ad77a [2023-09-20T12:49:54.544Z] $ docker rm -f --volumes 0501a31107757cd9370e6037ceec7a134391bf7b3158f54dbb723f8dc05ad77a [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T12:49:55.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T12:49:55.773Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T12:49:56.441Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T12:49:56.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T12:49:57.230Z] + ls -al . [2023-09-20T12:49:57.230Z] total 200 [2023-09-20T12:49:57.230Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 12:47 . [2023-09-20T12:49:57.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:45 .. [2023-09-20T12:49:57.230Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 12:45 .git [2023-09-20T12:49:57.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 12:45 .github [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 20 12:45 .gitignore [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 12:45 .golangci.yml [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 20 12:45 Attribution.txt [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 20 12:45 CHANGELOG.md [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 20 12:45 Dockerfile [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 12:45 GOVERNANCE.md [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 20 12:45 Jenkinsfile [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 12:45 LICENSE [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 20 12:45 Makefile [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 20 12:45 OWNERS.md [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 20 12:45 README.md [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 12:43 VERSION [2023-09-20T12:49:57.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 12:45 bin [2023-09-20T12:49:57.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 12:45 cmd [2023-09-20T12:49:57.230Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 20 12:49 coverage.out [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 20 12:45 go.mod [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 20 12:45 go.sum [2023-09-20T12:49:57.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 12:45 internal [2023-09-20T12:49:57.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:45 snap [2023-09-20T12:49:57.230Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 20 12:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:49:57.596Z] + 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=9fa1e29ef86971f53d10bc46f825e51861cc077b --label arch=arm64 --label version=3.1.0-dev.15 . [2023-09-20T12:49:58.185Z] Sending build context to Docker daemon 11.98MB [2023-09-20T12:49:58.185Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T12:49:58.185Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T12:49:58.185Z] ---> 6813ca45f4d3 [2023-09-20T12:49:58.185Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T12:49:58.185Z] ---> Running in 519103dd72a6 [2023-09-20T12:49:58.454Z] Removing intermediate container 519103dd72a6 [2023-09-20T12:49:58.454Z] ---> 1b8339241428 [2023-09-20T12:49:58.454Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T12:49:58.454Z] ---> Running in ddee38ed5ac2 [2023-09-20T12:49:58.724Z] Removing intermediate container ddee38ed5ac2 [2023-09-20T12:49:58.724Z] ---> 15e565c8bf5b [2023-09-20T12:49:58.724Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T12:49:58.989Z] ---> Running in 55bdbe97e525 [2023-09-20T12:49:59.258Z] Removing intermediate container 55bdbe97e525 [2023-09-20T12:49:59.258Z] ---> a9c1c867138e [2023-09-20T12:49:59.258Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-20T12:49:59.258Z] ---> Running in 832374a2c5ce [2023-09-20T12:49:59.527Z] Removing intermediate container 832374a2c5ce [2023-09-20T12:49:59.527Z] ---> 55b1793d3355 [2023-09-20T12:49:59.527Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T12:49:59.794Z] ---> Running in 44da65cbf046 [2023-09-20T12:50:00.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T12:50:01.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T12:50:02.429Z] OK: 272 MiB in 60 packages [2023-09-20T12:50:03.842Z] Removing intermediate container 44da65cbf046 [2023-09-20T12:50:03.842Z] ---> 12b20d9fcbb7 [2023-09-20T12:50:03.842Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-20T12:50:04.110Z] ---> 7235775975a7 [2023-09-20T12:50:04.110Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T12:50:04.110Z] ---> Running in 95569c557283 [2023-09-20T12:50:07.466Z] Removing intermediate container 95569c557283 [2023-09-20T12:50:07.466Z] ---> 599934b59f71 [2023-09-20T12:50:07.466Z] Step 10/25 : COPY . . [2023-09-20T12:50:08.431Z] ---> f43e2fa2aac5 [2023-09-20T12:50:08.431Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T12:50:08.431Z] ---> Running in cb530ad6e53e [2023-09-20T12:50:09.029Z] Removing intermediate container cb530ad6e53e [2023-09-20T12:50:09.029Z] ---> 4434e3b3ed37 [2023-09-20T12:50:09.029Z] Step 12/25 : RUN $MAKE [2023-09-20T12:50:09.029Z] ---> Running in 04d187ceebf2 [2023-09-20T12:50:10.453Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-20T12:52:17.520Z] Removing intermediate container 04d187ceebf2 [2023-09-20T12:52:17.520Z] ---> 50aa43837226 [2023-09-20T12:52:17.520Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T12:52:17.520Z] 3.18: Pulling from library/alpine [2023-09-20T12:52:17.520Z] 9fda8d8052c6: Already exists [2023-09-20T12:52:17.520Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T12:52:17.520Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T12:52:17.520Z] ---> f6648c04cd6c [2023-09-20T12:52:17.520Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-20T12:52:17.520Z] ---> Running in a72cab344ae0 [2023-09-20T12:52:17.520Z] Removing intermediate container a72cab344ae0 [2023-09-20T12:52:17.520Z] ---> 913825256b2c [2023-09-20T12:52:17.520Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T12:52:17.520Z] ---> Running in 46f5a0978a0a [2023-09-20T12:52:17.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T12:52:17.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T12:52:17.520Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T12:52:17.520Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T12:52:17.520Z] OK: 8 MiB in 16 packages [2023-09-20T12:52:17.520Z] Removing intermediate container 46f5a0978a0a [2023-09-20T12:52:17.520Z] ---> 4e02a5ac91bc [2023-09-20T12:52:17.520Z] Step 16/25 : WORKDIR / [2023-09-20T12:52:17.520Z] ---> Running in 2df2364b1fc2 [2023-09-20T12:52:17.520Z] Removing intermediate container 2df2364b1fc2 [2023-09-20T12:52:17.520Z] ---> b2c001703bd6 [2023-09-20T12:52:17.520Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-20T12:52:17.520Z] ---> 25df6b608bdd [2023-09-20T12:52:17.520Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-20T12:52:17.520Z] ---> 7c26f0fbbf1a [2023-09-20T12:52:17.520Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-20T12:52:17.791Z] ---> 0dcf1a8ce6bf [2023-09-20T12:52:17.792Z] Step 20/25 : EXPOSE 59900 [2023-09-20T12:52:17.792Z] ---> Running in 48c0e3121a82 [2023-09-20T12:52:18.070Z] Removing intermediate container 48c0e3121a82 [2023-09-20T12:52:18.070Z] ---> a080cf454869 [2023-09-20T12:52:18.070Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-20T12:52:18.070Z] ---> Running in b6609056f750 [2023-09-20T12:52:18.337Z] Removing intermediate container b6609056f750 [2023-09-20T12:52:18.337Z] ---> 0dbacc5f2005 [2023-09-20T12:52:18.337Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T12:52:18.337Z] ---> Running in 7b65004b72ca [2023-09-20T12:52:18.605Z] Removing intermediate container 7b65004b72ca [2023-09-20T12:52:18.605Z] ---> 15ca9f8622ca [2023-09-20T12:52:18.605Z] Step 23/25 : LABEL arch=arm64 [2023-09-20T12:52:18.872Z] ---> Running in cb3b12f22dd8 [2023-09-20T12:52:19.139Z] Removing intermediate container cb3b12f22dd8 [2023-09-20T12:52:19.139Z] ---> 0ef617754fe5 [2023-09-20T12:52:19.139Z] Step 24/25 : LABEL git_sha=9fa1e29ef86971f53d10bc46f825e51861cc077b [2023-09-20T12:52:19.139Z] ---> Running in 8ce703500f8d [2023-09-20T12:52:19.404Z] Removing intermediate container 8ce703500f8d [2023-09-20T12:52:19.404Z] ---> 925815fed76b [2023-09-20T12:52:19.404Z] Step 25/25 : LABEL version=3.1.0-dev.15 [2023-09-20T12:52:19.404Z] ---> Running in 6254fcced1e6 [2023-09-20T12:52:19.670Z] Removing intermediate container 6254fcced1e6 [2023-09-20T12:52:19.670Z] ---> 95a89e6dea2a [2023-09-20T12:52:19.670Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T12:52:19.670Z] Successfully built 95a89e6dea2a [2023-09-20T12:52:19.670Z] 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-20T12:52:19.790Z] provisioning config files... [2023-09-20T12:52:19.803Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/141@tmp/config17925936202496009437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:52:20.132Z] ---> docker-login.sh [2023-09-20T12:52:20.132Z] nexus3.edgexfoundry.org:10001 [2023-09-20T12:52:20.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:52:20.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:52:20.399Z] Configure a credential helper to remove this warning. See [2023-09-20T12:52:20.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:52:20.399Z] [2023-09-20T12:52:20.399Z] Login Succeeded [2023-09-20T12:52:20.399Z] nexus3.edgexfoundry.org:10002 [2023-09-20T12:52:20.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:52:20.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:52:20.668Z] Configure a credential helper to remove this warning. See [2023-09-20T12:52:20.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:52:20.668Z] [2023-09-20T12:52:20.668Z] Login Succeeded [2023-09-20T12:52:20.668Z] nexus3.edgexfoundry.org:10003 [2023-09-20T12:52:20.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:52:20.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:52:20.935Z] Configure a credential helper to remove this warning. See [2023-09-20T12:52:20.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:52:20.935Z] [2023-09-20T12:52:20.935Z] Login Succeeded [2023-09-20T12:52:20.935Z] nexus3.edgexfoundry.org:10004 [2023-09-20T12:52:21.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:52:21.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:52:21.467Z] Configure a credential helper to remove this warning. See [2023-09-20T12:52:21.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:52:21.467Z] [2023-09-20T12:52:21.467Z] Login Succeeded [2023-09-20T12:52:21.467Z] docker.io [2023-09-20T12:52:21.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T12:52:21.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T12:52:21.995Z] Configure a credential helper to remove this warning. See [2023-09-20T12:52:21.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T12:52:21.995Z] [2023-09-20T12:52:21.995Z] Login Succeeded [2023-09-20T12:52:21.995Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T12:52:22.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T12:52:22.043Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T12:52:22.067Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-09-20T12:52:22.068Z] 9fa1e29ef86971f53d10bc46f825e51861cc077b [2023-09-20T12:52:22.068Z] latest [2023-09-20T12:52:22.068Z] 3.1.0-dev.15 [2023-09-20T12:52:22.068Z] 9fa1e29ef86971f53d10bc46f825e51861cc077b-3.1.0-dev.15 [2023-09-20T12:52:22.068Z] main [2023-09-20T12:52:22.068Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:52:22.410Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9fa1e29ef86971f53d10bc46f825e51861cc077b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:52:22.747Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9fa1e29ef86971f53d10bc46f825e51861cc077b [2023-09-20T12:52:22.747Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-20T12:52:22.747Z] 6e1ac36a540e: Preparing [2023-09-20T12:52:22.747Z] 166ac1045147: Preparing [2023-09-20T12:52:22.747Z] 425d52602600: Preparing [2023-09-20T12:52:22.747Z] 9d371fdd62fc: Preparing [2023-09-20T12:52:22.748Z] b2191e2be29d: Preparing [2023-09-20T12:52:22.748Z] b2191e2be29d: Layer already exists [2023-09-20T12:52:23.013Z] 425d52602600: Pushed [2023-09-20T12:52:23.013Z] 166ac1045147: Pushed [2023-09-20T12:52:23.013Z] 9d371fdd62fc: Pushed [2023-09-20T12:52:28.351Z] 6e1ac36a540e: Pushed [2023-09-20T12:52:28.616Z] 9fa1e29ef86971f53d10bc46f825e51861cc077b: digest: sha256:b3a864474ab3c4f86ac5c0f2962dee67e12799380b1cb0313ff2d9e06f2a6492 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:52:31.528Z] + 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-20T12:52:31.865Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-20T12:52:31.866Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-20T12:52:31.866Z] 6e1ac36a540e: Preparing [2023-09-20T12:52:31.866Z] 166ac1045147: Preparing [2023-09-20T12:52:31.866Z] 425d52602600: Preparing [2023-09-20T12:52:31.866Z] 9d371fdd62fc: Preparing [2023-09-20T12:52:31.866Z] b2191e2be29d: Preparing [2023-09-20T12:52:31.866Z] 9d371fdd62fc: Layer already exists [2023-09-20T12:52:31.866Z] b2191e2be29d: Layer already exists [2023-09-20T12:52:31.866Z] 166ac1045147: Layer already exists [2023-09-20T12:52:31.866Z] 6e1ac36a540e: Layer already exists [2023-09-20T12:52:31.866Z] 425d52602600: Layer already exists [2023-09-20T12:52:31.866Z] latest: digest: sha256:b3a864474ab3c4f86ac5c0f2962dee67e12799380b1cb0313ff2d9e06f2a6492 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:52:32.211Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:52:32.551Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.15 [2023-09-20T12:52:32.551Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-20T12:52:32.551Z] 6e1ac36a540e: Preparing [2023-09-20T12:52:32.551Z] 166ac1045147: Preparing [2023-09-20T12:52:32.551Z] 425d52602600: Preparing [2023-09-20T12:52:32.551Z] 9d371fdd62fc: Preparing [2023-09-20T12:52:32.551Z] b2191e2be29d: Preparing [2023-09-20T12:52:32.551Z] 166ac1045147: Layer already exists [2023-09-20T12:52:32.551Z] b2191e2be29d: Layer already exists [2023-09-20T12:52:32.551Z] 9d371fdd62fc: Layer already exists [2023-09-20T12:52:32.551Z] 6e1ac36a540e: Layer already exists [2023-09-20T12:52:32.551Z] 425d52602600: Layer already exists [2023-09-20T12:52:32.551Z] 3.1.0-dev.15: digest: sha256:b3a864474ab3c4f86ac5c0f2962dee67e12799380b1cb0313ff2d9e06f2a6492 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:52:32.944Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9fa1e29ef86971f53d10bc46f825e51861cc077b-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:52:33.309Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9fa1e29ef86971f53d10bc46f825e51861cc077b-3.1.0-dev.15 [2023-09-20T12:52:33.309Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-20T12:52:33.309Z] 6e1ac36a540e: Preparing [2023-09-20T12:52:33.309Z] 166ac1045147: Preparing [2023-09-20T12:52:33.309Z] 425d52602600: Preparing [2023-09-20T12:52:33.309Z] 9d371fdd62fc: Preparing [2023-09-20T12:52:33.309Z] b2191e2be29d: Preparing [2023-09-20T12:52:33.309Z] 166ac1045147: Layer already exists [2023-09-20T12:52:33.309Z] 6e1ac36a540e: Layer already exists [2023-09-20T12:52:33.309Z] b2191e2be29d: Layer already exists [2023-09-20T12:52:33.309Z] 425d52602600: Layer already exists [2023-09-20T12:52:33.309Z] 9d371fdd62fc: Layer already exists [2023-09-20T12:52:33.309Z] 9fa1e29ef86971f53d10bc46f825e51861cc077b-3.1.0-dev.15: digest: sha256:b3a864474ab3c4f86ac5c0f2962dee67e12799380b1cb0313ff2d9e06f2a6492 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:52:33.685Z] + 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-20T12:52:34.040Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-09-20T12:52:34.040Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-20T12:52:34.040Z] 6e1ac36a540e: Preparing [2023-09-20T12:52:34.040Z] 166ac1045147: Preparing [2023-09-20T12:52:34.040Z] 425d52602600: Preparing [2023-09-20T12:52:34.040Z] 9d371fdd62fc: Preparing [2023-09-20T12:52:34.040Z] b2191e2be29d: Preparing [2023-09-20T12:52:34.040Z] 9d371fdd62fc: Layer already exists [2023-09-20T12:52:34.040Z] 166ac1045147: Layer already exists [2023-09-20T12:52:34.040Z] 425d52602600: Layer already exists [2023-09-20T12:52:34.040Z] b2191e2be29d: Layer already exists [2023-09-20T12:52:34.040Z] 6e1ac36a540e: Layer already exists [2023-09-20T12:52:34.308Z] main: digest: sha256:b3a864474ab3c4f86ac5c0f2962dee67e12799380b1cb0313ff2d9e06f2a6492 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T12:52:34.370Z] ===================================================== [Pipeline] echo [2023-09-20T12:52:34.379Z] taggedImages: [2023-09-20T12:52:34.379Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9fa1e29ef86971f53d10bc46f825e51861cc077b [2023-09-20T12:52:34.379Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-20T12:52:34.379Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.15 [2023-09-20T12:52:34.379Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9fa1e29ef86971f53d10bc46f825e51861cc077b-3.1.0-dev.15 [2023-09-20T12:52:34.379Z] - 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-20T12:52:34.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T12:52:34.745Z] [2023-09-20T12:52:34.745Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:52:35.085Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T12:52:35.086Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T12:52:35.086Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T12:52:35.086Z] 04944245beec: Pulling fs layer [2023-09-20T12:52:35.086Z] 699f458cf7ca: Pulling fs layer [2023-09-20T12:52:35.086Z] 765212b225bb: Pulling fs layer [2023-09-20T12:52:35.086Z] f23df028b6ca: Pulling fs layer [2023-09-20T12:52:35.086Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T12:52:35.086Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T12:52:35.086Z] 765212b225bb: Waiting [2023-09-20T12:52:35.086Z] f23df028b6ca: Waiting [2023-09-20T12:52:35.086Z] d65c8cfc05b1: Waiting [2023-09-20T12:52:35.086Z] 2437ff75d9bd: Waiting [2023-09-20T12:52:35.374Z] 04944245beec: Verifying Checksum [2023-09-20T12:52:35.374Z] 04944245beec: Download complete [2023-09-20T12:52:35.374Z] 765212b225bb: Download complete [2023-09-20T12:52:35.374Z] f23df028b6ca: Download complete [2023-09-20T12:52:35.374Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T12:52:35.374Z] d65c8cfc05b1: Download complete [2023-09-20T12:52:35.374Z] 699f458cf7ca: Verifying Checksum [2023-09-20T12:52:35.374Z] 699f458cf7ca: Download complete [2023-09-20T12:52:35.971Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T12:52:35.971Z] 8998bd30e6a1: Download complete [2023-09-20T12:52:38.555Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T12:52:38.555Z] 2437ff75d9bd: Download complete [2023-09-20T12:52:39.960Z] 8998bd30e6a1: Pull complete [2023-09-20T12:52:40.226Z] 04944245beec: Pull complete [2023-09-20T12:52:45.560Z] 699f458cf7ca: Pull complete [2023-09-20T12:52:45.560Z] 765212b225bb: Pull complete [2023-09-20T12:52:45.828Z] f23df028b6ca: Pull complete [2023-09-20T12:52:46.096Z] d65c8cfc05b1: Pull complete [2023-09-20T12:53:00.054Z] 2437ff75d9bd: Pull complete [2023-09-20T12:53:00.054Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T12:53:00.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T12:53:00.054Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:53:00.239Z] prd-ubuntu20.04-docker-arm64-4c-16g-6708 does not seem to be running inside a container [2023-09-20T12:53:00.299Z] $ 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/141 -v /w/workspace/device-virtual-go/141:/w/workspace/device-virtual-go/141:rw,z -v /w/workspace/device-virtual-go/141@tmp:/w/workspace/device-virtual-go/141@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-20T12:53:02.810Z] $ docker top 150b8e84f09fb8b4d45ae63d569a9f83ad570e5e8c00ab16e6afda8ca7d96786 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:53:03.631Z] ---> job-cost.sh [2023-09-20T12:53:03.631Z] lf-activate-venv: SKIPPING [2023-09-20T12:53:03.631Z] INFO: No Stack... [2023-09-20T12:53:04.582Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T12:53:05.161Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T12:53:05.478Z] + cat /w/workspace/device-virtual-go/141/archives/cost.csv [2023-09-20T12:53:05.479Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T12:53:05.539Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-141-stack-cost] [2023-09-20T12:53:05.545Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-141-stack-cost] did not exist. Created. [2023-09-20T12:53:05.545Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-141-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T12:53:05.879Z] /w/workspace/device-virtual-go/141@tmp/durable-f32fa6ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T12:53:06.206Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T12:53:06.234Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T12:53:06.290Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T12:53:06.297Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-141-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T12:53:06.323Z] $ docker stop --time=1 150b8e84f09fb8b4d45ae63d569a9f83ad570e5e8c00ab16e6afda8ca7d96786 [2023-09-20T12:53:07.771Z] $ docker rm -f --volumes 150b8e84f09fb8b4d45ae63d569a9f83ad570e5e8c00ab16e6afda8ca7d96786 [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-20T12:53:08.135Z] provisioning config files... [2023-09-20T12:53:08.142Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17238102026523853637tmp [Pipeline] { [Pipeline] sh [2023-09-20T12:53:08.430Z] + set +x [2023-09-20T12:53:08.430Z] + curl -s https://codecov.io/bash [2023-09-20T12:53:08.430Z] + bash -s -- [2023-09-20T12:53:08.430Z] [2023-09-20T12:53:08.430Z] _____ _ [2023-09-20T12:53:08.430Z] / ____| | | [2023-09-20T12:53:08.430Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T12:53:08.430Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T12:53:08.430Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T12:53:08.430Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T12:53:08.430Z] Bash-1.0.6 [2023-09-20T12:53:08.430Z] [2023-09-20T12:53:08.430Z] [2023-09-20T12:53:08.430Z] ==> git version 2.25.1 found [2023-09-20T12:53:08.430Z] ==> 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-20T12:53:08.430Z] Release-Date: 2020-01-08 [2023-09-20T12:53:08.430Z] 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-20T12:53:08.430Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T12:53:08.430Z] ==> Jenkins CI detected. [2023-09-20T12:53:08.430Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-09-20T12:53:08.430Z] project root: . [2023-09-20T12:53:08.430Z] --> token set from env [2023-09-20T12:53:08.430Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T12:53:08.430Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T12:53:08.430Z] ==> Python coveragepy not found [2023-09-20T12:53:08.430Z] ==> Searching for coverage reports in: [2023-09-20T12:53:08.430Z] + . [2023-09-20T12:53:08.430Z] -> Found 1 reports [2023-09-20T12:53:08.430Z] ==> Detecting git/mercurial file structure [2023-09-20T12:53:08.430Z] ==> Reading reports [2023-09-20T12:53:08.430Z] + ./coverage.out bytes=43063 [2023-09-20T12:53:08.430Z] ==> Appending adjustments [2023-09-20T12:53:08.430Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T12:53:08.688Z] + Found adjustments [2023-09-20T12:53:08.689Z] ==> Gzipping contents [2023-09-20T12:53:08.689Z] 8.0K /tmp/codecov.LlWW2d.gz [2023-09-20T12:53:08.689Z] ==> Uploading reports [2023-09-20T12:53:08.689Z] url: https://codecov.io [2023-09-20T12:53:08.689Z] query: branch=main&commit=9fa1e29ef86971f53d10bc46f825e51861cc077b&build=141&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F141%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T12:53:08.689Z] -> Pinging Codecov [2023-09-20T12:53:08.689Z] 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=9fa1e29ef86971f53d10bc46f825e51861cc077b&build=141&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F141%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T12:53:08.689Z] -> Uploading to [2023-09-20T12:53:08.689Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/5E52B4B073DB2E39498172D8E973AA87/9fa1e29ef86971f53d10bc46f825e51861cc077b/ade22316-7097-4155-ab4c-481d3254e01f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T125308Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=56b59713de0fab72369c605a96e701255bc2e032a4d91ce2880b7e8f7b97122f [2023-09-20T12:53:08.689Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T12:53:08.689Z] Dload Upload Total Spent Left Speed [2023-09-20T12:53:08.947Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 26860 --:--:-- --:--:-- --:--:-- 26860 [2023-09-20T12:53:08.947Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9fa1e29ef86971f53d10bc46f825e51861cc077b [Pipeline] } [2023-09-20T12:53:08.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-20T12:53:09.082Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-20T12:53:09.092Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:53:09.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T12:53:09.389Z] [2023-09-20T12:53:09.389Z] 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-20T12:53:09.690Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T12:53:09.691Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-20T12:53:09.691Z] df9b9388f04a: Pulling fs layer [2023-09-20T12:53:09.691Z] 52dc419b0ee2: Pulling fs layer [2023-09-20T12:53:09.691Z] 25bc292e5bac: Pulling fs layer [2023-09-20T12:53:09.691Z] 114826534d7a: Pulling fs layer [2023-09-20T12:53:09.691Z] 4657fd5d0bcf: Pulling fs layer [2023-09-20T12:53:09.691Z] 6ad1cebc031e: Pulling fs layer [2023-09-20T12:53:09.691Z] 8a3aa393b2d8: Pulling fs layer [2023-09-20T12:53:09.691Z] 8a3aa393b2d8: Waiting [2023-09-20T12:53:09.691Z] 6ad1cebc031e: Waiting [2023-09-20T12:53:09.691Z] 114826534d7a: Waiting [2023-09-20T12:53:09.691Z] 4657fd5d0bcf: Waiting [2023-09-20T12:53:09.691Z] 25bc292e5bac: Verifying Checksum [2023-09-20T12:53:09.691Z] 25bc292e5bac: Download complete [2023-09-20T12:53:09.691Z] 52dc419b0ee2: Verifying Checksum [2023-09-20T12:53:09.691Z] 52dc419b0ee2: Download complete [2023-09-20T12:53:09.691Z] 4657fd5d0bcf: Verifying Checksum [2023-09-20T12:53:09.691Z] 4657fd5d0bcf: Download complete [2023-09-20T12:53:09.691Z] df9b9388f04a: Verifying Checksum [2023-09-20T12:53:09.691Z] df9b9388f04a: Download complete [2023-09-20T12:53:09.997Z] df9b9388f04a: Pull complete [2023-09-20T12:53:09.997Z] 6ad1cebc031e: Verifying Checksum [2023-09-20T12:53:09.997Z] 6ad1cebc031e: Download complete [2023-09-20T12:53:10.256Z] 52dc419b0ee2: Pull complete [2023-09-20T12:53:10.256Z] 25bc292e5bac: Pull complete [2023-09-20T12:53:10.516Z] 114826534d7a: Verifying Checksum [2023-09-20T12:53:10.516Z] 114826534d7a: Download complete [2023-09-20T12:53:10.773Z] 8a3aa393b2d8: Verifying Checksum [2023-09-20T12:53:10.773Z] 8a3aa393b2d8: Download complete [2023-09-20T12:53:14.051Z] 114826534d7a: Pull complete [2023-09-20T12:53:14.051Z] 4657fd5d0bcf: Pull complete [2023-09-20T12:53:14.051Z] 6ad1cebc031e: Pull complete [2023-09-20T12:53:16.578Z] 8a3aa393b2d8: Pull complete [2023-09-20T12:53:16.578Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-20T12:53:16.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T12:53:16.578Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:53:16.656Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-09-20T12:53:16.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-20T12:53:19.701Z] $ docker top dbb0c6b91dfc4b6edc78cbd1901d656e77e4e004b55636acfc031254f21667f2 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-20T12:53:19.760Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-09-20T12:53:20.041Z] + set -o pipefail [2023-09-20T12:53:20.041Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-09-20T12:53:26.603Z] [2023-09-20T12:53:26.603Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-09-20T12:53:26.603Z] [2023-09-20T12:53:26.603Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/ddf392d9-e772-4898-8f3b-202dfa960b97 [2023-09-20T12:53:26.603Z] [2023-09-20T12:53:26.603Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-20T12:53:26.603Z] [2023-09-20T12:53:26.603Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-20T12:53:26.603Z] [2023-09-20T12:53:26.603Z] [2023-09-20T12:53:26.603Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-20T12:53:26.603Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-20T12:53:26.603Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-20T12:53:26.618Z] $ docker stop --time=1 dbb0c6b91dfc4b6edc78cbd1901d656e77e4e004b55636acfc031254f21667f2 [2023-09-20T12:53:29.428Z] $ docker rm -f --volumes dbb0c6b91dfc4b6edc78cbd1901d656e77e4e004b55636acfc031254f21667f2 [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-20T12:53:30.140Z] + git log --format=format:%s -1 9fa1e29ef86971f53d10bc46f825e51861cc077b [Pipeline] sh [2023-09-20T12:53:30.438Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T12:53:30.438Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:53:30.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T12:53:30.735Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:53:30.798Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-09-20T12:53:30.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T12:53:31.245Z] $ docker top 96cd74776fc578b813fa30f104e428a16e90afcdd3a1029aec22ba286578990a -eo pid,comm [2023-09-20T12:53:31.288Z] 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-20T12:53:31.288Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T12:53:31.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T12:53:31.324Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T12:53:31.425Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T12:53:31.432Z] $ docker exec 96cd74776fc578b813fa30f104e428a16e90afcdd3a1029aec22ba286578990a ssh-agent [2023-09-20T12:53:31.531Z] SSH_AUTH_SOCK=/tmp/ssh-333EzHsIePW2/agent.32 [2023-09-20T12:53:31.531Z] SSH_AGENT_PID=38 [2023-09-20T12:53:31.537Z] Running ssh-add (command line suppressed) [2023-09-20T12:53:31.642Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10339596395257374822.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10339596395257374822.key) [2023-09-20T12:53:31.651Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T12:53:31.940Z] + git semver tag [2023-09-20T12:53:32.199Z] 2023-09-20 12:53:32,112 [run_tag] DEBUG tag force:False [2023-09-20T12:53:32.199Z] 2023-09-20 12:53:32,112 [check_head_tag] DEBUG check head tag [2023-09-20T12:53:32.199Z] 2023-09-20 12:53:32,112 [execute] INFO git cat-file --batch-check [2023-09-20T12:53:32.199Z] 2023-09-20 12:53:32,113 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T12:53:32.199Z] 2023-09-20 12:53:32,116 [execute] INFO git cat-file --batch [2023-09-20T12:53:32.199Z] 2023-09-20 12:53:32,116 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T12:53:32.199Z] 2023-09-20 12:53:32,128 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T12:53:32.199Z] 2023-09-20 12:53:32,128 [execute] INFO git tag -a v3.1.0-dev.15 -m v3.1.0-dev.15 [2023-09-20T12:53:32.199Z] 2023-09-20 12:53:32,128 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.15', '-m', 'v3.1.0-dev.15'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T12:53:32.199Z] 2023-09-20 12:53:32,132 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T12:53:32.199Z] 3.1.0-dev.15 [Pipeline] } [2023-09-20T12:53:32.213Z] $ docker exec --env ******** --env ******** 96cd74776fc578b813fa30f104e428a16e90afcdd3a1029aec22ba286578990a ssh-agent -k [2023-09-20T12:53:32.306Z] unset SSH_AUTH_SOCK; [2023-09-20T12:53:32.306Z] unset SSH_AGENT_PID; [2023-09-20T12:53:32.306Z] echo Agent pid 38 killed; [2023-09-20T12:53:32.313Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T12:53:32.624Z] + git semver [Pipeline] } [2023-09-20T12:53:32.903Z] $ docker stop --time=1 96cd74776fc578b813fa30f104e428a16e90afcdd3a1029aec22ba286578990a [2023-09-20T12:53:34.177Z] $ docker rm -f --volumes 96cd74776fc578b813fa30f104e428a16e90afcdd3a1029aec22ba286578990a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:53:34.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T12:53:34.559Z] [2023-09-20T12:53:34.559Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:53:34.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T12:53:34.860Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T12:53:34.860Z] ab5ef0e58194: Pulling fs layer [2023-09-20T12:53:34.860Z] 9712f1f96733: Pulling fs layer [2023-09-20T12:53:34.860Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T12:53:34.860Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T12:53:34.860Z] e9a5061849ea: Pulling fs layer [2023-09-20T12:53:34.860Z] d747dcd14b5f: Pulling fs layer [2023-09-20T12:53:34.860Z] 2de7ff778b66: Pulling fs layer [2023-09-20T12:53:34.860Z] 0d9ebad4ef96: Waiting [2023-09-20T12:53:34.860Z] e9a5061849ea: Waiting [2023-09-20T12:53:34.860Z] d747dcd14b5f: Waiting [2023-09-20T12:53:34.860Z] 2de7ff778b66: Waiting [2023-09-20T12:53:34.860Z] 9712f1f96733: Download complete [2023-09-20T12:53:35.119Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T12:53:35.119Z] 63f879dbbcfc: Download complete [2023-09-20T12:53:35.378Z] e9a5061849ea: Download complete [2023-09-20T12:53:35.378Z] d747dcd14b5f: Verifying Checksum [2023-09-20T12:53:35.378Z] d747dcd14b5f: Download complete [2023-09-20T12:53:35.378Z] 0d9ebad4ef96: Verifying Checksum [2023-09-20T12:53:35.378Z] 0d9ebad4ef96: Download complete [2023-09-20T12:53:35.378Z] ab5ef0e58194: Verifying Checksum [2023-09-20T12:53:35.378Z] ab5ef0e58194: Download complete [2023-09-20T12:53:35.378Z] 2de7ff778b66: Verifying Checksum [2023-09-20T12:53:35.378Z] 2de7ff778b66: Download complete [2023-09-20T12:53:37.911Z] ab5ef0e58194: Pull complete [2023-09-20T12:53:37.911Z] 9712f1f96733: Pull complete [2023-09-20T12:53:38.477Z] 63f879dbbcfc: Pull complete [2023-09-20T12:53:41.759Z] 0d9ebad4ef96: Pull complete [2023-09-20T12:53:41.759Z] e9a5061849ea: Pull complete [2023-09-20T12:53:41.759Z] d747dcd14b5f: Pull complete [2023-09-20T12:53:42.325Z] 2de7ff778b66: Pull complete [2023-09-20T12:53:42.325Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T12:53:42.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T12:53:42.325Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:53:42.402Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-09-20T12:53:42.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-20T12:53:45.402Z] $ docker top 4b89e9849c4cba31e63674a8ff53630e000f1aceccf0e7249553f6df934b8d44 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T12:53:45.463Z] provisioning config files... [2023-09-20T12:53:45.469Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10020388955194739285tmp [2023-09-20T12:53:45.479Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14313133187820254893tmp [2023-09-20T12:53:45.488Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11363338459199474897tmp [Pipeline] { [Pipeline] echo [2023-09-20T12:53:45.504Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:53:45.787Z] ---> sigul-configuration.sh [2023-09-20T12:53:45.787Z] gpg: directory `/root/.gnupg' created [2023-09-20T12:53:45.787Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T12:53:45.787Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T12:53:45.787Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T12:53:45.787Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T12:53:45.787Z] gpg: CAST5 encrypted data [2023-09-20T12:53:45.787Z] gpg: encrypted with 1 passphrase [2023-09-20T12:53:45.787Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T12:53:46.069Z] + mkdir /home/jenkins [2023-09-20T12:53:46.069Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T12:53:46.354Z] + 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-20T12:53:46.361Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:53:46.642Z] ---> sigul-install.sh [2023-09-20T12:53:46.642Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T12:53:46.924Z] + git tag --list [2023-09-20T12:53:46.924Z] v1.0.0 [2023-09-20T12:53:46.924Z] v1.1.0 [2023-09-20T12:53:46.924Z] v1.1.1 [2023-09-20T12:53:46.924Z] v1.2.1 [2023-09-20T12:53:46.924Z] v1.2.2 [2023-09-20T12:53:46.924Z] v1.2.3 [2023-09-20T12:53:46.924Z] v1.3.0 [2023-09-20T12:53:46.924Z] v1.3.1 [2023-09-20T12:53:46.924Z] v2.0.0 [2023-09-20T12:53:46.924Z] v2.1.0 [2023-09-20T12:53:46.924Z] v2.1.1 [2023-09-20T12:53:46.924Z] v2.2.0 [2023-09-20T12:53:46.924Z] v2.3.0 [2023-09-20T12:53:46.924Z] v3.0 [2023-09-20T12:53:46.924Z] v3.0.0 [2023-09-20T12:53:46.924Z] v3.1.0-dev.1 [2023-09-20T12:53:46.924Z] v3.1.0-dev.10 [2023-09-20T12:53:46.924Z] v3.1.0-dev.11 [2023-09-20T12:53:46.924Z] v3.1.0-dev.12 [2023-09-20T12:53:46.924Z] v3.1.0-dev.13 [2023-09-20T12:53:46.924Z] v3.1.0-dev.14 [2023-09-20T12:53:46.924Z] v3.1.0-dev.15 [2023-09-20T12:53:46.924Z] v3.1.0-dev.2 [2023-09-20T12:53:46.924Z] v3.1.0-dev.3 [2023-09-20T12:53:46.924Z] v3.1.0-dev.4 [2023-09-20T12:53:46.924Z] v3.1.0-dev.5 [2023-09-20T12:53:46.924Z] v3.1.0-dev.6 [2023-09-20T12:53:46.924Z] v3.1.0-dev.7 [2023-09-20T12:53:46.924Z] v3.1.0-dev.8 [2023-09-20T12:53:46.924Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-20T12:53:47.237Z] + lftools sign git-tag v3.1.0-dev.15 [2023-09-20T12:53:47.806Z] Signing Git tag with Sigul... [2023-09-20T12:53:47.806Z] Signing v3.1.0-dev.15 [Pipeline] echo [2023-09-20T12:53:48.074Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:53:48.356Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T12:53:48.364Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T12:53:48.385Z] $ docker stop --time=1 4b89e9849c4cba31e63674a8ff53630e000f1aceccf0e7249553f6df934b8d44 [2023-09-20T12:53:49.665Z] $ docker rm -f --volumes 4b89e9849c4cba31e63674a8ff53630e000f1aceccf0e7249553f6df934b8d44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T12:53:50.059Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T12:53:50.059Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:53:50.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T12:53:50.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:53:50.416Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-09-20T12:53:50.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T12:53:50.769Z] $ docker top 559749e63dec39c39ad193617bb0c0f2bc72e41993665cc794477b894cc22f96 -eo pid,comm [2023-09-20T12:53:50.812Z] 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-20T12:53:50.812Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T12:53:50.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T12:53:50.852Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T12:53:50.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T12:53:50.961Z] $ docker exec 559749e63dec39c39ad193617bb0c0f2bc72e41993665cc794477b894cc22f96 ssh-agent [2023-09-20T12:53:51.042Z] SSH_AUTH_SOCK=/tmp/ssh-vhPY6btHZmoX/agent.32 [2023-09-20T12:53:51.042Z] SSH_AGENT_PID=38 [2023-09-20T12:53:51.046Z] Running ssh-add (command line suppressed) [2023-09-20T12:53:51.130Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5430861892096599765.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5430861892096599765.key) [2023-09-20T12:53:51.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T12:53:51.421Z] + git semver bump pre [2023-09-20T12:53:51.680Z] 2023-09-20 12:53:51,575 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T12:53:51.729Z] 2023-09-20 12:53:51,575 [bump_version] DEBUG bumping version:3.1.0-dev.15 on axis:pre with prefix:dev [2023-09-20T12:53:51.729Z] 2023-09-20 12:53:51,576 [bump_version] DEBUG bumped version:3.1.0-dev.16 [2023-09-20T12:53:51.729Z] 2023-09-20 12:53:51,576 [write_version] DEBUG write version:3.1.0-dev.16 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-09-20T12:53:51.729Z] 2023-09-20 12:53:51,576 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T12:53:51.729Z] 2023-09-20 12:53:51,576 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T12:53:51.729Z] 2023-09-20 12:53:51,577 [execute] INFO git cat-file --batch-check [2023-09-20T12:53:51.729Z] 2023-09-20 12:53:51,578 [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-20T12:53:51.729Z] 2023-09-20 12:53:51,581 [execute] INFO git cat-file --batch [2023-09-20T12:53:51.729Z] 2023-09-20 12:53:51,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T12:53:51.729Z] 2023-09-20 12:53:51,585 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T12:53:51.729Z] 3.1.0-dev.16 [Pipeline] } [2023-09-20T12:53:51.746Z] $ docker exec --env ******** --env ******** 559749e63dec39c39ad193617bb0c0f2bc72e41993665cc794477b894cc22f96 ssh-agent -k [2023-09-20T12:53:51.845Z] unset SSH_AUTH_SOCK; [2023-09-20T12:53:51.845Z] unset SSH_AGENT_PID; [2023-09-20T12:53:51.845Z] echo Agent pid 38 killed; [2023-09-20T12:53:51.857Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T12:53:52.163Z] + git semver [Pipeline] } [2023-09-20T12:53:52.439Z] $ docker stop --time=1 559749e63dec39c39ad193617bb0c0f2bc72e41993665cc794477b894cc22f96 [2023-09-20T12:53:53.705Z] $ docker rm -f --volumes 559749e63dec39c39ad193617bb0c0f2bc72e41993665cc794477b894cc22f96 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T12:53:54.030Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T12:53:54.030Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:53:54.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T12:53:54.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:53:54.393Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-09-20T12:53:54.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T12:53:54.730Z] $ docker top 32404ef39c2661bb73e7ad2c91702d181548b12172390075be3b53986c94e236 -eo pid,comm [2023-09-20T12:53:54.770Z] 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-20T12:53:54.770Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T12:53:54.807Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T12:53:54.807Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T12:53:54.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T12:53:54.923Z] $ docker exec 32404ef39c2661bb73e7ad2c91702d181548b12172390075be3b53986c94e236 ssh-agent [2023-09-20T12:53:55.015Z] SSH_AUTH_SOCK=/tmp/ssh-g5aALxlc6owm/agent.32 [2023-09-20T12:53:55.015Z] SSH_AGENT_PID=38 [2023-09-20T12:53:55.020Z] Running ssh-add (command line suppressed) [2023-09-20T12:53:55.119Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8836741237920919749.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8836741237920919749.key) [2023-09-20T12:53:55.128Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T12:53:55.414Z] + git semver push [2023-09-20T12:53:55.673Z] 2023-09-20 12:53:55,565 [run_push] DEBUG push [2023-09-20T12:53:55.673Z] 2023-09-20 12:53:55,566 [execute] INFO git cat-file --batch-check [2023-09-20T12:53:55.673Z] 2023-09-20 12:53:55,566 [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-20T12:53:55.673Z] 2023-09-20 12:53:55,569 [execute] INFO git rev-list 3d442d14af1f2b45bdd9168268aec8050b5da22b -- [2023-09-20T12:53:55.673Z] 2023-09-20 12:53:55,569 [execute] DEBUG Popen(['git', 'rev-list', '3d442d14af1f2b45bdd9168268aec8050b5da22b', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T12:53:55.673Z] 2023-09-20 12:53:55,577 [execute] INFO git fetch -v origin [2023-09-20T12:53:55.673Z] 2023-09-20 12:53:55,577 [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-20T12:53:56.240Z] 2023-09-20 12:53:56,049 [run_push] DEBUG no remote changes detected [2023-09-20T12:53:56.240Z] 2023-09-20 12:53:56,049 [execute] INFO git push origin semver [2023-09-20T12:53:56.240Z] 2023-09-20 12:53:56,049 [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-20T12:53:57.178Z] 2023-09-20 12:53:56,853 [run_push] DEBUG push all version tags [2023-09-20T12:53:57.178Z] 2023-09-20 12:53:56,853 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T12:53:57.178Z] 2023-09-20 12:53:56,853 [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-20T12:53:57.746Z] 2023-09-20 12:53:57,717 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-20T12:53:57.746Z] 3.1.0-dev.16 [Pipeline] } [2023-09-20T12:53:57.760Z] $ docker exec --env ******** --env ******** 32404ef39c2661bb73e7ad2c91702d181548b12172390075be3b53986c94e236 ssh-agent -k [2023-09-20T12:53:57.864Z] unset SSH_AUTH_SOCK; [2023-09-20T12:53:57.864Z] unset SSH_AGENT_PID; [2023-09-20T12:53:57.864Z] echo Agent pid 38 killed; [2023-09-20T12:53:57.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T12:53:58.172Z] + git semver [Pipeline] } [2023-09-20T12:53:58.449Z] $ docker stop --time=1 32404ef39c2661bb73e7ad2c91702d181548b12172390075be3b53986c94e236 [2023-09-20T12:53:59.704Z] $ docker rm -f --volumes 32404ef39c2661bb73e7ad2c91702d181548b12172390075be3b53986c94e236 [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-20T12:54:00.281Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-09-20T12:54:00.281Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-20T12:54:00.281Z] total 16 [2023-09-20T12:54:00.281Z] drwxr-xr-x 3 root root 4096 Sep 20 12:45 . [2023-09-20T12:54:00.281Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 12:53 .. [2023-09-20T12:54:00.281Z] drwxr-xr-x 2 root root 4096 Sep 20 12:45 cost [2023-09-20T12:54:00.281Z] -rw-r--r-- 1 root root 89 Sep 20 12:45 cost.csv [2023-09-20T12:54:00.281Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-20T12:54:00.281Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-20T12:54:00.281Z] total 16 [2023-09-20T12:54:00.281Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 12:45 . [2023-09-20T12:54:00.281Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 12:53 .. [2023-09-20T12:54:00.281Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 12:45 cost [2023-09-20T12:54:00.281Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 20 12:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:54:00.574Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:54:03.977Z] ---> package-listing.sh [2023-09-20T12:54:03.977Z] ++ facter osfamily [2023-09-20T12:54:03.977Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T12:54:03.977Z] + OS_FAMILY=debian [2023-09-20T12:54:03.977Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-09-20T12:54:03.977Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T12:54:03.977Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T12:54:03.977Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T12:54:03.977Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T12:54:03.977Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-20T12:54:03.977Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T12:54:03.977Z] + case "${OS_FAMILY}" in [2023-09-20T12:54:03.977Z] + dpkg -l [2023-09-20T12:54:03.977Z] + grep '^ii' [2023-09-20T12:54:03.977Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T12:54:03.977Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T12:54:03.977Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T12:54:03.977Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-20T12:54:03.977Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-09-20T12:54:03.977Z] + 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-20T12:54:03.986Z] 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-20T12:54:04.262Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T12:54:04.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T12:54:04.970Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T12:54:05.078Z] prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container [2023-09-20T12:54:05.111Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T12:54:05.396Z] $ docker top 2cd4242eaef1f79e72096a1b2ec980f49d11243d97c42bd0b19859ae18496056 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T12:54:05.732Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T12:54:06.018Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T12:54:06.301Z] + ls /var/log/sa-host [2023-09-20T12:54:06.301Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T12:54:06.461Z] provisioning config files... [2023-09-20T12:54:06.469Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11870420288237487947tmp [Pipeline] { [Pipeline] echo [2023-09-20T12:54:06.479Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:54:06.758Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T12:54:06.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:54:07.094Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T12:54:07.103Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:54:07.385Z] ---> sudo-logs.sh [2023-09-20T12:54:07.385Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T12:54:07.404Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:54:07.683Z] ---> job-cost.sh [2023-09-20T12:54:07.683Z] lf-activate-venv: SKIPPING [2023-09-20T12:54:07.683Z] DEBUG: total: 0.2199999988079071 [2023-09-20T12:54:07.683Z] INFO: Retrieving Stack Cost... [2023-09-20T12:54:07.942Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T12:54:08.511Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T12:54:08.522Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T12:54:08.809Z] ---> logs-deploy.sh [2023-09-20T12:54:08.809Z] lf-activate-venv: SKIPPING [2023-09-20T12:54:08.810Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/141 [2023-09-20T12:54:08.810Z] INFO: archiving workspace using pattern(s): [2023-09-20T12:54:09.746Z] Archives upload complete. [2023-09-20T12:54:09.746Z] INFO: archiving logs to Nexus