Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a 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-ssh9139672791276484131.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2820961613973112657.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1907068145675604390.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14005424710137814842.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-ssh17221213931668840669.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1670’ Running on prd-ubuntu20.04-docker-8c-8g-1672 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#416)" > git config core.sparsecheckout # timeout=10 > git checkout -f 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a # timeout=10 > git rev-list --no-walk 8bac9b22eb31fd3371358eef67a168645ee27d12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-20T18:59:30.944Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-20T18:59:31.009Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-20T18:59:31.022Z] ========================================================= [2023-07-20T18:59:31.022Z] EdgeX Global Pipelines Version Info [2023-07-20T18:59:31.022Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-20T18:59:31.725Z] ------------------- [2023-07-20T18:59:31.725Z] stable info: [2023-07-20T18:59:31.725Z] ------------------- [2023-07-20T18:59:31.725Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-20T18:59:31.725Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-20T18:59:31.725Z] Message: update stable to v1.0.250 [2023-07-20T18:59:32.293Z] ------------------- [2023-07-20T18:59:32.293Z] experimental info: [2023-07-20T18:59:32.293Z] ------------------- [2023-07-20T18:59:32.293Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-20T18:59:32.293Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-20T18:59:32.293Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-20T18:59:32.450Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-07-20T18:59:32.461Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-07-20T18:59:32.476Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-20T18:59:32.492Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-20T18:59:32.503Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-20T18:59:32.517Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-20T18:59:32.533Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-20T18:59:32.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-20T18:59:32.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-20T18:59:32.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-20T18:59:32.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-20T18:59:32.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-07-20T18:59:32.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-20T18:59:32.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-20T18:59:32.619Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-20T18:59:32.630Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-20T18:59:32.639Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-20T18:59:32.650Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-20T18:59:32.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-20T18:59:32.679Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-20T18:59:32.692Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-20T18:59:32.709Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-20T18:59:32.727Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-20T18:59:32.743Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-20T18:59:32.754Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-20T18:59:32.768Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-20T18:59:32.783Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-20T18:59:32.797Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-20T18:59:32.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-20T18:59:32.825Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-20T18:59:32.840Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [Pipeline] echo [2023-07-20T18:59:32.859Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ad9699 [Pipeline] echo [2023-07-20T18:59:32.876Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T18:59:32.928Z] provisioning config files... [2023-07-20T18:59:32.941Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11779087426266274540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T18:59:33.246Z] ---> docker-login.sh [2023-07-20T18:59:33.246Z] nexus3.edgexfoundry.org:10001 [2023-07-20T18:59:33.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T18:59:33.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T18:59:33.521Z] Configure a credential helper to remove this warning. See [2023-07-20T18:59:33.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T18:59:33.521Z] [2023-07-20T18:59:33.521Z] Login Succeeded [2023-07-20T18:59:33.521Z] nexus3.edgexfoundry.org:10002 [2023-07-20T18:59:33.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T18:59:33.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T18:59:33.783Z] Configure a credential helper to remove this warning. See [2023-07-20T18:59:33.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T18:59:33.783Z] [2023-07-20T18:59:33.783Z] Login Succeeded [2023-07-20T18:59:33.783Z] nexus3.edgexfoundry.org:10003 [2023-07-20T18:59:33.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T18:59:33.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T18:59:33.783Z] Configure a credential helper to remove this warning. See [2023-07-20T18:59:33.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T18:59:33.783Z] [2023-07-20T18:59:33.783Z] Login Succeeded [2023-07-20T18:59:33.783Z] nexus3.edgexfoundry.org:10004 [2023-07-20T18:59:33.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T18:59:34.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T18:59:34.044Z] Configure a credential helper to remove this warning. See [2023-07-20T18:59:34.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T18:59:34.044Z] [2023-07-20T18:59:34.044Z] Login Succeeded [2023-07-20T18:59:34.044Z] docker.io [2023-07-20T18:59:34.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T18:59:34.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T18:59:34.306Z] Configure a credential helper to remove this warning. See [2023-07-20T18:59:34.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T18:59:34.306Z] [2023-07-20T18:59:34.306Z] Login Succeeded [2023-07-20T18:59:34.306Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T18:59:34.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-20T18:59:34.732Z] + git rev-list -1 --merges 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a~1..8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [Pipeline] echo [2023-07-20T18:59:34.780Z] -----------> git rev-list -1 --merges 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a~1..8ad9699a6dce6de25ce5ac2145c2ba17367dec2a 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [false] [Pipeline] sh [2023-07-20T18:59:35.064Z] + git log --format=format:%s -1 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [Pipeline] echo [2023-07-20T18:59:35.079Z] ========================================================= [2023-07-20T18:59:35.079Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-20T18:59:35.079Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T18:59:35.397Z] + git log --format=format:%s -1 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [Pipeline] echo [2023-07-20T18:59:35.408Z] [semverPrep] GIT_COMMIT: 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#416) [Pipeline] echo [2023-07-20T18:59:35.418Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-20T18:59:35.774Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-20T18:59:35.774Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-20T18:59:35.774Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-20T18:59:35.774Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-20T18:59:35.774Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-20T18:59:35.774Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-20T18:59:35.774Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T18:59:36.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T18:59:36.153Z] [2023-07-20T18:59:36.153Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T18:59:36.469Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T18:59:36.469Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-20T18:59:36.469Z] b85a868b505f: Pulling fs layer [2023-07-20T18:59:36.469Z] e2be974225ed: Pulling fs layer [2023-07-20T18:59:36.469Z] 339a4e72a1f5: Pulling fs layer [2023-07-20T18:59:36.469Z] 988bab9f4d93: Pulling fs layer [2023-07-20T18:59:36.469Z] 1469e6f7b9e6: Pulling fs layer [2023-07-20T18:59:36.469Z] eaf3925da568: Pulling fs layer [2023-07-20T18:59:36.469Z] bab4dde63d76: Pulling fs layer [2023-07-20T18:59:36.469Z] bde34c3a00c8: Pulling fs layer [2023-07-20T18:59:36.469Z] b352a97aabf1: Pulling fs layer [2023-07-20T18:59:36.469Z] 4872d77fe225: Pulling fs layer [2023-07-20T18:59:36.469Z] 5851b861e8e6: Pulling fs layer [2023-07-20T18:59:36.469Z] bab4dde63d76: Waiting [2023-07-20T18:59:36.469Z] bde34c3a00c8: Waiting [2023-07-20T18:59:36.469Z] b352a97aabf1: Waiting [2023-07-20T18:59:36.469Z] 4872d77fe225: Waiting [2023-07-20T18:59:36.469Z] 5851b861e8e6: Waiting [2023-07-20T18:59:36.469Z] 988bab9f4d93: Waiting [2023-07-20T18:59:36.469Z] eaf3925da568: Waiting [2023-07-20T18:59:36.469Z] 1469e6f7b9e6: Waiting [2023-07-20T18:59:36.469Z] e2be974225ed: Download complete [2023-07-20T18:59:36.469Z] 988bab9f4d93: Verifying Checksum [2023-07-20T18:59:36.469Z] 988bab9f4d93: Download complete [2023-07-20T18:59:36.728Z] 1469e6f7b9e6: Verifying Checksum [2023-07-20T18:59:36.728Z] 1469e6f7b9e6: Download complete [2023-07-20T18:59:36.728Z] eaf3925da568: Download complete [2023-07-20T18:59:36.728Z] 339a4e72a1f5: Verifying Checksum [2023-07-20T18:59:36.728Z] 339a4e72a1f5: Download complete [2023-07-20T18:59:36.728Z] bde34c3a00c8: Verifying Checksum [2023-07-20T18:59:36.728Z] bde34c3a00c8: Download complete [2023-07-20T18:59:36.728Z] b352a97aabf1: Verifying Checksum [2023-07-20T18:59:36.728Z] b352a97aabf1: Download complete [2023-07-20T18:59:36.728Z] 4872d77fe225: Verifying Checksum [2023-07-20T18:59:36.728Z] 4872d77fe225: Download complete [2023-07-20T18:59:36.728Z] 5851b861e8e6: Verifying Checksum [2023-07-20T18:59:36.728Z] 5851b861e8e6: Download complete [2023-07-20T18:59:36.728Z] b85a868b505f: Verifying Checksum [2023-07-20T18:59:36.728Z] b85a868b505f: Download complete [2023-07-20T18:59:37.296Z] bab4dde63d76: Verifying Checksum [2023-07-20T18:59:37.296Z] bab4dde63d76: Download complete [2023-07-20T18:59:37.868Z] b85a868b505f: Pull complete [2023-07-20T18:59:37.868Z] e2be974225ed: Pull complete [2023-07-20T18:59:38.439Z] 339a4e72a1f5: Pull complete [2023-07-20T18:59:38.439Z] 988bab9f4d93: Pull complete [2023-07-20T18:59:38.697Z] 1469e6f7b9e6: Pull complete [2023-07-20T18:59:38.697Z] eaf3925da568: Pull complete [2023-07-20T18:59:40.073Z] bab4dde63d76: Pull complete [2023-07-20T18:59:40.333Z] bde34c3a00c8: Pull complete [2023-07-20T18:59:40.333Z] b352a97aabf1: Pull complete [2023-07-20T18:59:40.333Z] 4872d77fe225: Pull complete [2023-07-20T18:59:40.595Z] 5851b861e8e6: Pull complete [2023-07-20T18:59:40.595Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-20T18:59:40.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T18:59:40.595Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T18:59:40.687Z] prd-ubuntu20.04-docker-8c-8g-1672 does not seem to be running inside a container [2023-07-20T18:59:40.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-20T18:59:41.820Z] $ docker top 67c4a2eeb1c41f13e2fcb3b8c2507e33f6b96d5693a2481952a0e66a59c96b6a -eo pid,comm [2023-07-20T18:59:41.869Z] 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-07-20T18:59:41.869Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-20T18:59:41.909Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T18:59:41.909Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T18:59:42.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T18:59:42.036Z] $ docker exec 67c4a2eeb1c41f13e2fcb3b8c2507e33f6b96d5693a2481952a0e66a59c96b6a ssh-agent [2023-07-20T18:59:42.142Z] SSH_AUTH_SOCK=/tmp/ssh-GCn1RxtQmZ6i/agent.31 [2023-07-20T18:59:42.142Z] SSH_AGENT_PID=37 [2023-07-20T18:59:42.148Z] Running ssh-add (command line suppressed) [2023-07-20T18:59:42.243Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_756047554920985641.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_756047554920985641.key) [2023-07-20T18:59:42.255Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T18:59:42.544Z] + git tag --points-at HEAD [Pipeline] } [2023-07-20T18:59:42.560Z] $ docker exec --env ******** --env ******** 67c4a2eeb1c41f13e2fcb3b8c2507e33f6b96d5693a2481952a0e66a59c96b6a ssh-agent -k [2023-07-20T18:59:42.644Z] unset SSH_AUTH_SOCK; [2023-07-20T18:59:42.645Z] unset SSH_AGENT_PID; [2023-07-20T18:59:42.645Z] echo Agent pid 37 killed; [2023-07-20T18:59:42.655Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-20T18:59:42.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T18:59:42.677Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T18:59:42.782Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T18:59:42.788Z] $ docker exec 67c4a2eeb1c41f13e2fcb3b8c2507e33f6b96d5693a2481952a0e66a59c96b6a ssh-agent [2023-07-20T18:59:42.892Z] SSH_AUTH_SOCK=/tmp/ssh-GgETWiJXXuf7/agent.70 [2023-07-20T18:59:42.892Z] SSH_AGENT_PID=76 [2023-07-20T18:59:42.897Z] Running ssh-add (command line suppressed) [2023-07-20T18:59:42.999Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2351005676619619789.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2351005676619619789.key) [2023-07-20T18:59:43.011Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T18:59:43.296Z] + git semver init [2023-07-20T18:59:43.555Z] 2023-07-20 18:59:43,454 [run_init] DEBUG init version:0.0.0 force:False [2023-07-20T18:59:43.555Z] 2023-07-20 18:59:43,454 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-07-20T18:59:43.555Z] 2023-07-20 18:59:43,455 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-07-20T18:59:43.555Z] 2023-07-20 18:59:43,455 [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-07-20T18:59:44.491Z] 2023-07-20 18:59:44,444 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-07-20T18:59:44.492Z] 2023-07-20 18:59:44,445 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-07-20T18:59:44.492Z] 2023-07-20 18:59:44,445 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-20T18:59:44.492Z] 2023-07-20 18:59:44,445 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-20T18:59:44.492Z] 3.1.0-dev.2 [Pipeline] } [2023-07-20T18:59:44.503Z] $ docker exec --env ******** --env ******** 67c4a2eeb1c41f13e2fcb3b8c2507e33f6b96d5693a2481952a0e66a59c96b6a ssh-agent -k [2023-07-20T18:59:44.595Z] unset SSH_AUTH_SOCK; [2023-07-20T18:59:44.595Z] unset SSH_AGENT_PID; [2023-07-20T18:59:44.595Z] echo Agent pid 76 killed; [2023-07-20T18:59:44.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-20T18:59:44.898Z] + git semver [Pipeline] } [2023-07-20T18:59:45.176Z] $ docker stop --time=1 67c4a2eeb1c41f13e2fcb3b8c2507e33f6b96d5693a2481952a0e66a59c96b6a [2023-07-20T18:59:46.461Z] $ docker rm -f --volumes 67c4a2eeb1c41f13e2fcb3b8c2507e33f6b96d5693a2481952a0e66a59c96b6a [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-20T18:59:46.799Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-20T18:59:47.007Z] Stashed 1 file(s) [Pipeline] echo [2023-07-20T18:59:47.010Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.2 [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-07-20T18:59:47.129Z] provisioning config files... [2023-07-20T18:59:47.138Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15684403589268809582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T18:59:47.436Z] ---> docker-login.sh [2023-07-20T18:59:47.436Z] nexus3.edgexfoundry.org:10001 [2023-07-20T18:59:47.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T18:59:47.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T18:59:47.436Z] Configure a credential helper to remove this warning. See [2023-07-20T18:59:47.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T18:59:47.437Z] [2023-07-20T18:59:47.437Z] Login Succeeded [2023-07-20T18:59:47.437Z] nexus3.edgexfoundry.org:10002 [2023-07-20T18:59:47.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T18:59:47.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T18:59:47.437Z] Configure a credential helper to remove this warning. See [2023-07-20T18:59:47.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T18:59:47.437Z] [2023-07-20T18:59:47.437Z] Login Succeeded [2023-07-20T18:59:47.437Z] nexus3.edgexfoundry.org:10003 [2023-07-20T18:59:47.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T18:59:47.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T18:59:47.696Z] Configure a credential helper to remove this warning. See [2023-07-20T18:59:47.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T18:59:47.696Z] [2023-07-20T18:59:47.696Z] Login Succeeded [2023-07-20T18:59:47.696Z] nexus3.edgexfoundry.org:10004 [2023-07-20T18:59:47.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T18:59:47.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T18:59:47.696Z] Configure a credential helper to remove this warning. See [2023-07-20T18:59:47.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T18:59:47.696Z] [2023-07-20T18:59:47.696Z] Login Succeeded [2023-07-20T18:59:47.696Z] docker.io [2023-07-20T18:59:47.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T18:59:47.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T18:59:47.955Z] Configure a credential helper to remove this warning. See [2023-07-20T18:59:47.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T18:59:47.955Z] [2023-07-20T18:59:47.955Z] Login Succeeded [2023-07-20T18:59:47.955Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T18:59:47.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-20T18:59:48.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T18:59:48.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T18:59:48.051Z] ========================================================= [2023-07-20T18:59:48.051Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-20T18:59:48.051Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T18:59:48.355Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-20T18:59:48.355Z] Sending build context to Docker daemon 23.51MB [2023-07-20T18:59:48.355Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-20T18:59:48.355Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-20T18:59:48.355Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-20T18:59:48.355Z] 4db1b89c0bd1: Pulling fs layer [2023-07-20T18:59:48.355Z] 6911f1a30b25: Pulling fs layer [2023-07-20T18:59:48.355Z] e194b8c5c2a9: Pulling fs layer [2023-07-20T18:59:48.355Z] 6863d3e3a2b1: Pulling fs layer [2023-07-20T18:59:48.355Z] ec0bb842ea78: Pulling fs layer [2023-07-20T18:59:48.355Z] 40a00589a448: Pulling fs layer [2023-07-20T18:59:48.355Z] 6c08303d61cc: Pulling fs layer [2023-07-20T18:59:48.355Z] 798269fcf238: Pulling fs layer [2023-07-20T18:59:48.355Z] 40a00589a448: Waiting [2023-07-20T18:59:48.355Z] 6863d3e3a2b1: Waiting [2023-07-20T18:59:48.355Z] ec0bb842ea78: Waiting [2023-07-20T18:59:48.614Z] 6911f1a30b25: Download complete [2023-07-20T18:59:48.614Z] 6863d3e3a2b1: Verifying Checksum [2023-07-20T18:59:48.614Z] 6863d3e3a2b1: Download complete [2023-07-20T18:59:48.614Z] ec0bb842ea78: Verifying Checksum [2023-07-20T18:59:48.614Z] ec0bb842ea78: Download complete [2023-07-20T18:59:48.614Z] 4db1b89c0bd1: Verifying Checksum [2023-07-20T18:59:48.614Z] 4db1b89c0bd1: Download complete [2023-07-20T18:59:48.614Z] 40a00589a448: Verifying Checksum [2023-07-20T18:59:48.614Z] 40a00589a448: Download complete [2023-07-20T18:59:48.614Z] 4db1b89c0bd1: Pull complete [2023-07-20T18:59:48.878Z] 6911f1a30b25: Pull complete [2023-07-20T18:59:49.139Z] 798269fcf238: Verifying Checksum [2023-07-20T18:59:49.139Z] 798269fcf238: Download complete [2023-07-20T18:59:49.139Z] e194b8c5c2a9: Verifying Checksum [2023-07-20T18:59:49.139Z] e194b8c5c2a9: Download complete [2023-07-20T18:59:49.398Z] 6c08303d61cc: Verifying Checksum [2023-07-20T18:59:49.398Z] 6c08303d61cc: Download complete [2023-07-20T18:59:51.929Z] e194b8c5c2a9: Pull complete [2023-07-20T18:59:51.929Z] 6863d3e3a2b1: Pull complete [2023-07-20T18:59:52.188Z] ec0bb842ea78: Pull complete [2023-07-20T18:59:52.188Z] 40a00589a448: Pull complete [2023-07-20T18:59:54.717Z] 6c08303d61cc: Pull complete [2023-07-20T18:59:55.283Z] 798269fcf238: Pull complete [2023-07-20T18:59:55.283Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-20T18:59:55.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-20T18:59:55.283Z] ---> ec979cd7f677 [2023-07-20T18:59:55.283Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-20T18:59:56.662Z] ---> Running in 3bc847320bf1 [2023-07-20T18:59:56.662Z] Removing intermediate container 3bc847320bf1 [2023-07-20T18:59:56.662Z] ---> e81989ff1bd2 [2023-07-20T18:59:56.662Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-20T18:59:56.662Z] ---> Running in a0ed4e3d0317 [2023-07-20T18:59:56.662Z] Removing intermediate container a0ed4e3d0317 [2023-07-20T18:59:56.662Z] ---> 3045e98c576d [2023-07-20T18:59:56.662Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-20T18:59:56.662Z] ---> Running in 4a5baa9bd129 [2023-07-20T18:59:56.923Z] Removing intermediate container 4a5baa9bd129 [2023-07-20T18:59:56.923Z] ---> ebf925d69288 [2023-07-20T18:59:56.923Z] Step 6/12 : WORKDIR /device-virtual-go [2023-07-20T18:59:56.923Z] ---> Running in 75a56dcf420b [2023-07-20T18:59:56.923Z] Removing intermediate container 75a56dcf420b [2023-07-20T18:59:56.923Z] ---> 0032fdf0d83f [2023-07-20T18:59:56.923Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-20T18:59:56.923Z] ---> Running in 469f56989a6b [2023-07-20T18:59:57.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-20T18:59:57.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-20T18:59:57.441Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-07-20T18:59:57.441Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-20T18:59:57.441Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-07-20T18:59:57.441Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-07-20T18:59:57.441Z] Executing busybox-1.35.0-r29.trigger [2023-07-20T18:59:57.441Z] OK: 269 MiB in 57 packages [2023-07-20T18:59:58.008Z] Removing intermediate container 469f56989a6b [2023-07-20T18:59:58.008Z] ---> 3ca1ec80c14e [2023-07-20T18:59:58.008Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-20T18:59:58.008Z] ---> ba1f581ad86c [2023-07-20T18:59:58.008Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-20T18:59:58.008Z] ---> Running in d4ca01c5063a [2023-07-20T19:00:02.099Z] Still waiting to schedule task [2023-07-20T19:00:02.100Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1671’ [2023-07-20T19:00:36.731Z] Removing intermediate container d4ca01c5063a [2023-07-20T19:00:36.731Z] ---> 31a648376b97 [2023-07-20T19:00:36.731Z] Step 10/12 : COPY . . [2023-07-20T19:00:36.990Z] ---> b3bba66e3c2f [2023-07-20T19:00:36.990Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-20T19:00:36.990Z] ---> Running in 8c46e32d302b [2023-07-20T19:00:36.990Z] Removing intermediate container 8c46e32d302b [2023-07-20T19:00:36.990Z] ---> 6a489f7f80b4 [2023-07-20T19:00:36.990Z] Step 12/12 : RUN $MAKE [2023-07-20T19:00:36.990Z] ---> Running in 26ef369f1ddc [2023-07-20T19:00:37.249Z] noop [2023-07-20T19:00:37.508Z] Removing intermediate container 26ef369f1ddc [2023-07-20T19:00:37.508Z] ---> 60c171628a20 [2023-07-20T19:00:37.508Z] Successfully built 60c171628a20 [2023-07-20T19:00:37.766Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:00:38.069Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-20T19:00:38.069Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:00:38.132Z] prd-ubuntu20.04-docker-8c-8g-1672 does not seem to be running inside a container [2023-07-20T19:00:38.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-20T19:00:38.479Z] $ docker top 6be1040a1241f3dce621c76d9eade2d29acdea3af87c12c86602c040a45e2527 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T19:00:38.813Z] + go version [2023-07-20T19:00:38.813Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-20T19:00:38.826Z] $ docker stop --time=1 6be1040a1241f3dce621c76d9eade2d29acdea3af87c12c86602c040a45e2527 [2023-07-20T19:00:40.109Z] $ docker rm -f --volumes 6be1040a1241f3dce621c76d9eade2d29acdea3af87c12c86602c040a45e2527 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:00:40.513Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-20T19:00:40.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:00:40.592Z] prd-ubuntu20.04-docker-8c-8g-1672 does not seem to be running inside a container [2023-07-20T19:00:40.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-20T19:00:40.956Z] $ docker top e18cc03b8043fdec448042201c25e8c4d75ccbf534a0796244a458e069c81796 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T19:00:41.298Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-07-20T19:00:41.589Z] + make test [2023-07-20T19:00:41.589Z] go test ./... -coverprofile=coverage.out [2023-07-20T19:00:45.774Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-07-20T19:00:55.732Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-07-20T19:00:55.732Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.020s coverage: 58.6% of statements [2023-07-20T19:01:00.994Z] go vet ./... [2023-07-20T19:01:03.522Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-20T19:01:03.522Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-20T19:01:03.522Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-20T19:01:03.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-20T19:01:03.546Z] $ docker stop --time=1 e18cc03b8043fdec448042201c25e8c4d75ccbf534a0796244a458e069c81796 [2023-07-20T19:01:05.306Z] $ docker rm -f --volumes e18cc03b8043fdec448042201c25e8c4d75ccbf534a0796244a458e069c81796 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-20T19:01:05.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-20T19:01:05.802Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-20T19:01:06.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-20T19:01:06.616Z] + ls -al . [2023-07-20T19:01:06.616Z] total 200 [2023-07-20T19:01:06.616Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 19:00 . [2023-07-20T19:01:06.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 18:59 .. [2023-07-20T19:01:06.616Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 18:59 .git [2023-07-20T19:01:06.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 18:59 .github [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 337 Jul 20 18:59 .gitignore [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 18:59 .golangci.yml [2023-07-20T19:01:06.616Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 18:59 .semver [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 9050 Jul 20 18:59 Attribution.txt [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 14372 Jul 20 18:59 CHANGELOG.md [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jul 20 18:59 Dockerfile [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 18:59 GOVERNANCE.md [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 20 18:59 Jenkinsfile [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 18:59 LICENSE [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 1947 Jul 20 18:59 Makefile [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 20 18:59 OWNERS.md [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 4111 Jul 20 18:59 README.md [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 20 18:59 VERSION [2023-07-20T19:01:06.616Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 18:59 bin [2023-07-20T19:01:06.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 18:59 cmd [2023-07-20T19:01:06.616Z] -rw-r--r-- 1 jenkins jenkins 43063 Jul 20 19:00 coverage.out [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 3375 Jul 20 18:59 go.mod [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 32023 Jul 20 18:59 go.sum [2023-07-20T19:01:06.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 18:59 internal [2023-07-20T19:01:06.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 18:59 snap [2023-07-20T19:01:06.616Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 20 18:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:01:06.931Z] + 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=8ad9699a6dce6de25ce5ac2145c2ba17367dec2a --label arch=amd64 --label version=3.1.0-dev.2 . [2023-07-20T19:01:06.931Z] Sending build context to Docker daemon 23.56MB [2023-07-20T19:01:06.931Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-20T19:01:06.931Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-20T19:01:06.931Z] ---> 60c171628a20 [2023-07-20T19:01:06.931Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-20T19:01:06.931Z] ---> Running in cf94805d7230 [2023-07-20T19:01:07.190Z] Removing intermediate container cf94805d7230 [2023-07-20T19:01:07.190Z] ---> 862092af7cad [2023-07-20T19:01:07.190Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-20T19:01:07.190Z] ---> Running in a3dd2a60b987 [2023-07-20T19:01:07.190Z] Removing intermediate container a3dd2a60b987 [2023-07-20T19:01:07.190Z] ---> e864624dc8a2 [2023-07-20T19:01:07.190Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-20T19:01:07.190Z] ---> Running in bcf97802dfdb [2023-07-20T19:01:07.190Z] Removing intermediate container bcf97802dfdb [2023-07-20T19:01:07.190Z] ---> 7ae15ea2d40a [2023-07-20T19:01:07.190Z] Step 6/25 : WORKDIR /device-virtual-go [2023-07-20T19:01:07.190Z] ---> Running in 6dc49c20804a [2023-07-20T19:01:07.449Z] Removing intermediate container 6dc49c20804a [2023-07-20T19:01:07.449Z] ---> 1608ec3b4983 [2023-07-20T19:01:07.449Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-20T19:01:07.449Z] ---> Running in 879a2a530d5c [2023-07-20T19:01:07.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-20T19:01:07.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-20T19:01:08.225Z] OK: 269 MiB in 57 packages [2023-07-20T19:01:08.484Z] Removing intermediate container 879a2a530d5c [2023-07-20T19:01:08.484Z] ---> 80f699a2c70c [2023-07-20T19:01:08.484Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-20T19:01:08.484Z] ---> c0a7787fd1af [2023-07-20T19:01:08.484Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-20T19:01:08.484Z] ---> Running in a8eac4283d83 [2023-07-20T19:01:09.419Z] Removing intermediate container a8eac4283d83 [2023-07-20T19:01:09.419Z] ---> ba83d038d752 [2023-07-20T19:01:09.419Z] Step 10/25 : COPY . . [2023-07-20T19:01:09.678Z] ---> bfec59c6225f [2023-07-20T19:01:09.678Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-20T19:01:09.678Z] ---> Running in e71ec55bd190 [2023-07-20T19:01:09.678Z] Removing intermediate container e71ec55bd190 [2023-07-20T19:01:09.678Z] ---> ff8f5f09bd45 [2023-07-20T19:01:09.678Z] Step 12/25 : RUN $MAKE [2023-07-20T19:01:09.678Z] ---> Running in 8ddafc9e0339 [2023-07-20T19:01:09.938Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.8" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-07-20T19:01:24.999Z] Removing intermediate container 8ddafc9e0339 [2023-07-20T19:01:24.999Z] ---> d042ead97fa6 [2023-07-20T19:01:24.999Z] Step 13/25 : FROM alpine:3.17 [2023-07-20T19:01:25.258Z] 3.17: Pulling from library/alpine [2023-07-20T19:01:25.520Z] 4db1b89c0bd1: Already exists [2023-07-20T19:01:25.520Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-20T19:01:25.520Z] Status: Downloaded newer image for alpine:3.17 [2023-07-20T19:01:25.520Z] ---> 1f73a9d63274 [2023-07-20T19:01:25.520Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-07-20T19:01:25.520Z] ---> Running in c276a2569fc0 [2023-07-20T19:01:25.520Z] Removing intermediate container c276a2569fc0 [2023-07-20T19:01:25.520Z] ---> 7cc858257fcf [2023-07-20T19:01:25.520Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-07-20T19:01:25.520Z] ---> Running in a380b46617cc [2023-07-20T19:01:25.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-20T19:01:26.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-20T19:01:26.294Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-20T19:01:26.294Z] Executing busybox-1.35.0-r29.trigger [2023-07-20T19:01:26.294Z] OK: 7 MiB in 16 packages [2023-07-20T19:01:26.553Z] Removing intermediate container a380b46617cc [2023-07-20T19:01:26.553Z] ---> 21ad3da4d21e [2023-07-20T19:01:26.553Z] Step 16/25 : WORKDIR / [2023-07-20T19:01:26.553Z] ---> Running in 9f1cdc3c0417 [2023-07-20T19:01:26.812Z] Removing intermediate container 9f1cdc3c0417 [2023-07-20T19:01:26.812Z] ---> a25aefad0eee [2023-07-20T19:01:26.812Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-07-20T19:01:26.812Z] ---> 9c18f0d5889c [2023-07-20T19:01:26.812Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-07-20T19:01:26.812Z] ---> 3c038134d6a3 [2023-07-20T19:01:26.812Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-07-20T19:01:27.379Z] ---> 7deec1313424 [2023-07-20T19:01:27.379Z] Step 20/25 : EXPOSE 59900 [2023-07-20T19:01:27.379Z] ---> Running in 6d5ceed7961f [2023-07-20T19:01:27.379Z] Removing intermediate container 6d5ceed7961f [2023-07-20T19:01:27.379Z] ---> 700731216819 [2023-07-20T19:01:27.379Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-07-20T19:01:27.379Z] ---> Running in 1227db418338 [2023-07-20T19:01:27.643Z] Removing intermediate container 1227db418338 [2023-07-20T19:01:27.643Z] ---> afe17d4c6488 [2023-07-20T19:01:27.643Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-20T19:01:27.643Z] ---> Running in 677dba2db17e [2023-07-20T19:01:27.643Z] Removing intermediate container 677dba2db17e [2023-07-20T19:01:27.643Z] ---> 94898de2747f [2023-07-20T19:01:27.643Z] Step 23/25 : LABEL arch=amd64 [2023-07-20T19:01:27.643Z] ---> Running in 612c407d463f [2023-07-20T19:01:27.643Z] Removing intermediate container 612c407d463f [2023-07-20T19:01:27.643Z] ---> 65b7c89f92a0 [2023-07-20T19:01:27.643Z] Step 24/25 : LABEL git_sha=8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [2023-07-20T19:01:27.643Z] ---> Running in 2a63033a297a [2023-07-20T19:01:27.909Z] Removing intermediate container 2a63033a297a [2023-07-20T19:01:27.909Z] ---> 2326f62a4c08 [2023-07-20T19:01:27.909Z] Step 25/25 : LABEL version=3.1.0-dev.2 [2023-07-20T19:01:27.909Z] ---> Running in 02dad66d0e85 [2023-07-20T19:01:27.909Z] Removing intermediate container 02dad66d0e85 [2023-07-20T19:01:27.909Z] ---> 5860e27f3ee2 [2023-07-20T19:01:27.909Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-20T19:01:27.909Z] Successfully built 5860e27f3ee2 [2023-07-20T19:01:27.909Z] 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-07-20T19:01:27.993Z] provisioning config files... [2023-07-20T19:01:28.013Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6305490242265864953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:01:28.332Z] ---> docker-login.sh [2023-07-20T19:01:28.332Z] nexus3.edgexfoundry.org:10001 [2023-07-20T19:01:28.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:01:28.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:01:28.332Z] Configure a credential helper to remove this warning. See [2023-07-20T19:01:28.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:01:28.332Z] [2023-07-20T19:01:28.332Z] Login Succeeded [2023-07-20T19:01:28.332Z] nexus3.edgexfoundry.org:10002 [2023-07-20T19:01:28.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:01:28.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:01:28.332Z] Configure a credential helper to remove this warning. See [2023-07-20T19:01:28.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:01:28.332Z] [2023-07-20T19:01:28.332Z] Login Succeeded [2023-07-20T19:01:28.332Z] nexus3.edgexfoundry.org:10003 [2023-07-20T19:01:28.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:01:28.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:01:28.590Z] Configure a credential helper to remove this warning. See [2023-07-20T19:01:28.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:01:28.590Z] [2023-07-20T19:01:28.590Z] Login Succeeded [2023-07-20T19:01:28.590Z] nexus3.edgexfoundry.org:10004 [2023-07-20T19:01:28.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:01:28.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:01:28.590Z] Configure a credential helper to remove this warning. See [2023-07-20T19:01:28.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:01:28.590Z] [2023-07-20T19:01:28.590Z] Login Succeeded [2023-07-20T19:01:28.590Z] docker.io [2023-07-20T19:01:28.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:01:28.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:01:28.851Z] Configure a credential helper to remove this warning. See [2023-07-20T19:01:28.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:01:28.851Z] [2023-07-20T19:01:28.851Z] Login Succeeded [2023-07-20T19:01:28.851Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T19:01:28.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-20T19:01:28.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T19:01:28.919Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-07-20T19:01:28.919Z] 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [2023-07-20T19:01:28.919Z] latest [2023-07-20T19:01:28.919Z] 3.1.0-dev.2 [2023-07-20T19:01:28.919Z] 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a-3.1.0-dev.2 [2023-07-20T19:01:28.919Z] main [2023-07-20T19:01:28.919Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:01:29.256Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:01:29.568Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [2023-07-20T19:01:29.568Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-07-20T19:01:29.568Z] 65bf175ef4f0: Preparing [2023-07-20T19:01:29.568Z] 6b4f87d923c4: Preparing [2023-07-20T19:01:29.568Z] f3cbe3bb2ba3: Preparing [2023-07-20T19:01:29.568Z] f5434514d033: Preparing [2023-07-20T19:01:29.568Z] 3dab9f8bf2d2: Preparing [2023-07-20T19:01:29.568Z] 3dab9f8bf2d2: Layer already exists [2023-07-20T19:01:29.568Z] f5434514d033: Pushed [2023-07-20T19:01:29.568Z] f3cbe3bb2ba3: Pushed [2023-07-20T19:01:29.568Z] 6b4f87d923c4: Pushed [2023-07-20T19:01:32.100Z] 65bf175ef4f0: Pushed [2023-07-20T19:01:32.100Z] 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a: digest: sha256:fbe476165f5880e92092d4acdde2ba969dcf38c74aeb40f82eb13fbed5c7a0be size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:01:32.403Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:01:32.705Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-07-20T19:01:32.705Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-07-20T19:01:32.705Z] 65bf175ef4f0: Preparing [2023-07-20T19:01:32.705Z] 6b4f87d923c4: Preparing [2023-07-20T19:01:32.705Z] f3cbe3bb2ba3: Preparing [2023-07-20T19:01:32.705Z] f5434514d033: Preparing [2023-07-20T19:01:32.705Z] 3dab9f8bf2d2: Preparing [2023-07-20T19:01:32.705Z] 3dab9f8bf2d2: Layer already exists [2023-07-20T19:01:32.705Z] f5434514d033: Layer already exists [2023-07-20T19:01:32.705Z] 6b4f87d923c4: Layer already exists [2023-07-20T19:01:32.705Z] 65bf175ef4f0: Layer already exists [2023-07-20T19:01:32.705Z] f3cbe3bb2ba3: Layer already exists [2023-07-20T19:01:32.705Z] latest: digest: sha256:fbe476165f5880e92092d4acdde2ba969dcf38c74aeb40f82eb13fbed5c7a0be size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:01:33.009Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:01:33.317Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.2 [2023-07-20T19:01:33.317Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-07-20T19:01:33.317Z] 65bf175ef4f0: Preparing [2023-07-20T19:01:33.317Z] 6b4f87d923c4: Preparing [2023-07-20T19:01:33.317Z] f3cbe3bb2ba3: Preparing [2023-07-20T19:01:33.317Z] f5434514d033: Preparing [2023-07-20T19:01:33.317Z] 3dab9f8bf2d2: Preparing [2023-07-20T19:01:33.317Z] 6b4f87d923c4: Layer already exists [2023-07-20T19:01:33.317Z] f5434514d033: Layer already exists [2023-07-20T19:01:33.317Z] f3cbe3bb2ba3: Layer already exists [2023-07-20T19:01:33.317Z] 3dab9f8bf2d2: Layer already exists [2023-07-20T19:01:33.317Z] 65bf175ef4f0: Layer already exists [2023-07-20T19:01:33.317Z] 3.1.0-dev.2: digest: sha256:fbe476165f5880e92092d4acdde2ba969dcf38c74aeb40f82eb13fbed5c7a0be size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:01:33.619Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8ad9699a6dce6de25ce5ac2145c2ba17367dec2a-3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:01:33.928Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:8ad9699a6dce6de25ce5ac2145c2ba17367dec2a-3.1.0-dev.2 [2023-07-20T19:01:33.928Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-07-20T19:01:33.928Z] 65bf175ef4f0: Preparing [2023-07-20T19:01:33.928Z] 6b4f87d923c4: Preparing [2023-07-20T19:01:33.928Z] f3cbe3bb2ba3: Preparing [2023-07-20T19:01:33.928Z] f5434514d033: Preparing [2023-07-20T19:01:33.928Z] 3dab9f8bf2d2: Preparing [2023-07-20T19:01:33.929Z] 6b4f87d923c4: Layer already exists [2023-07-20T19:01:33.929Z] f3cbe3bb2ba3: Layer already exists [2023-07-20T19:01:33.929Z] 65bf175ef4f0: Layer already exists [2023-07-20T19:01:33.929Z] f5434514d033: Layer already exists [2023-07-20T19:01:33.929Z] 3dab9f8bf2d2: Layer already exists [2023-07-20T19:01:33.929Z] 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a-3.1.0-dev.2: digest: sha256:fbe476165f5880e92092d4acdde2ba969dcf38c74aeb40f82eb13fbed5c7a0be size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:01:34.231Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:01:34.536Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-07-20T19:01:34.536Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-07-20T19:01:34.536Z] 65bf175ef4f0: Preparing [2023-07-20T19:01:34.536Z] 6b4f87d923c4: Preparing [2023-07-20T19:01:34.536Z] f3cbe3bb2ba3: Preparing [2023-07-20T19:01:34.536Z] f5434514d033: Preparing [2023-07-20T19:01:34.536Z] 3dab9f8bf2d2: Preparing [2023-07-20T19:01:34.536Z] 3dab9f8bf2d2: Layer already exists [2023-07-20T19:01:34.536Z] f5434514d033: Layer already exists [2023-07-20T19:01:34.536Z] 65bf175ef4f0: Layer already exists [2023-07-20T19:01:34.536Z] 6b4f87d923c4: Layer already exists [2023-07-20T19:01:34.536Z] f3cbe3bb2ba3: Layer already exists [2023-07-20T19:01:34.536Z] main: digest: sha256:fbe476165f5880e92092d4acdde2ba969dcf38c74aeb40f82eb13fbed5c7a0be size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-20T19:01:34.572Z] ===================================================== [Pipeline] echo [2023-07-20T19:01:34.578Z] taggedImages: [2023-07-20T19:01:34.578Z] - nexus3.edgexfoundry.org:10004/device-virtual:8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [2023-07-20T19:01:34.578Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-07-20T19:01:34.578Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.2 [2023-07-20T19:01:34.578Z] - nexus3.edgexfoundry.org:10004/device-virtual:8ad9699a6dce6de25ce5ac2145c2ba17367dec2a-3.1.0-dev.2 [2023-07-20T19:01:34.579Z] - 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-07-20T19:01:34.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T19:01:34.934Z] [2023-07-20T19:01:34.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:01:35.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T19:01:35.233Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-20T19:01:35.233Z] 5eb5b503b376: Pulling fs layer [2023-07-20T19:01:35.233Z] 5c69ac0246d0: Pulling fs layer [2023-07-20T19:01:35.233Z] ec43610c2a17: Pulling fs layer [2023-07-20T19:01:35.233Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-20T19:01:35.233Z] 33b1e0a273af: Pulling fs layer [2023-07-20T19:01:35.233Z] 5d3b04190fa2: Pulling fs layer [2023-07-20T19:01:35.233Z] 2f39f015ded8: Pulling fs layer [2023-07-20T19:01:35.233Z] 33b1e0a273af: Waiting [2023-07-20T19:01:35.233Z] 5d3b04190fa2: Waiting [2023-07-20T19:01:35.233Z] 2f39f015ded8: Waiting [2023-07-20T19:01:35.233Z] 3a2ae6a8a46f: Waiting [2023-07-20T19:01:35.233Z] 5c69ac0246d0: Verifying Checksum [2023-07-20T19:01:35.233Z] 5c69ac0246d0: Download complete [2023-07-20T19:01:35.233Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-20T19:01:35.233Z] 3a2ae6a8a46f: Download complete [2023-07-20T19:01:35.233Z] ec43610c2a17: Verifying Checksum [2023-07-20T19:01:35.233Z] ec43610c2a17: Download complete [2023-07-20T19:01:35.233Z] 33b1e0a273af: Verifying Checksum [2023-07-20T19:01:35.233Z] 33b1e0a273af: Download complete [2023-07-20T19:01:35.233Z] 5d3b04190fa2: Verifying Checksum [2023-07-20T19:01:35.233Z] 5d3b04190fa2: Download complete [2023-07-20T19:01:35.491Z] 5eb5b503b376: Verifying Checksum [2023-07-20T19:01:35.491Z] 5eb5b503b376: Download complete [2023-07-20T19:01:36.059Z] 2f39f015ded8: Verifying Checksum [2023-07-20T19:01:36.059Z] 2f39f015ded8: Download complete [2023-07-20T19:01:36.626Z] 5eb5b503b376: Pull complete [2023-07-20T19:01:36.626Z] 5c69ac0246d0: Pull complete [2023-07-20T19:01:37.192Z] ec43610c2a17: Pull complete [2023-07-20T19:01:37.192Z] 3a2ae6a8a46f: Pull complete [2023-07-20T19:01:37.450Z] 33b1e0a273af: Pull complete [2023-07-20T19:01:37.450Z] 5d3b04190fa2: Pull complete [2023-07-20T19:01:41.635Z] 2f39f015ded8: Pull complete [2023-07-20T19:01:41.635Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-20T19:01:41.635Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T19:01:41.635Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:01:41.717Z] prd-ubuntu20.04-docker-8c-8g-1672 does not seem to be running inside a container [2023-07-20T19:01:41.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-20T19:01:42.822Z] $ docker top dfe1628551c7a8b397ce2431b4a2bc72cb809df083d1e5779a2aa314e5781ad6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:01:43.202Z] ---> job-cost.sh [2023-07-20T19:01:43.202Z] lf-activate-venv: SKIPPING [2023-07-20T19:01:43.202Z] INFO: No Stack... [2023-07-20T19:01:43.461Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-20T19:01:43.719Z] INFO: Archiving Costs [Pipeline] sh [2023-07-20T19:01:44.005Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-07-20T19:01:44.005Z] + cut -d, -f6 [Pipeline] lock [2023-07-20T19:01:44.017Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-128-stack-cost] [2023-07-20T19:01:44.025Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-128-stack-cost] did not exist. Created. [2023-07-20T19:01:44.025Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-20T19:01:44.321Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-20T19:01:44.354Z] Stashed 1 file(s) [Pipeline] } [2023-07-20T19:01:44.361Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-20T19:01:44.378Z] $ docker stop --time=1 dfe1628551c7a8b397ce2431b4a2bc72cb809df083d1e5779a2aa314e5781ad6 [2023-07-20T19:01:45.527Z] $ docker rm -f --volumes dfe1628551c7a8b397ce2431b4a2bc72cb809df083d1e5779a2aa314e5781ad6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-20T19:03:41.995Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1673 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-07-20T19:03:42.011Z] Running in /w/workspace/device-virtual-go/128 [Pipeline] { [Pipeline] checkout [2023-07-20T19:03:42.043Z] The recommended git tool is: git [2023-07-20T19:03:50.854Z] using credential edgex-jenkins-ssh [2023-07-20T19:03:50.884Z] Cloning the remote Git repository [2023-07-20T19:03:51.010Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-07-20T19:03:51.121Z] > git init /w/workspace/device-virtual-go/128 # timeout=10 [2023-07-20T19:03:51.307Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-07-20T19:03:51.308Z] > git --version # timeout=10 [2023-07-20T19:03:51.338Z] > git --version # 'git version 2.25.1' [2023-07-20T19:03:51.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T19:03:51.578Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-20T19:03:54.034Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-07-20T19:03:54.155Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-20T19:03:55.524Z] Avoid second fetch [2023-07-20T19:03:55.525Z] Checking out Revision 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a (main) [2023-07-20T19:03:55.544Z] > git config core.sparsecheckout # timeout=10 [2023-07-20T19:03:55.657Z] > git checkout -f 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a # timeout=10 [2023-07-20T19:03:56.343Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#416)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T19:03:57.311Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-20T19:03:57.311Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-20T19:03:57.311Z] Dload Upload Total Spent Left Speed [2023-07-20T19:03:57.311Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2023-07-20T19:03:58.077Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-20T19:03:58.441Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-20T19:03:58.441Z] + sudo tee /etc/docker/daemon.new [2023-07-20T19:03:58.441Z] { [2023-07-20T19:03:58.441Z] "registry-mirrors": [ [2023-07-20T19:03:58.441Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-20T19:03:58.441Z] ], [2023-07-20T19:03:58.441Z] "bip": "10.250.0.254/24", [2023-07-20T19:03:58.441Z] "hosts": [ [2023-07-20T19:03:58.441Z] "tcp://0.0.0.0:5555", [2023-07-20T19:03:58.441Z] "unix:///var/run/docker.sock" [2023-07-20T19:03:58.441Z] ], [2023-07-20T19:03:58.441Z] "mtu": 1458, [2023-07-20T19:03:58.441Z] "selinux-enabled": true, [2023-07-20T19:03:58.441Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-20T19:03:58.441Z] } [Pipeline] sh [2023-07-20T19:03:58.781Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-20T19:03:59.153Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T19:04:17.433Z] provisioning config files... [2023-07-20T19:04:17.455Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/128@tmp/config11782334899352358658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:04:17.807Z] ---> docker-login.sh [2023-07-20T19:04:17.807Z] nexus3.edgexfoundry.org:10001 [2023-07-20T19:04:18.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:04:18.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:04:18.347Z] Configure a credential helper to remove this warning. See [2023-07-20T19:04:18.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:04:18.347Z] [2023-07-20T19:04:18.347Z] Login Succeeded [2023-07-20T19:04:18.347Z] nexus3.edgexfoundry.org:10002 [2023-07-20T19:04:18.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:04:18.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:04:18.884Z] Configure a credential helper to remove this warning. See [2023-07-20T19:04:18.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:04:18.884Z] [2023-07-20T19:04:18.884Z] Login Succeeded [2023-07-20T19:04:18.884Z] nexus3.edgexfoundry.org:10003 [2023-07-20T19:04:19.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:04:19.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:04:19.154Z] Configure a credential helper to remove this warning. See [2023-07-20T19:04:19.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:04:19.154Z] [2023-07-20T19:04:19.154Z] Login Succeeded [2023-07-20T19:04:19.154Z] nexus3.edgexfoundry.org:10004 [2023-07-20T19:04:19.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:04:19.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:04:19.423Z] Configure a credential helper to remove this warning. See [2023-07-20T19:04:19.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:04:19.423Z] [2023-07-20T19:04:19.423Z] Login Succeeded [2023-07-20T19:04:19.423Z] docker.io [2023-07-20T19:04:19.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:04:19.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:04:19.959Z] Configure a credential helper to remove this warning. See [2023-07-20T19:04:19.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:04:19.959Z] [2023-07-20T19:04:19.959Z] Login Succeeded [2023-07-20T19:04:19.959Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T19:04:19.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-20T19:04:20.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T19:04:20.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T19:04:20.233Z] ========================================================= [2023-07-20T19:04:20.233Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-20T19:04:20.233Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:04:20.570Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-20T19:04:20.837Z] Sending build context to Docker daemon 11.88MB [2023-07-20T19:04:20.837Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-20T19:04:20.837Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-20T19:04:21.111Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-20T19:04:21.111Z] edb6bdbacee9: Pulling fs layer [2023-07-20T19:04:21.111Z] 5f9638ab2659: Pulling fs layer [2023-07-20T19:04:21.111Z] 8d51d6327a98: Pulling fs layer [2023-07-20T19:04:21.111Z] 8b374f2dd631: Pulling fs layer [2023-07-20T19:04:21.111Z] ec14aa9079de: Pulling fs layer [2023-07-20T19:04:21.111Z] 2f466654f4bb: Pulling fs layer [2023-07-20T19:04:21.111Z] 554e91adad29: Pulling fs layer [2023-07-20T19:04:21.111Z] ec14aa9079de: Waiting [2023-07-20T19:04:21.111Z] 8b374f2dd631: Waiting [2023-07-20T19:04:21.111Z] 2f466654f4bb: Waiting [2023-07-20T19:04:21.111Z] 554e91adad29: Waiting [2023-07-20T19:04:21.111Z] 5f9638ab2659: Verifying Checksum [2023-07-20T19:04:21.111Z] 5f9638ab2659: Download complete [2023-07-20T19:04:21.111Z] 8b374f2dd631: Verifying Checksum [2023-07-20T19:04:21.111Z] 8b374f2dd631: Download complete [2023-07-20T19:04:21.111Z] ec14aa9079de: Verifying Checksum [2023-07-20T19:04:21.111Z] ec14aa9079de: Download complete [2023-07-20T19:04:21.111Z] edb6bdbacee9: Verifying Checksum [2023-07-20T19:04:21.111Z] edb6bdbacee9: Download complete [2023-07-20T19:04:22.096Z] edb6bdbacee9: Pull complete [2023-07-20T19:04:22.685Z] 554e91adad29: Verifying Checksum [2023-07-20T19:04:22.685Z] 554e91adad29: Download complete [2023-07-20T19:04:22.685Z] 5f9638ab2659: Pull complete [2023-07-20T19:04:23.657Z] 8d51d6327a98: Download complete [2023-07-20T19:04:23.926Z] 2f466654f4bb: Verifying Checksum [2023-07-20T19:04:23.926Z] 2f466654f4bb: Download complete [2023-07-20T19:04:36.298Z] 8d51d6327a98: Pull complete [2023-07-20T19:04:36.298Z] 8b374f2dd631: Pull complete [2023-07-20T19:04:36.298Z] ec14aa9079de: Pull complete [2023-07-20T19:04:43.507Z] 2f466654f4bb: Pull complete [2023-07-20T19:04:46.094Z] 554e91adad29: Pull complete [2023-07-20T19:04:46.094Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-20T19:04:46.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-20T19:04:46.094Z] ---> 1e15ea492957 [2023-07-20T19:04:46.094Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-20T19:04:47.511Z] ---> Running in c491648abb8d [2023-07-20T19:04:47.781Z] Removing intermediate container c491648abb8d [2023-07-20T19:04:47.781Z] ---> 3e4b984cc095 [2023-07-20T19:04:47.781Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-20T19:04:47.781Z] ---> Running in 78c674891388 [2023-07-20T19:04:48.049Z] Removing intermediate container 78c674891388 [2023-07-20T19:04:48.049Z] ---> d5b9aa9ce310 [2023-07-20T19:04:48.049Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-20T19:04:48.319Z] ---> Running in 8c635e8a54b7 [2023-07-20T19:04:48.587Z] Removing intermediate container 8c635e8a54b7 [2023-07-20T19:04:48.587Z] ---> a7642e932f6f [2023-07-20T19:04:48.587Z] Step 6/12 : WORKDIR /device-virtual-go [2023-07-20T19:04:48.587Z] ---> Running in 2294c21a50e2 [2023-07-20T19:04:48.855Z] Removing intermediate container 2294c21a50e2 [2023-07-20T19:04:48.855Z] ---> 55322f3ff6c6 [2023-07-20T19:04:48.855Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-20T19:04:48.855Z] ---> Running in 8d9f499d58f0 [2023-07-20T19:04:50.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-20T19:04:50.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-20T19:04:51.501Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-07-20T19:04:51.501Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-20T19:04:51.501Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-07-20T19:04:51.501Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-07-20T19:04:51.501Z] Executing busybox-1.35.0-r29.trigger [2023-07-20T19:04:51.501Z] OK: 268 MiB in 57 packages [2023-07-20T19:04:52.460Z] Removing intermediate container 8d9f499d58f0 [2023-07-20T19:04:52.460Z] ---> 019f10d1cafe [2023-07-20T19:04:52.460Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-20T19:04:53.047Z] ---> 60b214d79412 [2023-07-20T19:04:53.047Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-20T19:04:53.047Z] ---> Running in 74a4e3ffb8f0 [2023-07-20T19:06:00.923Z] Removing intermediate container 74a4e3ffb8f0 [2023-07-20T19:06:00.923Z] ---> 325575fe9c25 [2023-07-20T19:06:00.923Z] Step 10/12 : COPY . . [2023-07-20T19:06:00.923Z] ---> 57990a460845 [2023-07-20T19:06:00.923Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-20T19:06:00.923Z] ---> Running in b2858568ae71 [2023-07-20T19:06:00.923Z] Removing intermediate container b2858568ae71 [2023-07-20T19:06:00.923Z] ---> 5b9cb8044128 [2023-07-20T19:06:00.923Z] Step 12/12 : RUN $MAKE [2023-07-20T19:06:00.923Z] ---> Running in e599f8400528 [2023-07-20T19:06:01.191Z] noop [2023-07-20T19:06:01.774Z] Removing intermediate container e599f8400528 [2023-07-20T19:06:01.774Z] ---> 6eaa41246191 [2023-07-20T19:06:01.774Z] Successfully built 6eaa41246191 [2023-07-20T19:06:01.774Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:06:02.127Z] + docker inspect -f . ci-base-image-arm64 [2023-07-20T19:06:02.127Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:06:02.299Z] prd-ubuntu20.04-docker-arm64-4c-16g-1673 does not seem to be running inside a container [2023-07-20T19:06:02.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/128 -v /w/workspace/device-virtual-go/128:/w/workspace/device-virtual-go/128:rw,z -v /w/workspace/device-virtual-go/128@tmp:/w/workspace/device-virtual-go/128@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-07-20T19:06:05.063Z] $ docker top 56d6d57a17aa0488f9ca7e7da2fb90bd00196add2da8fb65958363adaa5b23e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T19:06:05.868Z] + go version [2023-07-20T19:06:05.868Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-20T19:06:05.888Z] $ docker stop --time=1 56d6d57a17aa0488f9ca7e7da2fb90bd00196add2da8fb65958363adaa5b23e1 [2023-07-20T19:06:07.457Z] $ docker rm -f --volumes 56d6d57a17aa0488f9ca7e7da2fb90bd00196add2da8fb65958363adaa5b23e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:06:07.977Z] + docker inspect -f . ci-base-image-arm64 [2023-07-20T19:06:07.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:06:08.163Z] prd-ubuntu20.04-docker-arm64-4c-16g-1673 does not seem to be running inside a container [2023-07-20T19:06:08.229Z] $ 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/128 -v /w/workspace/device-virtual-go/128:/w/workspace/device-virtual-go/128:rw,z -v /w/workspace/device-virtual-go/128@tmp:/w/workspace/device-virtual-go/128@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-07-20T19:06:09.304Z] $ docker top e433c8c67ef751352151e965b1b7d938a0c474810dca96a0562e5b1562fddfac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T19:06:09.803Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/128 [Pipeline] fileExists [Pipeline] sh [2023-07-20T19:06:10.138Z] + make test [2023-07-20T19:06:10.138Z] go test ./... -coverprofile=coverage.out [2023-07-20T19:06:42.354Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-07-20T19:08:19.552Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-07-20T19:08:20.508Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.087s coverage: 58.4% of statements [2023-07-20T19:08:21.092Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-20T19:08:21.092Z] go vet ./... [2023-07-20T19:08:47.775Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-20T19:08:47.775Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-20T19:08:47.775Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-20T19:08:47.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-20T19:08:47.809Z] $ docker stop --time=1 e433c8c67ef751352151e965b1b7d938a0c474810dca96a0562e5b1562fddfac [2023-07-20T19:08:49.620Z] $ docker rm -f --volumes e433c8c67ef751352151e965b1b7d938a0c474810dca96a0562e5b1562fddfac [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-20T19:08:50.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-20T19:08:50.731Z] Warning: overwriting stash ‘coverage-report’ [2023-07-20T19:08:51.146Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T19:08:51.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-20T19:08:51.821Z] + ls -al . [2023-07-20T19:08:51.821Z] total 196 [2023-07-20T19:08:51.821Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 19:06 . [2023-07-20T19:08:51.821Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 19:03 .. [2023-07-20T19:08:51.822Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 19:03 .git [2023-07-20T19:08:51.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:03 .github [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 337 Jul 20 19:03 .gitignore [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 19:03 .golangci.yml [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 9050 Jul 20 19:03 Attribution.txt [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 14372 Jul 20 19:03 CHANGELOG.md [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jul 20 19:03 Dockerfile [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 19:03 GOVERNANCE.md [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 20 19:03 Jenkinsfile [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 19:03 LICENSE [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 1947 Jul 20 19:03 Makefile [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 20 19:03 OWNERS.md [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 4111 Jul 20 19:03 README.md [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 20 18:59 VERSION [2023-07-20T19:08:51.822Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 19:03 bin [2023-07-20T19:08:51.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:03 cmd [2023-07-20T19:08:51.822Z] -rw-r--r-- 1 jenkins jenkins 43063 Jul 20 19:08 coverage.out [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 3375 Jul 20 19:03 go.mod [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 32023 Jul 20 19:03 go.sum [2023-07-20T19:08:51.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:03 internal [2023-07-20T19:08:51.822Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 19:03 snap [2023-07-20T19:08:51.822Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 20 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:08:52.163Z] + 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=8ad9699a6dce6de25ce5ac2145c2ba17367dec2a --label arch=arm64 --label version=3.1.0-dev.2 . [2023-07-20T19:08:52.429Z] Sending build context to Docker daemon 11.93MB [2023-07-20T19:08:52.429Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-20T19:08:52.429Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-20T19:08:52.429Z] ---> 6eaa41246191 [2023-07-20T19:08:52.429Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-20T19:08:52.696Z] ---> Running in c7c30aa8e191 [2023-07-20T19:08:52.961Z] Removing intermediate container c7c30aa8e191 [2023-07-20T19:08:52.961Z] ---> e501cef3a6ff [2023-07-20T19:08:52.961Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-20T19:08:52.961Z] ---> Running in 2014f3fdaec5 [2023-07-20T19:08:53.228Z] Removing intermediate container 2014f3fdaec5 [2023-07-20T19:08:53.228Z] ---> d3279740b644 [2023-07-20T19:08:53.228Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-20T19:08:53.228Z] ---> Running in ed8f80f84c03 [2023-07-20T19:08:53.497Z] Removing intermediate container ed8f80f84c03 [2023-07-20T19:08:53.497Z] ---> f17640da1103 [2023-07-20T19:08:53.497Z] Step 6/25 : WORKDIR /device-virtual-go [2023-07-20T19:08:53.765Z] ---> Running in 9bcd09b918a7 [2023-07-20T19:08:54.032Z] Removing intermediate container 9bcd09b918a7 [2023-07-20T19:08:54.032Z] ---> 2eabbf5d1790 [2023-07-20T19:08:54.032Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-20T19:08:54.032Z] ---> Running in c58fa85d9369 [2023-07-20T19:08:54.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-20T19:08:55.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-20T19:08:56.530Z] OK: 268 MiB in 57 packages [2023-07-20T19:08:57.495Z] Removing intermediate container c58fa85d9369 [2023-07-20T19:08:57.495Z] ---> 1adaa24b9dee [2023-07-20T19:08:57.495Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-20T19:08:59.437Z] ---> 71167a327580 [2023-07-20T19:08:59.437Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-20T19:08:59.437Z] ---> Running in 1e067dfa0daf [2023-07-20T19:09:02.021Z] Removing intermediate container 1e067dfa0daf [2023-07-20T19:09:02.021Z] ---> 1f798d92f24d [2023-07-20T19:09:02.021Z] Step 10/25 : COPY . . [2023-07-20T19:09:02.982Z] ---> 78524cdf5fd2 [2023-07-20T19:09:02.982Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-20T19:09:02.982Z] ---> Running in efae7c7af105 [2023-07-20T19:09:03.250Z] Removing intermediate container efae7c7af105 [2023-07-20T19:09:03.250Z] ---> 56326f570808 [2023-07-20T19:09:03.250Z] Step 12/25 : RUN $MAKE [2023-07-20T19:09:03.250Z] ---> Running in e1c449b01752 [2023-07-20T19:09:04.216Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.8" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-07-20T19:11:10.885Z] Removing intermediate container e1c449b01752 [2023-07-20T19:11:10.885Z] ---> 14ea0b43503d [2023-07-20T19:11:10.885Z] Step 13/25 : FROM alpine:3.17 [2023-07-20T19:11:10.885Z] 3.17: Pulling from library/alpine [2023-07-20T19:11:10.885Z] edb6bdbacee9: Already exists [2023-07-20T19:11:10.885Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-20T19:11:10.885Z] Status: Downloaded newer image for alpine:3.17 [2023-07-20T19:11:10.885Z] ---> 779605e5fbc0 [2023-07-20T19:11:10.885Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-07-20T19:11:10.885Z] ---> Running in cda2cb4c3a4a [2023-07-20T19:11:10.885Z] Removing intermediate container cda2cb4c3a4a [2023-07-20T19:11:10.885Z] ---> d61559ff24b0 [2023-07-20T19:11:10.885Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-07-20T19:11:10.885Z] ---> Running in 5f3905b98352 [2023-07-20T19:11:10.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-20T19:11:10.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-20T19:11:10.885Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-20T19:11:10.885Z] Executing busybox-1.35.0-r29.trigger [2023-07-20T19:11:10.885Z] OK: 8 MiB in 16 packages [2023-07-20T19:11:10.885Z] Removing intermediate container 5f3905b98352 [2023-07-20T19:11:10.885Z] ---> d5b97fd9514e [2023-07-20T19:11:10.885Z] Step 16/25 : WORKDIR / [2023-07-20T19:11:10.885Z] ---> Running in e25b48bfe9f2 [2023-07-20T19:11:10.885Z] Removing intermediate container e25b48bfe9f2 [2023-07-20T19:11:10.885Z] ---> d838b6e77e07 [2023-07-20T19:11:10.885Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-07-20T19:11:10.885Z] ---> 6663b4435bcd [2023-07-20T19:11:10.885Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-07-20T19:11:10.885Z] ---> e681bc608313 [2023-07-20T19:11:10.885Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-07-20T19:11:10.885Z] ---> 0513560efc76 [2023-07-20T19:11:10.885Z] Step 20/25 : EXPOSE 59900 [2023-07-20T19:11:10.885Z] ---> Running in 2aee88055de2 [2023-07-20T19:11:11.157Z] Removing intermediate container 2aee88055de2 [2023-07-20T19:11:11.157Z] ---> 31e49e24fc14 [2023-07-20T19:11:11.157Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-07-20T19:11:11.157Z] ---> Running in 583d669a0fb5 [2023-07-20T19:11:11.426Z] Removing intermediate container 583d669a0fb5 [2023-07-20T19:11:11.426Z] ---> c95ee1bae0bd [2023-07-20T19:11:11.426Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-20T19:11:11.694Z] ---> Running in a43726410e6d [2023-07-20T19:11:11.960Z] Removing intermediate container a43726410e6d [2023-07-20T19:11:11.960Z] ---> 27c6117d8200 [2023-07-20T19:11:11.960Z] Step 23/25 : LABEL arch=arm64 [2023-07-20T19:11:11.960Z] ---> Running in ca2334309693 [2023-07-20T19:11:12.229Z] Removing intermediate container ca2334309693 [2023-07-20T19:11:12.229Z] ---> 37b09a064abe [2023-07-20T19:11:12.229Z] Step 24/25 : LABEL git_sha=8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [2023-07-20T19:11:12.229Z] ---> Running in ee73a1468aee [2023-07-20T19:11:12.504Z] Removing intermediate container ee73a1468aee [2023-07-20T19:11:12.504Z] ---> efcce57cccad [2023-07-20T19:11:12.504Z] Step 25/25 : LABEL version=3.1.0-dev.2 [2023-07-20T19:11:12.773Z] ---> Running in 163752cefc88 [2023-07-20T19:11:13.039Z] Removing intermediate container 163752cefc88 [2023-07-20T19:11:13.039Z] ---> d1999148e0e5 [2023-07-20T19:11:13.039Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-20T19:11:13.039Z] Successfully built d1999148e0e5 [2023-07-20T19:11:13.039Z] 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-07-20T19:11:13.174Z] provisioning config files... [2023-07-20T19:11:13.187Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/128@tmp/config3711638111164883607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:11:13.515Z] ---> docker-login.sh [2023-07-20T19:11:13.516Z] nexus3.edgexfoundry.org:10001 [2023-07-20T19:11:13.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:11:13.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:11:13.782Z] Configure a credential helper to remove this warning. See [2023-07-20T19:11:13.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:11:13.782Z] [2023-07-20T19:11:13.782Z] Login Succeeded [2023-07-20T19:11:13.782Z] nexus3.edgexfoundry.org:10002 [2023-07-20T19:11:14.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:11:14.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:11:14.049Z] Configure a credential helper to remove this warning. See [2023-07-20T19:11:14.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:11:14.049Z] [2023-07-20T19:11:14.049Z] Login Succeeded [2023-07-20T19:11:14.049Z] nexus3.edgexfoundry.org:10003 [2023-07-20T19:11:14.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:11:14.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:11:14.583Z] Configure a credential helper to remove this warning. See [2023-07-20T19:11:14.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:11:14.583Z] [2023-07-20T19:11:14.583Z] Login Succeeded [2023-07-20T19:11:14.583Z] nexus3.edgexfoundry.org:10004 [2023-07-20T19:11:14.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:11:14.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:11:14.849Z] Configure a credential helper to remove this warning. See [2023-07-20T19:11:14.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:11:14.849Z] [2023-07-20T19:11:14.849Z] Login Succeeded [2023-07-20T19:11:14.849Z] docker.io [2023-07-20T19:11:15.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:11:15.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:11:15.378Z] Configure a credential helper to remove this warning. See [2023-07-20T19:11:15.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:11:15.378Z] [2023-07-20T19:11:15.378Z] Login Succeeded [2023-07-20T19:11:15.378Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T19:11:15.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-20T19:11:15.416Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T19:11:15.437Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-07-20T19:11:15.438Z] 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [2023-07-20T19:11:15.438Z] latest [2023-07-20T19:11:15.438Z] 3.1.0-dev.2 [2023-07-20T19:11:15.438Z] 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a-3.1.0-dev.2 [2023-07-20T19:11:15.438Z] main [2023-07-20T19:11:15.438Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:15.778Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:16.199Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [2023-07-20T19:11:16.199Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-07-20T19:11:16.199Z] 048e87696999: Preparing [2023-07-20T19:11:16.199Z] 736892fb55cf: Preparing [2023-07-20T19:11:16.199Z] a52e51a40582: Preparing [2023-07-20T19:11:16.199Z] 12eed3aa8049: Preparing [2023-07-20T19:11:16.199Z] 9386262d7a74: Preparing [2023-07-20T19:11:16.199Z] 9386262d7a74: Layer already exists [2023-07-20T19:11:16.199Z] a52e51a40582: Pushed [2023-07-20T19:11:16.472Z] 736892fb55cf: Pushed [2023-07-20T19:11:16.472Z] 12eed3aa8049: Pushed [2023-07-20T19:11:21.850Z] 048e87696999: Pushed [2023-07-20T19:11:21.850Z] 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a: digest: sha256:d9fc267270071f92d4d5f3cced95caefc354c2d5406506e156c50a495ab0b5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:22.192Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:22.525Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-07-20T19:11:22.525Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-07-20T19:11:22.525Z] 048e87696999: Preparing [2023-07-20T19:11:22.526Z] 736892fb55cf: Preparing [2023-07-20T19:11:22.526Z] a52e51a40582: Preparing [2023-07-20T19:11:22.526Z] 12eed3aa8049: Preparing [2023-07-20T19:11:22.526Z] 9386262d7a74: Preparing [2023-07-20T19:11:22.526Z] 048e87696999: Layer already exists [2023-07-20T19:11:22.526Z] 736892fb55cf: Layer already exists [2023-07-20T19:11:22.526Z] 9386262d7a74: Layer already exists [2023-07-20T19:11:22.526Z] 12eed3aa8049: Layer already exists [2023-07-20T19:11:22.526Z] a52e51a40582: Layer already exists [2023-07-20T19:11:22.526Z] latest: digest: sha256:d9fc267270071f92d4d5f3cced95caefc354c2d5406506e156c50a495ab0b5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:22.865Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:23.197Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.2 [2023-07-20T19:11:23.197Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-07-20T19:11:23.197Z] 048e87696999: Preparing [2023-07-20T19:11:23.197Z] 736892fb55cf: Preparing [2023-07-20T19:11:23.197Z] a52e51a40582: Preparing [2023-07-20T19:11:23.197Z] 12eed3aa8049: Preparing [2023-07-20T19:11:23.197Z] 9386262d7a74: Preparing [2023-07-20T19:11:23.197Z] 9386262d7a74: Layer already exists [2023-07-20T19:11:23.197Z] 736892fb55cf: Layer already exists [2023-07-20T19:11:23.197Z] 12eed3aa8049: Layer already exists [2023-07-20T19:11:23.197Z] a52e51a40582: Layer already exists [2023-07-20T19:11:23.197Z] 048e87696999: Layer already exists [2023-07-20T19:11:23.197Z] 3.1.0-dev.2: digest: sha256:d9fc267270071f92d4d5f3cced95caefc354c2d5406506e156c50a495ab0b5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:23.534Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8ad9699a6dce6de25ce5ac2145c2ba17367dec2a-3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:23.864Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8ad9699a6dce6de25ce5ac2145c2ba17367dec2a-3.1.0-dev.2 [2023-07-20T19:11:23.865Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-07-20T19:11:23.865Z] 048e87696999: Preparing [2023-07-20T19:11:23.865Z] 736892fb55cf: Preparing [2023-07-20T19:11:23.865Z] a52e51a40582: Preparing [2023-07-20T19:11:23.865Z] 12eed3aa8049: Preparing [2023-07-20T19:11:23.865Z] 9386262d7a74: Preparing [2023-07-20T19:11:23.865Z] a52e51a40582: Layer already exists [2023-07-20T19:11:23.865Z] 9386262d7a74: Layer already exists [2023-07-20T19:11:23.865Z] 048e87696999: Layer already exists [2023-07-20T19:11:23.865Z] 736892fb55cf: Layer already exists [2023-07-20T19:11:23.865Z] 12eed3aa8049: Layer already exists [2023-07-20T19:11:23.865Z] 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a-3.1.0-dev.2: digest: sha256:d9fc267270071f92d4d5f3cced95caefc354c2d5406506e156c50a495ab0b5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:24.198Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:24.534Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-07-20T19:11:24.535Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-07-20T19:11:24.535Z] 048e87696999: Preparing [2023-07-20T19:11:24.535Z] 736892fb55cf: Preparing [2023-07-20T19:11:24.535Z] a52e51a40582: Preparing [2023-07-20T19:11:24.535Z] 12eed3aa8049: Preparing [2023-07-20T19:11:24.535Z] 9386262d7a74: Preparing [2023-07-20T19:11:24.535Z] 9386262d7a74: Layer already exists [2023-07-20T19:11:24.535Z] a52e51a40582: Layer already exists [2023-07-20T19:11:24.535Z] 12eed3aa8049: Layer already exists [2023-07-20T19:11:24.535Z] 736892fb55cf: Layer already exists [2023-07-20T19:11:24.535Z] 048e87696999: Layer already exists [2023-07-20T19:11:24.535Z] main: digest: sha256:d9fc267270071f92d4d5f3cced95caefc354c2d5406506e156c50a495ab0b5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-20T19:11:24.580Z] ===================================================== [Pipeline] echo [2023-07-20T19:11:24.593Z] taggedImages: [2023-07-20T19:11:24.593Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [2023-07-20T19:11:24.593Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-07-20T19:11:24.593Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.2 [2023-07-20T19:11:24.593Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8ad9699a6dce6de25ce5ac2145c2ba17367dec2a-3.1.0-dev.2 [2023-07-20T19:11:24.593Z] - 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-07-20T19:11:24.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T19:11:24.948Z] [2023-07-20T19:11:24.948Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:25.274Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T19:11:25.274Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-20T19:11:25.274Z] 8998bd30e6a1: Pulling fs layer [2023-07-20T19:11:25.274Z] 04944245beec: Pulling fs layer [2023-07-20T19:11:25.274Z] 699f458cf7ca: Pulling fs layer [2023-07-20T19:11:25.274Z] 765212b225bb: Pulling fs layer [2023-07-20T19:11:25.274Z] f23df028b6ca: Pulling fs layer [2023-07-20T19:11:25.274Z] d65c8cfc05b1: Pulling fs layer [2023-07-20T19:11:25.274Z] 2437ff75d9bd: Pulling fs layer [2023-07-20T19:11:25.274Z] f23df028b6ca: Waiting [2023-07-20T19:11:25.274Z] d65c8cfc05b1: Waiting [2023-07-20T19:11:25.274Z] 2437ff75d9bd: Waiting [2023-07-20T19:11:25.274Z] 765212b225bb: Waiting [2023-07-20T19:11:25.540Z] 04944245beec: Verifying Checksum [2023-07-20T19:11:25.540Z] 04944245beec: Download complete [2023-07-20T19:11:25.540Z] 765212b225bb: Verifying Checksum [2023-07-20T19:11:25.540Z] 765212b225bb: Download complete [2023-07-20T19:11:25.540Z] f23df028b6ca: Download complete [2023-07-20T19:11:25.540Z] d65c8cfc05b1: Verifying Checksum [2023-07-20T19:11:25.540Z] d65c8cfc05b1: Download complete [2023-07-20T19:11:25.540Z] 699f458cf7ca: Verifying Checksum [2023-07-20T19:11:25.540Z] 699f458cf7ca: Download complete [2023-07-20T19:11:26.123Z] 8998bd30e6a1: Verifying Checksum [2023-07-20T19:11:26.123Z] 8998bd30e6a1: Download complete [2023-07-20T19:11:28.065Z] 2437ff75d9bd: Verifying Checksum [2023-07-20T19:11:28.065Z] 2437ff75d9bd: Download complete [2023-07-20T19:11:30.002Z] 8998bd30e6a1: Pull complete [2023-07-20T19:11:30.269Z] 04944245beec: Pull complete [2023-07-20T19:11:31.672Z] 699f458cf7ca: Pull complete [2023-07-20T19:11:31.672Z] 765212b225bb: Pull complete [2023-07-20T19:11:32.629Z] f23df028b6ca: Pull complete [2023-07-20T19:11:32.629Z] d65c8cfc05b1: Pull complete [2023-07-20T19:11:47.644Z] 2437ff75d9bd: Pull complete [2023-07-20T19:11:47.644Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-20T19:11:47.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T19:11:47.644Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:11:47.827Z] prd-ubuntu20.04-docker-arm64-4c-16g-1673 does not seem to be running inside a container [2023-07-20T19:11:47.895Z] $ 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/128 -v /w/workspace/device-virtual-go/128:/w/workspace/device-virtual-go/128:rw,z -v /w/workspace/device-virtual-go/128@tmp:/w/workspace/device-virtual-go/128@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-07-20T19:11:50.381Z] $ docker top bc41adbfb2e6fd770b91e80cfa36fd737119987b5f90ddaac828bde516d9de6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:11:51.205Z] ---> job-cost.sh [2023-07-20T19:11:51.205Z] lf-activate-venv: SKIPPING [2023-07-20T19:11:51.205Z] INFO: No Stack... [2023-07-20T19:11:51.784Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-20T19:11:52.364Z] INFO: Archiving Costs [Pipeline] sh [2023-07-20T19:11:52.946Z] + cut -d, -f6 [2023-07-20T19:11:52.946Z] + cat /w/workspace/device-virtual-go/128/archives/cost.csv [Pipeline] lock [2023-07-20T19:11:53.246Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-128-stack-cost] [2023-07-20T19:11:53.251Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-128-stack-cost] did not exist. Created. [2023-07-20T19:11:53.252Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-20T19:11:53.588Z] /w/workspace/device-virtual-go/128@tmp/durable-66f4c4df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-20T19:11:53.919Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-20T19:11:53.938Z] Warning: overwriting stash ‘stack-cost’ [2023-07-20T19:11:53.989Z] Stashed 1 file(s) [Pipeline] } [2023-07-20T19:11:53.995Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-20T19:11:54.017Z] $ docker stop --time=1 bc41adbfb2e6fd770b91e80cfa36fd737119987b5f90ddaac828bde516d9de6e [2023-07-20T19:11:55.471Z] $ docker rm -f --volumes bc41adbfb2e6fd770b91e80cfa36fd737119987b5f90ddaac828bde516d9de6e [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-07-20T19:11:55.903Z] provisioning config files... [2023-07-20T19:11:55.909Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9791907516195656990tmp [Pipeline] { [Pipeline] sh [2023-07-20T19:11:56.203Z] + set +x [2023-07-20T19:11:56.203Z] + + curl -s https://codecov.io/bash [2023-07-20T19:11:56.203Z] bash -s -- [2023-07-20T19:11:56.203Z] [2023-07-20T19:11:56.203Z] _____ _ [2023-07-20T19:11:56.203Z] / ____| | | [2023-07-20T19:11:56.203Z] | | ___ __| | ___ ___ _____ __ [2023-07-20T19:11:56.203Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-20T19:11:56.203Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-20T19:11:56.203Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-20T19:11:56.203Z] Bash-1.0.6 [2023-07-20T19:11:56.203Z] [2023-07-20T19:11:56.203Z] [2023-07-20T19:11:56.203Z] ==> git version 2.25.1 found [2023-07-20T19:11:56.203Z] ==> 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-07-20T19:11:56.203Z] Release-Date: 2020-01-08 [2023-07-20T19:11:56.203Z] 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-07-20T19:11:56.203Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-20T19:11:56.203Z] ==> Jenkins CI detected. [2023-07-20T19:11:56.203Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-07-20T19:11:56.203Z] project root: . [2023-07-20T19:11:56.203Z] --> token set from env [2023-07-20T19:11:56.203Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-20T19:11:56.203Z] ==> Running gcov in . (disable via -X gcov) [2023-07-20T19:11:56.203Z] ==> Python coveragepy not found [2023-07-20T19:11:56.203Z] ==> Searching for coverage reports in: [2023-07-20T19:11:56.203Z] + . [2023-07-20T19:11:56.203Z] -> Found 1 reports [2023-07-20T19:11:56.203Z] ==> Detecting git/mercurial file structure [2023-07-20T19:11:56.203Z] ==> Reading reports [2023-07-20T19:11:56.463Z] + ./coverage.out bytes=43063 [2023-07-20T19:11:56.463Z] ==> Appending adjustments [2023-07-20T19:11:56.463Z] https://docs.codecov.io/docs/fixing-reports [2023-07-20T19:11:56.463Z] + Found adjustments [2023-07-20T19:11:56.463Z] ==> Gzipping contents [2023-07-20T19:11:56.463Z] 8.0K /tmp/codecov.FM6kVu.gz [2023-07-20T19:11:56.463Z] ==> Uploading reports [2023-07-20T19:11:56.463Z] url: https://codecov.io [2023-07-20T19:11:56.463Z] query: branch=main&commit=8ad9699a6dce6de25ce5ac2145c2ba17367dec2a&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-20T19:11:56.463Z] -> Pinging Codecov [2023-07-20T19:11:56.463Z] 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=8ad9699a6dce6de25ce5ac2145c2ba17367dec2a&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-20T19:11:56.463Z] -> Uploading to [2023-07-20T19:11:56.463Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-20/5E52B4B073DB2E39498172D8E973AA87/8ad9699a6dce6de25ce5ac2145c2ba17367dec2a/b8ee6ec3-7f44-4e5b-9d9b-a4d0c3d9a8d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230720T191156Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2bde22c0efa39ea85176f0931296577e225cccc0b86a202dcaff1d296267c1c6 [2023-07-20T19:11:56.463Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-20T19:11:56.463Z] Dload Upload Total Spent Left Speed [2023-07-20T19:11:56.722Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 24452 --:--:-- --:--:-- --:--:-- 24338 100 5184 0 0 100 5184 0 21333 --:--:-- --:--:-- --:--:-- 21245 [2023-07-20T19:11:56.722Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [Pipeline] } [2023-07-20T19:11:56.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-07-20T19:11:56.941Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-07-20T19:11:56.952Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:57.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-20T19:11:57.258Z] [2023-07-20T19:11:57.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:11:57.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-20T19:11:57.558Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-07-20T19:11:57.558Z] df9b9388f04a: Pulling fs layer [2023-07-20T19:11:57.558Z] 52dc419b0ee2: Pulling fs layer [2023-07-20T19:11:57.558Z] 25bc292e5bac: Pulling fs layer [2023-07-20T19:11:57.558Z] 114826534d7a: Pulling fs layer [2023-07-20T19:11:57.558Z] 4657fd5d0bcf: Pulling fs layer [2023-07-20T19:11:57.558Z] 6ad1cebc031e: Pulling fs layer [2023-07-20T19:11:57.558Z] 8a3aa393b2d8: Pulling fs layer [2023-07-20T19:11:57.558Z] 4657fd5d0bcf: Waiting [2023-07-20T19:11:57.558Z] 6ad1cebc031e: Waiting [2023-07-20T19:11:57.558Z] 114826534d7a: Waiting [2023-07-20T19:11:57.558Z] 8a3aa393b2d8: Waiting [2023-07-20T19:11:57.558Z] 25bc292e5bac: Verifying Checksum [2023-07-20T19:11:57.558Z] 25bc292e5bac: Download complete [2023-07-20T19:11:57.558Z] 52dc419b0ee2: Download complete [2023-07-20T19:11:57.558Z] 4657fd5d0bcf: Verifying Checksum [2023-07-20T19:11:57.558Z] df9b9388f04a: Verifying Checksum [2023-07-20T19:11:57.558Z] df9b9388f04a: Download complete [2023-07-20T19:11:57.817Z] df9b9388f04a: Pull complete [2023-07-20T19:11:57.817Z] 6ad1cebc031e: Verifying Checksum [2023-07-20T19:11:57.817Z] 6ad1cebc031e: Download complete [2023-07-20T19:11:57.817Z] 52dc419b0ee2: Pull complete [2023-07-20T19:11:57.817Z] 25bc292e5bac: Pull complete [2023-07-20T19:11:58.386Z] 114826534d7a: Download complete [2023-07-20T19:11:58.386Z] 8a3aa393b2d8: Download complete [2023-07-20T19:12:01.669Z] 114826534d7a: Pull complete [2023-07-20T19:12:01.669Z] 4657fd5d0bcf: Pull complete [2023-07-20T19:12:01.669Z] 6ad1cebc031e: Pull complete [2023-07-20T19:12:04.199Z] 8a3aa393b2d8: Pull complete [2023-07-20T19:12:04.199Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-07-20T19:12:04.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-20T19:12:04.199Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:12:04.286Z] prd-ubuntu20.04-docker-8c-8g-1672 does not seem to be running inside a container [2023-07-20T19:12:04.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-07-20T19:12:05.647Z] $ docker top ec96f9bed685cb1b293be4a72151981f0932ad6808b5730304e02e8c483366cf -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-20T19:12:05.715Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-07-20T19:12:05.996Z] + set -o pipefail [2023-07-20T19:12:05.996Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-07-20T19:12:11.269Z] [2023-07-20T19:12:11.269Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-07-20T19:12:11.269Z] [2023-07-20T19:12:11.269Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/a01f0bc2-df18-4b61-8ddc-692ca9d485de [2023-07-20T19:12:11.269Z] [2023-07-20T19:12:11.269Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-07-20T19:12:11.269Z] [2023-07-20T19:12:11.269Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-07-20T19:12:11.269Z] [2023-07-20T19:12:11.530Z] [2023-07-20T19:12:11.530Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-07-20T19:12:11.530Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-07-20T19:12:11.530Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-07-20T19:12:11.542Z] $ docker stop --time=1 ec96f9bed685cb1b293be4a72151981f0932ad6808b5730304e02e8c483366cf [2023-07-20T19:12:13.331Z] $ docker rm -f --volumes ec96f9bed685cb1b293be4a72151981f0932ad6808b5730304e02e8c483366cf [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-07-20T19:12:14.069Z] + git log --format=format:%s -1 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a [Pipeline] sh [2023-07-20T19:12:14.365Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-20T19:12:14.365Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:12:14.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T19:12:14.660Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:12:14.736Z] prd-ubuntu20.04-docker-8c-8g-1672 does not seem to be running inside a container [2023-07-20T19:12:14.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-20T19:12:15.089Z] $ docker top c5e858c4c816011cbe23789a992f290fa461afa863b70189a20003a9e698da79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-20T19:12:15.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T19:12:15.179Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T19:12:15.286Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T19:12:15.288Z] $ docker exec c5e858c4c816011cbe23789a992f290fa461afa863b70189a20003a9e698da79 ssh-agent [2023-07-20T19:12:15.394Z] SSH_AUTH_SOCK=/tmp/ssh-ZlzV25hsrPwt/agent.32 [2023-07-20T19:12:15.394Z] SSH_AGENT_PID=38 [2023-07-20T19:12:15.399Z] Running ssh-add (command line suppressed) [2023-07-20T19:12:15.501Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12823676471560183469.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12823676471560183469.key) [2023-07-20T19:12:15.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T19:12:15.799Z] + git semver tag [2023-07-20T19:12:16.059Z] 2023-07-20 19:12:15,963 [run_tag] DEBUG tag force:False [2023-07-20T19:12:16.059Z] 2023-07-20 19:12:15,963 [check_head_tag] DEBUG check head tag [2023-07-20T19:12:16.059Z] 2023-07-20 19:12:15,964 [execute] INFO git cat-file --batch-check [2023-07-20T19:12:16.059Z] 2023-07-20 19:12:15,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-07-20T19:12:16.059Z] 2023-07-20 19:12:15,968 [execute] INFO git cat-file --batch [2023-07-20T19:12:16.059Z] 2023-07-20 19:12:15,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-07-20T19:12:16.059Z] 2023-07-20 19:12:15,977 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-20T19:12:16.059Z] 2023-07-20 19:12:15,977 [execute] INFO git tag -a v3.1.0-dev.2 -m v3.1.0-dev.2 [2023-07-20T19:12:16.059Z] 2023-07-20 19:12:15,977 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.2', '-m', 'v3.1.0-dev.2'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-07-20T19:12:16.059Z] 2023-07-20 19:12:15,982 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-20T19:12:16.059Z] 3.1.0-dev.2 [Pipeline] } [2023-07-20T19:12:16.068Z] $ docker exec --env ******** --env ******** c5e858c4c816011cbe23789a992f290fa461afa863b70189a20003a9e698da79 ssh-agent -k [2023-07-20T19:12:16.175Z] unset SSH_AUTH_SOCK; [2023-07-20T19:12:16.175Z] unset SSH_AGENT_PID; [2023-07-20T19:12:16.175Z] echo Agent pid 38 killed; [2023-07-20T19:12:16.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-20T19:12:16.487Z] + git semver [Pipeline] } [2023-07-20T19:12:16.757Z] $ docker stop --time=1 c5e858c4c816011cbe23789a992f290fa461afa863b70189a20003a9e698da79 [2023-07-20T19:12:18.024Z] $ docker rm -f --volumes c5e858c4c816011cbe23789a992f290fa461afa863b70189a20003a9e698da79 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:12:18.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-20T19:12:18.440Z] [2023-07-20T19:12:18.440Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:12:18.741Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-20T19:12:18.741Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-20T19:12:18.741Z] ab5ef0e58194: Pulling fs layer [2023-07-20T19:12:18.741Z] 9712f1f96733: Pulling fs layer [2023-07-20T19:12:18.741Z] 63f879dbbcfc: Pulling fs layer [2023-07-20T19:12:18.741Z] 0d9ebad4ef96: Pulling fs layer [2023-07-20T19:12:18.741Z] e9a5061849ea: Pulling fs layer [2023-07-20T19:12:18.741Z] d747dcd14b5f: Pulling fs layer [2023-07-20T19:12:18.741Z] 2de7ff778b66: Pulling fs layer [2023-07-20T19:12:18.741Z] 0d9ebad4ef96: Waiting [2023-07-20T19:12:18.741Z] d747dcd14b5f: Waiting [2023-07-20T19:12:18.741Z] e9a5061849ea: Waiting [2023-07-20T19:12:18.741Z] 2de7ff778b66: Waiting [2023-07-20T19:12:18.741Z] 9712f1f96733: Download complete [2023-07-20T19:12:19.002Z] 63f879dbbcfc: Verifying Checksum [2023-07-20T19:12:19.002Z] 63f879dbbcfc: Download complete [2023-07-20T19:12:19.261Z] 0d9ebad4ef96: Verifying Checksum [2023-07-20T19:12:19.261Z] 0d9ebad4ef96: Download complete [2023-07-20T19:12:19.261Z] d747dcd14b5f: Verifying Checksum [2023-07-20T19:12:19.261Z] d747dcd14b5f: Download complete [2023-07-20T19:12:19.261Z] e9a5061849ea: Verifying Checksum [2023-07-20T19:12:19.261Z] e9a5061849ea: Download complete [2023-07-20T19:12:19.261Z] ab5ef0e58194: Verifying Checksum [2023-07-20T19:12:19.261Z] ab5ef0e58194: Download complete [2023-07-20T19:12:19.261Z] 2de7ff778b66: Verifying Checksum [2023-07-20T19:12:21.787Z] ab5ef0e58194: Pull complete [2023-07-20T19:12:21.787Z] 9712f1f96733: Pull complete [2023-07-20T19:12:22.351Z] 63f879dbbcfc: Pull complete [2023-07-20T19:12:25.633Z] 0d9ebad4ef96: Pull complete [2023-07-20T19:12:25.633Z] e9a5061849ea: Pull complete [2023-07-20T19:12:25.633Z] d747dcd14b5f: Pull complete [2023-07-20T19:12:26.564Z] 2de7ff778b66: Pull complete [2023-07-20T19:12:26.564Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-20T19:12:26.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-20T19:12:26.564Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:12:26.655Z] prd-ubuntu20.04-docker-8c-8g-1672 does not seem to be running inside a container [2023-07-20T19:12:26.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-07-20T19:12:28.136Z] $ docker top ebadd8e99cdde3db6506ea83e8aea0dcde7670d01e757e6d8107584174a5315b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-20T19:12:28.198Z] provisioning config files... [2023-07-20T19:12:28.205Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11660242815735656617tmp [2023-07-20T19:12:28.214Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6520295908401783290tmp [2023-07-20T19:12:28.222Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17104078420893467751tmp [Pipeline] { [Pipeline] echo [2023-07-20T19:12:28.236Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:12:28.516Z] ---> sigul-configuration.sh [2023-07-20T19:12:28.516Z] gpg: directory `/root/.gnupg' created [2023-07-20T19:12:28.516Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-20T19:12:28.516Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-20T19:12:28.516Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-20T19:12:28.516Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-20T19:12:28.516Z] gpg: CAST5 encrypted data [2023-07-20T19:12:28.516Z] gpg: encrypted with 1 passphrase [2023-07-20T19:12:28.516Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-20T19:12:28.799Z] + mkdir /home/jenkins [2023-07-20T19:12:28.799Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-20T19:12:29.085Z] + 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-07-20T19:12:29.092Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:12:29.373Z] ---> sigul-install.sh [2023-07-20T19:12:29.373Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-20T19:12:29.655Z] + git tag --list [2023-07-20T19:12:29.655Z] v1.0.0 [2023-07-20T19:12:29.655Z] v1.1.0 [2023-07-20T19:12:29.655Z] v1.1.1 [2023-07-20T19:12:29.655Z] v1.2.1 [2023-07-20T19:12:29.655Z] v1.2.2 [2023-07-20T19:12:29.655Z] v1.2.3 [2023-07-20T19:12:29.655Z] v1.3.0 [2023-07-20T19:12:29.655Z] v1.3.1 [2023-07-20T19:12:29.655Z] v2.0.0 [2023-07-20T19:12:29.655Z] v2.1.0 [2023-07-20T19:12:29.655Z] v2.1.1 [2023-07-20T19:12:29.655Z] v2.2.0 [2023-07-20T19:12:29.655Z] v2.3.0 [2023-07-20T19:12:29.655Z] v3.0 [2023-07-20T19:12:29.655Z] v3.0.0 [2023-07-20T19:12:29.655Z] v3.1.0-dev.1 [2023-07-20T19:12:29.655Z] v3.1.0-dev.2 [Pipeline] sh [2023-07-20T19:12:29.939Z] + lftools sign git-tag v3.1.0-dev.2 [2023-07-20T19:12:30.507Z] Signing Git tag with Sigul... [2023-07-20T19:12:30.507Z] Signing v3.1.0-dev.2 [Pipeline] echo [2023-07-20T19:12:30.777Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:12:31.060Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-20T19:12:31.068Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-20T19:12:31.092Z] $ docker stop --time=1 ebadd8e99cdde3db6506ea83e8aea0dcde7670d01e757e6d8107584174a5315b [2023-07-20T19:12:32.367Z] $ docker rm -f --volumes ebadd8e99cdde3db6506ea83e8aea0dcde7670d01e757e6d8107584174a5315b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-20T19:12:32.847Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-20T19:12:32.847Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:12:33.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T19:12:33.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:12:33.219Z] prd-ubuntu20.04-docker-8c-8g-1672 does not seem to be running inside a container [2023-07-20T19:12:33.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-20T19:12:33.589Z] $ docker top f4a4faa2f870e53b9c6142742a623482abe3243807e82b37299a186d3551915d -eo pid,comm [2023-07-20T19:12:33.634Z] 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-07-20T19:12:33.634Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-20T19:12:33.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T19:12:33.678Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T19:12:33.773Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T19:12:33.775Z] $ docker exec f4a4faa2f870e53b9c6142742a623482abe3243807e82b37299a186d3551915d ssh-agent [2023-07-20T19:12:33.872Z] SSH_AUTH_SOCK=/tmp/ssh-AJQ1ZXuRc8Kp/agent.32 [2023-07-20T19:12:33.872Z] SSH_AGENT_PID=38 [2023-07-20T19:12:33.877Z] Running ssh-add (command line suppressed) [2023-07-20T19:12:33.966Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2425965379105356796.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2425965379105356796.key) [2023-07-20T19:12:33.978Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T19:12:34.273Z] + git semver bump pre [2023-07-20T19:12:34.533Z] 2023-07-20 19:12:34,458 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-20T19:12:34.533Z] 2023-07-20 19:12:34,458 [bump_version] DEBUG bumping version:3.1.0-dev.2 on axis:pre with prefix:dev [2023-07-20T19:12:34.533Z] 2023-07-20 19:12:34,458 [bump_version] DEBUG bumped version:3.1.0-dev.3 [2023-07-20T19:12:34.533Z] 2023-07-20 19:12:34,458 [write_version] DEBUG write version:3.1.0-dev.3 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-07-20T19:12:34.533Z] 2023-07-20 19:12:34,458 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-20T19:12:34.533Z] 2023-07-20 19:12:34,458 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-20T19:12:34.533Z] 2023-07-20 19:12:34,460 [execute] INFO git cat-file --batch-check [2023-07-20T19:12:34.533Z] 2023-07-20 19:12:34,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-20T19:12:34.533Z] 2023-07-20 19:12:34,465 [execute] INFO git cat-file --batch [2023-07-20T19:12:34.533Z] 2023-07-20 19:12:34,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-20T19:12:34.533Z] 2023-07-20 19:12:34,470 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-20T19:12:34.533Z] 3.1.0-dev.3 [Pipeline] } [2023-07-20T19:12:34.542Z] $ docker exec --env ******** --env ******** f4a4faa2f870e53b9c6142742a623482abe3243807e82b37299a186d3551915d ssh-agent -k [2023-07-20T19:12:34.625Z] unset SSH_AUTH_SOCK; [2023-07-20T19:12:34.625Z] unset SSH_AGENT_PID; [2023-07-20T19:12:34.625Z] echo Agent pid 38 killed; [2023-07-20T19:12:34.633Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-20T19:12:34.930Z] + git semver [Pipeline] } [2023-07-20T19:12:35.203Z] $ docker stop --time=1 f4a4faa2f870e53b9c6142742a623482abe3243807e82b37299a186d3551915d [2023-07-20T19:12:36.445Z] $ docker rm -f --volumes f4a4faa2f870e53b9c6142742a623482abe3243807e82b37299a186d3551915d [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-20T19:12:36.771Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-20T19:12:36.771Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:12:37.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T19:12:37.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:12:37.225Z] prd-ubuntu20.04-docker-8c-8g-1672 does not seem to be running inside a container [2023-07-20T19:12:37.296Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-20T19:12:37.595Z] $ docker top ad1b354cc5eece53c343609e7d7793039f7249fee49e0e5359e08d92dcd94a97 -eo pid,comm [2023-07-20T19:12:37.638Z] 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-07-20T19:12:37.638Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-20T19:12:37.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T19:12:37.684Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T19:12:37.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T19:12:37.801Z] $ docker exec ad1b354cc5eece53c343609e7d7793039f7249fee49e0e5359e08d92dcd94a97 ssh-agent [2023-07-20T19:12:37.902Z] SSH_AUTH_SOCK=/tmp/ssh-J77Y5AbaIGfB/agent.32 [2023-07-20T19:12:37.902Z] SSH_AGENT_PID=38 [2023-07-20T19:12:37.906Z] Running ssh-add (command line suppressed) [2023-07-20T19:12:37.997Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11289988594050739057.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11289988594050739057.key) [2023-07-20T19:12:38.011Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T19:12:38.299Z] + git semver push [2023-07-20T19:12:38.558Z] 2023-07-20 19:12:38,450 [run_push] DEBUG push [2023-07-20T19:12:38.558Z] 2023-07-20 19:12:38,451 [execute] INFO git cat-file --batch-check [2023-07-20T19:12:38.558Z] 2023-07-20 19:12:38,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-20T19:12:38.558Z] 2023-07-20 19:12:38,455 [execute] INFO git rev-list dc8f8b4adf2a3934f96d6f3b2fb67f21b44de518 -- [2023-07-20T19:12:38.558Z] 2023-07-20 19:12:38,455 [execute] DEBUG Popen(['git', 'rev-list', 'dc8f8b4adf2a3934f96d6f3b2fb67f21b44de518', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-20T19:12:38.558Z] 2023-07-20 19:12:38,461 [execute] INFO git fetch -v origin [2023-07-20T19:12:38.558Z] 2023-07-20 19:12:38,461 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-20T19:12:39.127Z] 2023-07-20 19:12:38,916 [run_push] DEBUG no remote changes detected [2023-07-20T19:12:39.127Z] 2023-07-20 19:12:38,917 [execute] INFO git push origin semver [2023-07-20T19:12:39.128Z] 2023-07-20 19:12:38,917 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-20T19:12:39.696Z] 2023-07-20 19:12:39,682 [run_push] DEBUG push all version tags [2023-07-20T19:12:39.696Z] 2023-07-20 19:12:39,683 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-20T19:12:39.696Z] 2023-07-20 19:12:39,683 [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-07-20T19:12:40.632Z] 2023-07-20 19:12:40,470 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-20T19:12:40.632Z] 3.1.0-dev.3 [Pipeline] } [2023-07-20T19:12:40.640Z] $ docker exec --env ******** --env ******** ad1b354cc5eece53c343609e7d7793039f7249fee49e0e5359e08d92dcd94a97 ssh-agent -k [2023-07-20T19:12:40.738Z] unset SSH_AUTH_SOCK; [2023-07-20T19:12:40.738Z] unset SSH_AGENT_PID; [2023-07-20T19:12:40.738Z] echo Agent pid 38 killed; [2023-07-20T19:12:40.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-20T19:12:41.050Z] + git semver [Pipeline] } [2023-07-20T19:12:41.320Z] $ docker stop --time=1 ad1b354cc5eece53c343609e7d7793039f7249fee49e0e5359e08d92dcd94a97 [2023-07-20T19:12:42.565Z] $ docker rm -f --volumes ad1b354cc5eece53c343609e7d7793039f7249fee49e0e5359e08d92dcd94a97 [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-07-20T19:12:43.127Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-07-20T19:12:43.127Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-07-20T19:12:43.127Z] total 16 [2023-07-20T19:12:43.127Z] drwxr-xr-x 3 root root 4096 Jul 20 19:01 . [2023-07-20T19:12:43.127Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 19:12 .. [2023-07-20T19:12:43.127Z] drwxr-xr-x 2 root root 4096 Jul 20 19:01 cost [2023-07-20T19:12:43.127Z] -rw-r--r-- 1 root root 89 Jul 20 19:01 cost.csv [2023-07-20T19:12:43.127Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-07-20T19:12:43.127Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-07-20T19:12:43.127Z] total 16 [2023-07-20T19:12:43.127Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 19:01 . [2023-07-20T19:12:43.127Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 19:12 .. [2023-07-20T19:12:43.127Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 19:01 cost [2023-07-20T19:12:43.127Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 20 19:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:12:43.414Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:12:44.266Z] ---> package-listing.sh [2023-07-20T19:12:44.266Z] ++ facter osfamily [2023-07-20T19:12:44.266Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-20T19:12:44.525Z] + OS_FAMILY=debian [2023-07-20T19:12:44.525Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-07-20T19:12:44.525Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-20T19:12:44.525Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-20T19:12:44.525Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-20T19:12:44.525Z] + PACKAGES=/tmp/packages_start.txt [2023-07-20T19:12:44.525Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-07-20T19:12:44.525Z] + PACKAGES=/tmp/packages_end.txt [2023-07-20T19:12:44.525Z] + case "${OS_FAMILY}" in [2023-07-20T19:12:44.525Z] + dpkg -l [2023-07-20T19:12:44.525Z] + grep '^ii' [2023-07-20T19:12:44.525Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-20T19:12:44.525Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-20T19:12:44.525Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-20T19:12:44.525Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-07-20T19:12:44.525Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-07-20T19:12:44.525Z] + 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-07-20T19:12:44.536Z] 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-07-20T19:12:44.807Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:12:45.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T19:12:45.366Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:12:45.431Z] prd-ubuntu20.04-docker-8c-8g-1672 does not seem to be running inside a container [2023-07-20T19:12:45.456Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-20T19:12:45.633Z] $ docker top a2da6929e0147e57905fbf32b699c3cddf2b4b220762602247a9c368e78083d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T19:12:45.976Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-20T19:12:46.258Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-20T19:12:46.539Z] + ls /var/log/sa-host [2023-07-20T19:12:46.540Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T19:12:46.624Z] provisioning config files... [2023-07-20T19:12:46.632Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5594977888340767488tmp [Pipeline] { [Pipeline] echo [2023-07-20T19:12:46.645Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:12:46.925Z] ---> create-netrc.sh [Pipeline] } [2023-07-20T19:12:46.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:12:47.273Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-20T19:12:47.281Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:12:47.562Z] ---> sudo-logs.sh [2023-07-20T19:12:47.562Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-20T19:12:47.585Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:12:47.864Z] ---> job-cost.sh [2023-07-20T19:12:47.864Z] lf-activate-venv: SKIPPING [2023-07-20T19:12:47.864Z] DEBUG: total: 0.2199999988079071 [2023-07-20T19:12:47.864Z] INFO: Retrieving Stack Cost... [2023-07-20T19:12:48.123Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-20T19:12:48.381Z] INFO: Archiving Costs [Pipeline] echo [2023-07-20T19:12:48.392Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:12:48.671Z] ---> logs-deploy.sh [2023-07-20T19:12:48.671Z] lf-activate-venv: SKIPPING [2023-07-20T19:12:48.671Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/128 [2023-07-20T19:12:48.671Z] INFO: archiving workspace using pattern(s): [2023-07-20T19:12:50.046Z] Archives upload complete. [2023-07-20T19:12:50.046Z] INFO: archiving logs to Nexus