Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 89173ea65a943aba0f4628b8150ce015ac4d5016 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-ssh16891017798829346634.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-ssh17116278870703536734.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-rest-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-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12730961380212827513.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-ssh1815270619438905052.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-rest-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-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9906790740285912560.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-rest-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-rest-go-settings PROJECT: device-rest-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-rest 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2758 in /w/workspace/edgexfoundry_device-rest-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-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 89173ea65a943aba0f4628b8150ce015ac4d5016 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 89173ea65a943aba0f4628b8150ce015ac4d5016 # timeout=10 Commit message: "fix: Range check for float64/32 equal to 0.0 (#330)" > git rev-list --no-walk 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-02T16:34:30.107Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-02T16:34:30.159Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-02T16:34:30.173Z] ========================================================= [2023-08-02T16:34:30.173Z] EdgeX Global Pipelines Version Info [2023-08-02T16:34:30.173Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:34:30.921Z] ------------------- [2023-08-02T16:34:30.921Z] stable info: [2023-08-02T16:34:30.921Z] ------------------- [2023-08-02T16:34:30.921Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-02T16:34:30.921Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-02T16:34:30.921Z] Message: update stable to v1.0.250 [2023-08-02T16:34:31.493Z] ------------------- [2023-08-02T16:34:31.493Z] experimental info: [2023-08-02T16:34:31.493Z] ------------------- [2023-08-02T16:34:31.493Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-02T16:34:31.493Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-02T16:34:31.493Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-02T16:34:31.700Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-08-02T16:34:31.710Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-08-02T16:34:31.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-02T16:34:31.737Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-02T16:34:31.749Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-02T16:34:31.760Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-02T16:34:31.772Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-02T16:34:31.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-02T16:34:31.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-02T16:34:31.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-02T16:34:31.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-02T16:34:31.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-08-02T16:34:31.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-02T16:34:31.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-02T16:34:31.881Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-02T16:34:31.896Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-02T16:34:31.909Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-02T16:34:31.920Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-02T16:34:31.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-02T16:34:31.951Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-02T16:34:31.971Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-02T16:34:31.989Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-02T16:34:32.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-02T16:34:32.016Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-02T16:34:32.029Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-02T16:34:32.047Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-02T16:34:32.066Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-02T16:34:32.083Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-02T16:34:32.095Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-02T16:34:32.107Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-02T16:34:32.122Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] echo [2023-08-02T16:34:32.142Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 89173ea [Pipeline] echo [2023-08-02T16:34:32.158Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T16:34:32.206Z] provisioning config files... [2023-08-02T16:34:32.222Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14907099296016341300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:34:32.531Z] ---> docker-login.sh [2023-08-02T16:34:32.531Z] nexus3.edgexfoundry.org:10001 [2023-08-02T16:34:32.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:34:32.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:34:32.794Z] Configure a credential helper to remove this warning. See [2023-08-02T16:34:32.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:34:32.794Z] [2023-08-02T16:34:32.794Z] Login Succeeded [2023-08-02T16:34:32.794Z] nexus3.edgexfoundry.org:10002 [2023-08-02T16:34:33.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:34:33.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:34:33.054Z] Configure a credential helper to remove this warning. See [2023-08-02T16:34:33.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:34:33.054Z] [2023-08-02T16:34:33.054Z] Login Succeeded [2023-08-02T16:34:33.054Z] nexus3.edgexfoundry.org:10003 [2023-08-02T16:34:33.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:34:33.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:34:33.054Z] Configure a credential helper to remove this warning. See [2023-08-02T16:34:33.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:34:33.054Z] [2023-08-02T16:34:33.054Z] Login Succeeded [2023-08-02T16:34:33.054Z] nexus3.edgexfoundry.org:10004 [2023-08-02T16:34:33.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:34:33.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:34:33.314Z] Configure a credential helper to remove this warning. See [2023-08-02T16:34:33.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:34:33.314Z] [2023-08-02T16:34:33.314Z] Login Succeeded [2023-08-02T16:34:33.314Z] docker.io [2023-08-02T16:34:33.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:34:33.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:34:33.574Z] Configure a credential helper to remove this warning. See [2023-08-02T16:34:33.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:34:33.574Z] [2023-08-02T16:34:33.574Z] Login Succeeded [2023-08-02T16:34:33.574Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T16:34:33.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-02T16:34:33.965Z] + git rev-list -1 --merges 89173ea65a943aba0f4628b8150ce015ac4d5016~1..89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] echo [2023-08-02T16:34:34.018Z] -----------> git rev-list -1 --merges 89173ea65a943aba0f4628b8150ce015ac4d5016~1..89173ea65a943aba0f4628b8150ce015ac4d5016 89173ea65a943aba0f4628b8150ce015ac4d5016 [false] [Pipeline] sh [2023-08-02T16:34:34.302Z] + git log --format=format:%s -1 89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] echo [2023-08-02T16:34:34.316Z] ========================================================= [2023-08-02T16:34:34.316Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-02T16:34:34.316Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T16:34:34.634Z] + git log --format=format:%s -1 89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] echo [2023-08-02T16:34:34.644Z] [semverPrep] GIT_COMMIT: 89173ea65a943aba0f4628b8150ce015ac4d5016, Commit Message: fix: Range check for float64/32 equal to 0.0 (#330) [Pipeline] echo [2023-08-02T16:34:34.652Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-02T16:34:35.015Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-02T16:34:35.016Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-02T16:34:35.016Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-02T16:34:35.016Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-02T16:34:35.016Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-02T16:34:35.016Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-02T16:34:35.016Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:34:35.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T16:34:35.423Z] [2023-08-02T16:34:35.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:34:35.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T16:34:35.730Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-02T16:34:35.730Z] b85a868b505f: Pulling fs layer [2023-08-02T16:34:35.730Z] e2be974225ed: Pulling fs layer [2023-08-02T16:34:35.730Z] 339a4e72a1f5: Pulling fs layer [2023-08-02T16:34:35.730Z] 988bab9f4d93: Pulling fs layer [2023-08-02T16:34:35.730Z] 1469e6f7b9e6: Pulling fs layer [2023-08-02T16:34:35.730Z] eaf3925da568: Pulling fs layer [2023-08-02T16:34:35.730Z] bab4dde63d76: Pulling fs layer [2023-08-02T16:34:35.730Z] bde34c3a00c8: Pulling fs layer [2023-08-02T16:34:35.730Z] b352a97aabf1: Pulling fs layer [2023-08-02T16:34:35.730Z] 4872d77fe225: Pulling fs layer [2023-08-02T16:34:35.730Z] 5851b861e8e6: Pulling fs layer [2023-08-02T16:34:35.730Z] eaf3925da568: Waiting [2023-08-02T16:34:35.730Z] bab4dde63d76: Waiting [2023-08-02T16:34:35.730Z] bde34c3a00c8: Waiting [2023-08-02T16:34:35.730Z] b352a97aabf1: Waiting [2023-08-02T16:34:35.730Z] 4872d77fe225: Waiting [2023-08-02T16:34:35.730Z] 5851b861e8e6: Waiting [2023-08-02T16:34:35.730Z] 988bab9f4d93: Waiting [2023-08-02T16:34:35.730Z] 1469e6f7b9e6: Waiting [2023-08-02T16:34:35.730Z] e2be974225ed: Verifying Checksum [2023-08-02T16:34:35.730Z] e2be974225ed: Download complete [2023-08-02T16:34:35.730Z] 988bab9f4d93: Verifying Checksum [2023-08-02T16:34:35.730Z] 988bab9f4d93: Download complete [2023-08-02T16:34:35.730Z] 1469e6f7b9e6: Verifying Checksum [2023-08-02T16:34:35.730Z] 1469e6f7b9e6: Download complete [2023-08-02T16:34:35.989Z] eaf3925da568: Verifying Checksum [2023-08-02T16:34:35.989Z] eaf3925da568: Download complete [2023-08-02T16:34:35.989Z] 339a4e72a1f5: Verifying Checksum [2023-08-02T16:34:35.989Z] 339a4e72a1f5: Download complete [2023-08-02T16:34:35.989Z] bde34c3a00c8: Verifying Checksum [2023-08-02T16:34:35.989Z] bde34c3a00c8: Download complete [2023-08-02T16:34:35.989Z] b352a97aabf1: Verifying Checksum [2023-08-02T16:34:35.989Z] b352a97aabf1: Download complete [2023-08-02T16:34:35.989Z] 4872d77fe225: Download complete [2023-08-02T16:34:35.989Z] 5851b861e8e6: Verifying Checksum [2023-08-02T16:34:35.989Z] 5851b861e8e6: Download complete [2023-08-02T16:34:35.989Z] b85a868b505f: Download complete [2023-08-02T16:34:36.248Z] bab4dde63d76: Verifying Checksum [2023-08-02T16:34:36.248Z] bab4dde63d76: Download complete [2023-08-02T16:34:41.305Z] b85a868b505f: Pull complete [2023-08-02T16:34:41.305Z] e2be974225ed: Pull complete [2023-08-02T16:34:41.305Z] 339a4e72a1f5: Pull complete [2023-08-02T16:34:41.305Z] 988bab9f4d93: Pull complete [2023-08-02T16:34:41.305Z] 1469e6f7b9e6: Pull complete [2023-08-02T16:34:41.305Z] eaf3925da568: Pull complete [2023-08-02T16:34:43.241Z] bab4dde63d76: Pull complete [2023-08-02T16:34:43.241Z] bde34c3a00c8: Pull complete [2023-08-02T16:34:43.241Z] b352a97aabf1: Pull complete [2023-08-02T16:34:43.241Z] 4872d77fe225: Pull complete [2023-08-02T16:34:43.502Z] 5851b861e8e6: Pull complete [2023-08-02T16:34:43.502Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-02T16:34:43.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T16:34:43.502Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:34:43.609Z] prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container [2023-08-02T16:34:43.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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-08-02T16:34:53.659Z] $ docker top 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 -eo pid,comm [2023-08-02T16:34:53.584Z] 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-08-02T16:34:53.584Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-02T16:34:53.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T16:34:53.627Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T16:34:53.743Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T16:34:53.878Z] $ docker exec 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 ssh-agent [2023-08-02T16:34:53.855Z] SSH_AUTH_SOCK=/tmp/ssh-RP9Sry9oFwwR/agent.32 [2023-08-02T16:34:53.855Z] SSH_AGENT_PID=38 [2023-08-02T16:34:53.861Z] Running ssh-add (command line suppressed) [2023-08-02T16:34:54.099Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7114115158802146284.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7114115158802146284.key) [2023-08-02T16:34:53.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T16:34:54.270Z] + git tag --points-at HEAD [Pipeline] } [2023-08-02T16:34:54.417Z] $ docker exec --env ******** --env ******** 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 ssh-agent -k [2023-08-02T16:34:54.507Z] unset SSH_AUTH_SOCK; [2023-08-02T16:34:54.508Z] unset SSH_AGENT_PID; [2023-08-02T16:34:54.508Z] echo Agent pid 38 killed; [2023-08-02T16:34:54.379Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-02T16:34:54.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T16:34:54.400Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T16:34:54.505Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T16:34:54.647Z] $ docker exec 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 ssh-agent [2023-08-02T16:34:54.621Z] SSH_AUTH_SOCK=/tmp/ssh-yO0VdfR6czLQ/agent.71 [2023-08-02T16:34:54.621Z] SSH_AGENT_PID=77 [2023-08-02T16:34:54.626Z] Running ssh-add (command line suppressed) [2023-08-02T16:34:54.861Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5410302354172995379.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5410302354172995379.key) [2023-08-02T16:34:54.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T16:34:55.023Z] + git semver init [2023-08-02T16:34:55.283Z] 2023-08-02 16:34:55,327 [run_init] DEBUG init version:0.0.0 force:False [2023-08-02T16:34:55.283Z] 2023-08-02 16:34:55,327 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-08-02T16:34:55.283Z] 2023-08-02 16:34:55,328 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-08-02T16:34:55.283Z] 2023-08-02 16:34:55,328 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-02T16:34:56.662Z] 2023-08-02 16:34:56,498 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-08-02T16:34:56.662Z] 2023-08-02 16:34:56,499 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-08-02T16:34:56.662Z] 2023-08-02 16:34:56,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-02T16:34:56.662Z] 2023-08-02 16:34:56,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-02T16:34:56.662Z] 3.1.0-dev.3 [Pipeline] } [2023-08-02T16:34:56.827Z] $ docker exec --env ******** --env ******** 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 ssh-agent -k [2023-08-02T16:34:56.924Z] unset SSH_AUTH_SOCK; [2023-08-02T16:34:56.924Z] unset SSH_AGENT_PID; [2023-08-02T16:34:56.924Z] echo Agent pid 77 killed; [2023-08-02T16:34:56.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-02T16:34:57.081Z] + git semver [Pipeline] } [2023-08-02T16:34:57.513Z] $ docker stop --time=1 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 [2023-08-02T16:34:58.811Z] $ docker rm -f --volumes 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T16:34:58.978Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-02T16:34:59.166Z] Stashed 1 file(s) [Pipeline] echo [2023-08-02T16:34:59.168Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [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-08-02T16:34:59.296Z] provisioning config files... [2023-08-02T16:34:59.306Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5092034606510417766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:34:59.609Z] ---> docker-login.sh [2023-08-02T16:34:59.609Z] nexus3.edgexfoundry.org:10001 [2023-08-02T16:34:59.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:34:59.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:34:59.609Z] Configure a credential helper to remove this warning. See [2023-08-02T16:34:59.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:34:59.609Z] [2023-08-02T16:34:59.609Z] Login Succeeded [2023-08-02T16:34:59.609Z] nexus3.edgexfoundry.org:10002 [2023-08-02T16:34:59.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:34:59.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:34:59.609Z] Configure a credential helper to remove this warning. See [2023-08-02T16:34:59.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:34:59.609Z] [2023-08-02T16:34:59.609Z] Login Succeeded [2023-08-02T16:34:59.609Z] nexus3.edgexfoundry.org:10003 [2023-08-02T16:34:59.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:34:59.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:34:59.869Z] Configure a credential helper to remove this warning. See [2023-08-02T16:34:59.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:34:59.869Z] [2023-08-02T16:34:59.869Z] Login Succeeded [2023-08-02T16:34:59.869Z] nexus3.edgexfoundry.org:10004 [2023-08-02T16:34:59.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:34:59.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:34:59.870Z] Configure a credential helper to remove this warning. See [2023-08-02T16:34:59.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:34:59.870Z] [2023-08-02T16:34:59.870Z] Login Succeeded [2023-08-02T16:34:59.870Z] docker.io [2023-08-02T16:35:00.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:35:00.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:35:00.127Z] Configure a credential helper to remove this warning. See [2023-08-02T16:35:00.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:35:00.127Z] [2023-08-02T16:35:00.127Z] Login Succeeded [2023-08-02T16:35:00.127Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T16:35:00.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-02T16:35:00.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T16:35:00.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T16:35:00.211Z] ========================================================= [2023-08-02T16:35:00.211Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-02T16:35:00.211Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:35:00.523Z] + 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-08-02T16:35:00.523Z] Sending build context to Docker daemon 10.9MB [2023-08-02T16:35:00.523Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T16:35:00.523Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-02T16:35:00.523Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-02T16:35:00.523Z] 4db1b89c0bd1: Pulling fs layer [2023-08-02T16:35:00.523Z] 6911f1a30b25: Pulling fs layer [2023-08-02T16:35:00.523Z] e194b8c5c2a9: Pulling fs layer [2023-08-02T16:35:00.523Z] 6863d3e3a2b1: Pulling fs layer [2023-08-02T16:35:00.523Z] ec0bb842ea78: Pulling fs layer [2023-08-02T16:35:00.523Z] 40a00589a448: Pulling fs layer [2023-08-02T16:35:00.523Z] 6c08303d61cc: Pulling fs layer [2023-08-02T16:35:00.523Z] 798269fcf238: Pulling fs layer [2023-08-02T16:35:00.523Z] 6863d3e3a2b1: Waiting [2023-08-02T16:35:00.523Z] ec0bb842ea78: Waiting [2023-08-02T16:35:00.523Z] 40a00589a448: Waiting [2023-08-02T16:35:00.523Z] 6c08303d61cc: Waiting [2023-08-02T16:35:00.523Z] 798269fcf238: Waiting [2023-08-02T16:35:00.523Z] 6911f1a30b25: Verifying Checksum [2023-08-02T16:35:00.523Z] 6911f1a30b25: Download complete [2023-08-02T16:35:00.523Z] 6863d3e3a2b1: Download complete [2023-08-02T16:35:00.786Z] ec0bb842ea78: Verifying Checksum [2023-08-02T16:35:00.786Z] ec0bb842ea78: Download complete [2023-08-02T16:35:00.786Z] 4db1b89c0bd1: Verifying Checksum [2023-08-02T16:35:00.786Z] 4db1b89c0bd1: Download complete [2023-08-02T16:35:00.786Z] 40a00589a448: Verifying Checksum [2023-08-02T16:35:00.786Z] 40a00589a448: Download complete [2023-08-02T16:35:00.786Z] 4db1b89c0bd1: Pull complete [2023-08-02T16:35:01.046Z] 6911f1a30b25: Pull complete [2023-08-02T16:35:01.310Z] 798269fcf238: Verifying Checksum [2023-08-02T16:35:01.310Z] 798269fcf238: Download complete [2023-08-02T16:35:01.310Z] e194b8c5c2a9: Download complete [2023-08-02T16:35:01.568Z] 6c08303d61cc: Verifying Checksum [2023-08-02T16:35:01.568Z] 6c08303d61cc: Download complete [2023-08-02T16:35:04.851Z] e194b8c5c2a9: Pull complete [2023-08-02T16:35:04.851Z] 6863d3e3a2b1: Pull complete [2023-08-02T16:35:04.851Z] ec0bb842ea78: Pull complete [2023-08-02T16:35:05.111Z] 40a00589a448: Pull complete [2023-08-02T16:35:07.636Z] 6c08303d61cc: Pull complete [2023-08-02T16:35:08.202Z] 798269fcf238: Pull complete [2023-08-02T16:35:08.460Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-02T16:35:08.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-02T16:35:08.460Z] ---> ec979cd7f677 [2023-08-02T16:35:08.460Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-02T16:35:12.653Z] ---> Running in e1df93a33c12 [2023-08-02T16:35:12.653Z] Removing intermediate container e1df93a33c12 [2023-08-02T16:35:12.653Z] ---> 3670d10e03a5 [2023-08-02T16:35:12.653Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T16:35:12.653Z] ---> Running in fed9e912a596 [2023-08-02T16:35:12.653Z] Removing intermediate container fed9e912a596 [2023-08-02T16:35:12.653Z] ---> 2a67234fb86a [2023-08-02T16:35:12.653Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T16:35:12.653Z] ---> Running in d58103ee622c [2023-08-02T16:35:12.653Z] Removing intermediate container d58103ee622c [2023-08-02T16:35:12.653Z] ---> da8c096bbcd1 [2023-08-02T16:35:12.653Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T16:35:12.653Z] ---> Running in 3ced648b31ea [2023-08-02T16:35:12.653Z] Removing intermediate container 3ced648b31ea [2023-08-02T16:35:12.653Z] ---> fde38d00ba4d [2023-08-02T16:35:12.653Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T16:35:12.653Z] ---> Running in 9e49acea9eeb [2023-08-02T16:35:12.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T16:35:13.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T16:35:13.428Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-02T16:35:13.428Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-02T16:35:13.429Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-02T16:35:13.429Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-02T16:35:13.429Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T16:35:13.429Z] OK: 269 MiB in 57 packages [2023-08-02T16:35:13.997Z] Removing intermediate container 9e49acea9eeb [2023-08-02T16:35:13.997Z] ---> f63881f46d59 [2023-08-02T16:35:13.997Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-02T16:35:13.997Z] ---> Running in eca81b92c1aa [2023-08-02T16:35:13.997Z] Removing intermediate container eca81b92c1aa [2023-08-02T16:35:13.997Z] ---> 27551799a1b4 [2023-08-02T16:35:13.997Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-02T16:35:14.256Z] ---> 0061d3f60a83 [2023-08-02T16:35:14.256Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T16:35:14.256Z] ---> Running in e32136f76013 [2023-08-02T16:35:14.263Z] Still waiting to schedule task [2023-08-02T16:35:14.263Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-02T16:35:46.370Z] Removing intermediate container e32136f76013 [2023-08-02T16:35:46.370Z] ---> f361fd280aed [2023-08-02T16:35:46.370Z] Step 11/12 : COPY . . [2023-08-02T16:35:46.370Z] ---> 36b05f9f3835 [2023-08-02T16:35:46.370Z] Step 12/12 : RUN $MAKE [2023-08-02T16:35:46.370Z] ---> Running in 7ad08f0208cd [2023-08-02T16:35:46.370Z] noop [2023-08-02T16:35:46.370Z] Removing intermediate container 7ad08f0208cd [2023-08-02T16:35:46.370Z] ---> a42b79c3805e [2023-08-02T16:35:46.370Z] Successfully built a42b79c3805e [2023-08-02T16:35:46.370Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:35:46.677Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-02T16:35:46.677Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:35:46.747Z] prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container [2023-08-02T16:35:46.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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-08-02T16:35:47.116Z] $ docker top 196b9355fe4ef0db25f94af93e32895ca4a199f7095027f64093060286b02ed5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T16:35:47.478Z] + go version [2023-08-02T16:35:47.478Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-02T16:35:47.478Z] $ docker stop --time=1 196b9355fe4ef0db25f94af93e32895ca4a199f7095027f64093060286b02ed5 [2023-08-02T16:35:48.761Z] $ docker rm -f --volumes 196b9355fe4ef0db25f94af93e32895ca4a199f7095027f64093060286b02ed5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:35:49.183Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-02T16:35:49.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:35:49.255Z] prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container [2023-08-02T16:35:49.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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-08-02T16:35:49.581Z] $ docker top d8f781fbf817384a727b244d7cc64c65307d9662e842d37d46c36379cec4c316 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T16:35:49.933Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-02T16:35:50.226Z] + make test [2023-08-02T16:35:50.226Z] go test ./... -coverprofile=coverage.out ./... [2023-08-02T16:35:55.491Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-02T16:36:05.456Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-02T16:36:05.456Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements [2023-08-02T16:36:09.636Z] go vet ./... [2023-08-02T16:36:12.913Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-02T16:36:12.913Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-02T16:36:12.913Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-02T16:36:12.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-02T16:36:12.929Z] $ docker stop --time=1 d8f781fbf817384a727b244d7cc64c65307d9662e842d37d46c36379cec4c316 [2023-08-02T16:36:16.456Z] $ docker rm -f --volumes d8f781fbf817384a727b244d7cc64c65307d9662e842d37d46c36379cec4c316 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T16:36:16.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-02T16:36:16.960Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-02T16:36:17.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-02T16:36:17.754Z] + ls -al . [2023-08-02T16:36:17.755Z] total 184 [2023-08-02T16:36:17.755Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 16:35 . [2023-08-02T16:36:17.755Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 16:34 .. [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 16:34 .dockerignore [2023-08-02T16:36:17.755Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 16:34 .git [2023-08-02T16:36:17.755Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 16:34 .github [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 16:34 .gitignore [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 16:34 .golangci.yml [2023-08-02T16:36:17.755Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 16:34 .semver [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 9331 Aug 2 16:34 Attribution.txt [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 2 16:34 CHANGELOG.md [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 2 16:34 Dockerfile [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 16:34 GOVERNANCE.md [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 16:34 Jenkinsfile [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 16:34 LICENSE [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 1779 Aug 2 16:34 Makefile [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 16:34 OWNERS.md [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 2 16:34 README.md [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 2 16:34 VERSION [2023-08-02T16:36:17.755Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 16:34 bin [2023-08-02T16:36:17.755Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 16:34 cmd [2023-08-02T16:36:17.755Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 2 16:36 coverage.out [2023-08-02T16:36:17.755Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 16:34 driver [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 3354 Aug 2 16:34 go.mod [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 2 16:34 go.sum [2023-08-02T16:36:17.755Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 16:34 snap [2023-08-02T16:36:17.755Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 16:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:36:18.061Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=89173ea65a943aba0f4628b8150ce015ac4d5016 --label arch=amd64 --label version=3.1.0-dev.3 . [2023-08-02T16:36:18.062Z] Sending build context to Docker daemon 10.91MB [2023-08-02T16:36:18.062Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T16:36:18.062Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-02T16:36:18.062Z] ---> a42b79c3805e [2023-08-02T16:36:18.062Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-02T16:36:18.321Z] ---> Running in 57292f2ec06e [2023-08-02T16:36:18.321Z] Removing intermediate container 57292f2ec06e [2023-08-02T16:36:18.321Z] ---> af72192743a7 [2023-08-02T16:36:18.321Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T16:36:18.321Z] ---> Running in 8eaf3b98fbdb [2023-08-02T16:36:18.321Z] Removing intermediate container 8eaf3b98fbdb [2023-08-02T16:36:18.321Z] ---> b9decaae1202 [2023-08-02T16:36:18.321Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T16:36:18.321Z] ---> Running in 4da7bb653204 [2023-08-02T16:36:18.579Z] Removing intermediate container 4da7bb653204 [2023-08-02T16:36:18.579Z] ---> 76d79721cef4 [2023-08-02T16:36:18.579Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T16:36:18.579Z] ---> Running in 736d5b496206 [2023-08-02T16:36:18.579Z] Removing intermediate container 736d5b496206 [2023-08-02T16:36:18.579Z] ---> fedf99546774 [2023-08-02T16:36:18.579Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T16:36:18.579Z] ---> Running in 5bad6f34180d [2023-08-02T16:36:18.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T16:36:19.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T16:36:19.359Z] OK: 269 MiB in 57 packages [2023-08-02T16:36:19.617Z] Removing intermediate container 5bad6f34180d [2023-08-02T16:36:19.617Z] ---> a5734a598e0c [2023-08-02T16:36:19.617Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-02T16:36:19.617Z] ---> Running in 469590505cae [2023-08-02T16:36:19.617Z] Removing intermediate container 469590505cae [2023-08-02T16:36:19.617Z] ---> 304aae49ae24 [2023-08-02T16:36:19.617Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-02T16:36:19.876Z] ---> b4d09330f3de [2023-08-02T16:36:19.876Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T16:36:19.876Z] ---> Running in d18d60264229 [2023-08-02T16:36:20.445Z] Removing intermediate container d18d60264229 [2023-08-02T16:36:20.445Z] ---> 176d361f63b3 [2023-08-02T16:36:20.445Z] Step 11/25 : COPY . . [2023-08-02T16:36:20.704Z] ---> cd84afede176 [2023-08-02T16:36:20.704Z] Step 12/25 : RUN $MAKE [2023-08-02T16:36:20.704Z] ---> Running in 6d6fd6d73523 [2023-08-02T16:36:20.962Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-02T16:36:39.032Z] Removing intermediate container 6d6fd6d73523 [2023-08-02T16:36:39.032Z] ---> c70a6758bd97 [2023-08-02T16:36:39.032Z] Step 13/25 : FROM alpine:3.17 [2023-08-02T16:36:39.600Z] 3.17: Pulling from library/alpine [2023-08-02T16:36:39.600Z] 4db1b89c0bd1: Already exists [2023-08-02T16:36:39.859Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-02T16:36:39.859Z] Status: Downloaded newer image for alpine:3.17 [2023-08-02T16:36:39.859Z] ---> 1f73a9d63274 [2023-08-02T16:36:39.859Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-02T16:36:39.859Z] ---> Running in 06978180567e [2023-08-02T16:36:39.859Z] Removing intermediate container 06978180567e [2023-08-02T16:36:39.859Z] ---> 130b8609b6c0 [2023-08-02T16:36:39.859Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-02T16:36:39.859Z] ---> Running in 72480139e1aa [2023-08-02T16:36:39.859Z] Removing intermediate container 72480139e1aa [2023-08-02T16:36:39.859Z] ---> c791bc553e79 [2023-08-02T16:36:39.859Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-02T16:36:39.859Z] ---> Running in 43b93d0899ee [2023-08-02T16:36:40.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T16:36:40.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T16:36:40.636Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-02T16:36:40.636Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T16:36:40.636Z] OK: 7 MiB in 16 packages [2023-08-02T16:36:40.895Z] Removing intermediate container 43b93d0899ee [2023-08-02T16:36:40.895Z] ---> 2eda425170d9 [2023-08-02T16:36:40.895Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-02T16:36:41.562Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2759 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-08-02T16:36:41.576Z] Running in /w/workspace/device-rest-go/123 [Pipeline] { [Pipeline] checkout [2023-08-02T16:36:41.604Z] The recommended git tool is: git [2023-08-02T16:36:42.008Z] ---> 68f1d0672ffc [2023-08-02T16:36:42.008Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-02T16:36:42.008Z] ---> e2685b01f2b5 [2023-08-02T16:36:42.008Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-02T16:36:42.008Z] ---> ba1d5c785159 [2023-08-02T16:36:42.008Z] Step 20/25 : EXPOSE 59986 [2023-08-02T16:36:42.008Z] ---> Running in 188a774de0bf [2023-08-02T16:36:42.265Z] Removing intermediate container 188a774de0bf [2023-08-02T16:36:42.265Z] ---> 38f39911e9c3 [2023-08-02T16:36:42.265Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-02T16:36:42.265Z] ---> Running in fe99280982a1 [2023-08-02T16:36:42.265Z] Removing intermediate container fe99280982a1 [2023-08-02T16:36:42.265Z] ---> 8280484a27e0 [2023-08-02T16:36:42.265Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-02T16:36:42.265Z] ---> Running in 9f3381985535 [2023-08-02T16:36:42.265Z] Removing intermediate container 9f3381985535 [2023-08-02T16:36:42.265Z] ---> 1baceac613bf [2023-08-02T16:36:42.265Z] Step 23/25 : LABEL arch=amd64 [2023-08-02T16:36:42.265Z] ---> Running in dfece9af91e1 [2023-08-02T16:36:42.521Z] Removing intermediate container dfece9af91e1 [2023-08-02T16:36:42.521Z] ---> 3698e66a2982 [2023-08-02T16:36:42.521Z] Step 24/25 : LABEL git_sha=89173ea65a943aba0f4628b8150ce015ac4d5016 [2023-08-02T16:36:42.521Z] ---> Running in c74317a99b72 [2023-08-02T16:36:42.521Z] Removing intermediate container c74317a99b72 [2023-08-02T16:36:42.521Z] ---> ec2b72c9df5e [2023-08-02T16:36:42.521Z] Step 25/25 : LABEL version=3.1.0-dev.3 [2023-08-02T16:36:42.521Z] ---> Running in f855b21f503a [2023-08-02T16:36:42.521Z] Removing intermediate container f855b21f503a [2023-08-02T16:36:42.521Z] ---> 64e715e799d7 [2023-08-02T16:36:42.521Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-02T16:36:42.521Z] Successfully built 64e715e799d7 [2023-08-02T16:36:42.522Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T16:36:42.650Z] provisioning config files... [2023-08-02T16:36:42.657Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15201459133943470734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:36:42.945Z] ---> docker-login.sh [2023-08-02T16:36:42.945Z] nexus3.edgexfoundry.org:10001 [2023-08-02T16:36:42.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:36:42.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:36:42.945Z] Configure a credential helper to remove this warning. See [2023-08-02T16:36:42.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:36:42.945Z] [2023-08-02T16:36:42.945Z] Login Succeeded [2023-08-02T16:36:42.945Z] nexus3.edgexfoundry.org:10002 [2023-08-02T16:36:42.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:36:42.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:36:42.945Z] Configure a credential helper to remove this warning. See [2023-08-02T16:36:42.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:36:42.945Z] [2023-08-02T16:36:42.945Z] Login Succeeded [2023-08-02T16:36:42.945Z] nexus3.edgexfoundry.org:10003 [2023-08-02T16:36:43.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:36:43.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:36:43.208Z] Configure a credential helper to remove this warning. See [2023-08-02T16:36:43.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:36:43.208Z] [2023-08-02T16:36:43.208Z] Login Succeeded [2023-08-02T16:36:43.208Z] nexus3.edgexfoundry.org:10004 [2023-08-02T16:36:43.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:36:43.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:36:43.208Z] Configure a credential helper to remove this warning. See [2023-08-02T16:36:43.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:36:43.208Z] [2023-08-02T16:36:43.208Z] Login Succeeded [2023-08-02T16:36:43.208Z] docker.io [2023-08-02T16:36:43.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:36:43.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:36:43.468Z] Configure a credential helper to remove this warning. See [2023-08-02T16:36:43.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:36:43.468Z] [2023-08-02T16:36:43.468Z] Login Succeeded [2023-08-02T16:36:43.468Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T16:36:43.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-02T16:36:43.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T16:36:43.630Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-08-02T16:36:43.631Z] 89173ea65a943aba0f4628b8150ce015ac4d5016 [2023-08-02T16:36:43.631Z] latest [2023-08-02T16:36:43.631Z] 3.1.0-dev.3 [2023-08-02T16:36:43.631Z] 89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 [2023-08-02T16:36:43.631Z] main [2023-08-02T16:36:43.631Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:36:44.026Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:36:44.365Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:89173ea65a943aba0f4628b8150ce015ac4d5016 [2023-08-02T16:36:44.365Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-02T16:36:44.365Z] 04eb1018836d: Preparing [2023-08-02T16:36:44.365Z] 46f885af6dd4: Preparing [2023-08-02T16:36:44.365Z] 3ff4f43a070d: Preparing [2023-08-02T16:36:44.365Z] 4e413b82bc96: Preparing [2023-08-02T16:36:44.365Z] 3dab9f8bf2d2: Preparing [2023-08-02T16:36:44.365Z] 3dab9f8bf2d2: Layer already exists [2023-08-02T16:36:44.365Z] 46f885af6dd4: Pushed [2023-08-02T16:36:44.365Z] 04eb1018836d: Pushed [2023-08-02T16:36:44.365Z] 4e413b82bc96: Pushed [2023-08-02T16:36:46.758Z] using credential edgex-jenkins-ssh [2023-08-02T16:36:46.772Z] Cloning the remote Git repository [2023-08-02T16:36:46.894Z] 3ff4f43a070d: Pushed [2023-08-02T16:36:46.894Z] 89173ea65a943aba0f4628b8150ce015ac4d5016: digest: sha256:629727e8faecb341a0c1873e236e41fcfbb1bf1f45a0ffa64a33ba9155a684d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:36:47.209Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:36:47.519Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-08-02T16:36:47.519Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-02T16:36:47.519Z] 04eb1018836d: Preparing [2023-08-02T16:36:47.519Z] 46f885af6dd4: Preparing [2023-08-02T16:36:47.519Z] 3ff4f43a070d: Preparing [2023-08-02T16:36:47.519Z] 4e413b82bc96: Preparing [2023-08-02T16:36:47.519Z] 3dab9f8bf2d2: Preparing [2023-08-02T16:36:47.519Z] 3dab9f8bf2d2: Layer already exists [2023-08-02T16:36:47.519Z] 04eb1018836d: Layer already exists [2023-08-02T16:36:47.519Z] 4e413b82bc96: Layer already exists [2023-08-02T16:36:47.519Z] 3ff4f43a070d: Layer already exists [2023-08-02T16:36:47.519Z] 46f885af6dd4: Layer already exists [2023-08-02T16:36:47.519Z] latest: digest: sha256:629727e8faecb341a0c1873e236e41fcfbb1bf1f45a0ffa64a33ba9155a684d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:36:46.811Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-08-02T16:36:46.892Z] > git init /w/workspace/device-rest-go/123 # timeout=10 [2023-08-02T16:36:47.024Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-02T16:36:47.025Z] > git --version # timeout=10 [2023-08-02T16:36:47.044Z] > git --version # 'git version 2.25.1' [2023-08-02T16:36:47.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T16:36:47.195Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-02T16:36:47.831Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:36:48.135Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.3 [2023-08-02T16:36:48.135Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-02T16:36:48.135Z] 04eb1018836d: Preparing [2023-08-02T16:36:48.135Z] 46f885af6dd4: Preparing [2023-08-02T16:36:48.135Z] 3ff4f43a070d: Preparing [2023-08-02T16:36:48.135Z] 4e413b82bc96: Preparing [2023-08-02T16:36:48.135Z] 3dab9f8bf2d2: Preparing [2023-08-02T16:36:48.135Z] 46f885af6dd4: Layer already exists [2023-08-02T16:36:48.135Z] 3dab9f8bf2d2: Layer already exists [2023-08-02T16:36:48.135Z] 4e413b82bc96: Layer already exists [2023-08-02T16:36:48.135Z] 3ff4f43a070d: Layer already exists [2023-08-02T16:36:48.135Z] 04eb1018836d: Layer already exists [2023-08-02T16:36:48.135Z] 3.1.0-dev.3: digest: sha256:629727e8faecb341a0c1873e236e41fcfbb1bf1f45a0ffa64a33ba9155a684d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:36:48.444Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:36:48.757Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 [2023-08-02T16:36:48.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-02T16:36:48.757Z] 04eb1018836d: Preparing [2023-08-02T16:36:48.757Z] 46f885af6dd4: Preparing [2023-08-02T16:36:48.757Z] 3ff4f43a070d: Preparing [2023-08-02T16:36:48.757Z] 4e413b82bc96: Preparing [2023-08-02T16:36:48.757Z] 3dab9f8bf2d2: Preparing [2023-08-02T16:36:48.757Z] 04eb1018836d: Layer already exists [2023-08-02T16:36:48.757Z] 3dab9f8bf2d2: Layer already exists [2023-08-02T16:36:48.757Z] 46f885af6dd4: Layer already exists [2023-08-02T16:36:48.757Z] 3ff4f43a070d: Layer already exists [2023-08-02T16:36:48.757Z] 4e413b82bc96: Layer already exists [2023-08-02T16:36:48.757Z] 89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3: digest: sha256:629727e8faecb341a0c1873e236e41fcfbb1bf1f45a0ffa64a33ba9155a684d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:36:49.038Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-02T16:36:49.072Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:36:49.385Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-08-02T16:36:49.386Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-02T16:36:49.386Z] 04eb1018836d: Preparing [2023-08-02T16:36:49.386Z] 46f885af6dd4: Preparing [2023-08-02T16:36:49.386Z] 3ff4f43a070d: Preparing [2023-08-02T16:36:49.386Z] 4e413b82bc96: Preparing [2023-08-02T16:36:49.386Z] 3dab9f8bf2d2: Preparing [2023-08-02T16:36:49.386Z] 3ff4f43a070d: Layer already exists [2023-08-02T16:36:49.386Z] 4e413b82bc96: Layer already exists [2023-08-02T16:36:49.386Z] 04eb1018836d: Layer already exists [2023-08-02T16:36:49.386Z] 46f885af6dd4: Layer already exists [2023-08-02T16:36:49.386Z] 3dab9f8bf2d2: Layer already exists [2023-08-02T16:36:49.386Z] main: digest: sha256:629727e8faecb341a0c1873e236e41fcfbb1bf1f45a0ffa64a33ba9155a684d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-02T16:36:49.444Z] ===================================================== [Pipeline] echo [2023-08-02T16:36:49.455Z] taggedImages: [2023-08-02T16:36:49.455Z] - nexus3.edgexfoundry.org:10004/device-rest:89173ea65a943aba0f4628b8150ce015ac4d5016 [2023-08-02T16:36:49.455Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-08-02T16:36:49.455Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.3 [2023-08-02T16:36:49.455Z] - nexus3.edgexfoundry.org:10004/device-rest:89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 [2023-08-02T16:36:49.455Z] - nexus3.edgexfoundry.org:10004/device-rest: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-08-02T16:36:49.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T16:36:49.848Z] [2023-08-02T16:36:49.848Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:36:49.881Z] Avoid second fetch [2023-08-02T16:36:49.881Z] Checking out Revision 89173ea65a943aba0f4628b8150ce015ac4d5016 (main) [2023-08-02T16:36:50.151Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T16:36:50.151Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-02T16:36:50.151Z] 5eb5b503b376: Pulling fs layer [2023-08-02T16:36:50.151Z] 5c69ac0246d0: Pulling fs layer [2023-08-02T16:36:50.151Z] ec43610c2a17: Pulling fs layer [2023-08-02T16:36:50.151Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-02T16:36:50.151Z] 33b1e0a273af: Pulling fs layer [2023-08-02T16:36:50.151Z] 5d3b04190fa2: Pulling fs layer [2023-08-02T16:36:50.151Z] 2f39f015ded8: Pulling fs layer [2023-08-02T16:36:50.151Z] 3a2ae6a8a46f: Waiting [2023-08-02T16:36:50.151Z] 33b1e0a273af: Waiting [2023-08-02T16:36:50.151Z] 5d3b04190fa2: Waiting [2023-08-02T16:36:50.151Z] 2f39f015ded8: Waiting [2023-08-02T16:36:50.151Z] 5c69ac0246d0: Verifying Checksum [2023-08-02T16:36:50.151Z] 5c69ac0246d0: Download complete [2023-08-02T16:36:50.151Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-02T16:36:50.151Z] 3a2ae6a8a46f: Download complete [2023-08-02T16:36:50.151Z] 33b1e0a273af: Verifying Checksum [2023-08-02T16:36:50.151Z] 33b1e0a273af: Download complete [2023-08-02T16:36:50.151Z] 5d3b04190fa2: Download complete [2023-08-02T16:36:50.151Z] ec43610c2a17: Verifying Checksum [2023-08-02T16:36:50.151Z] ec43610c2a17: Download complete [2023-08-02T16:36:49.065Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-02T16:36:49.899Z] > git config core.sparsecheckout # timeout=10 [2023-08-02T16:36:49.964Z] > git checkout -f 89173ea65a943aba0f4628b8150ce015ac4d5016 # timeout=10 [2023-08-02T16:36:50.407Z] Commit message: "fix: Range check for float64/32 equal to 0.0 (#330)" [2023-08-02T16:36:50.419Z] 5eb5b503b376: Verifying Checksum [2023-08-02T16:36:50.419Z] 5eb5b503b376: Download complete [2023-08-02T16:36:50.835Z] [2023-08-02T16:36:50.835Z] GitHub has been notified of this commit’s build result [2023-08-02T16:36:50.835Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T16:36:50.985Z] 2f39f015ded8: Verifying Checksum [2023-08-02T16:36:50.985Z] 2f39f015ded8: Download complete [2023-08-02T16:36:51.358Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-02T16:36:51.358Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-02T16:36:51.358Z] Dload Upload Total Spent Left Speed [2023-08-02T16:36:51.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh [2023-08-02T16:36:51.951Z] 5eb5b503b376: Pull complete [2023-08-02T16:36:51.951Z] 5c69ac0246d0: Pull complete [2023-08-02T16:36:52.045Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-02T16:36:52.210Z] ec43610c2a17: Pull complete [2023-08-02T16:36:52.372Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-02T16:36:52.372Z] sudo tee /etc/docker/daemon.new [2023-08-02T16:36:52.372Z] { [2023-08-02T16:36:52.372Z] "registry-mirrors": [ [2023-08-02T16:36:52.372Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-02T16:36:52.372Z] ], [2023-08-02T16:36:52.372Z] "bip": "10.250.0.254/24", [2023-08-02T16:36:52.372Z] "hosts": [ [2023-08-02T16:36:52.372Z] "tcp://0.0.0.0:5555", [2023-08-02T16:36:52.372Z] "unix:///var/run/docker.sock" [2023-08-02T16:36:52.372Z] ], [2023-08-02T16:36:52.372Z] "mtu": 1458, [2023-08-02T16:36:52.372Z] "selinux-enabled": true, [2023-08-02T16:36:52.372Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-02T16:36:52.372Z] } [Pipeline] sh [2023-08-02T16:36:52.469Z] 3a2ae6a8a46f: Pull complete [2023-08-02T16:36:52.469Z] 33b1e0a273af: Pull complete [2023-08-02T16:36:52.703Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-08-02T16:36:52.725Z] 5d3b04190fa2: Pull complete [Pipeline] sh [2023-08-02T16:36:53.078Z] + sudo service docker restart [2023-08-02T16:36:56.906Z] 2f39f015ded8: Pull complete [2023-08-02T16:36:56.906Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-02T16:36:56.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T16:36:56.906Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:36:56.990Z] prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container [2023-08-02T16:36:57.004Z] $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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-08-02T16:37:01.207Z] $ docker top ae2b2338c900d9ea62f34c98241bd5aa47a9afb9c71e954ec6bd3887a003cc16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:37:01.636Z] ---> job-cost.sh [2023-08-02T16:37:01.636Z] lf-activate-venv: SKIPPING [2023-08-02T16:37:01.636Z] INFO: No Stack... [2023-08-02T16:37:01.895Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-02T16:37:02.155Z] INFO: Archiving Costs [Pipeline] sh [2023-08-02T16:37:02.450Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-08-02T16:37:02.450Z] + cut -d, -f6 [Pipeline] lock [2023-08-02T16:37:02.464Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] [2023-08-02T16:37:02.470Z] Resource [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] did not exist. Created. [2023-08-02T16:37:02.470Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-02T16:37:02.772Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-02T16:37:02.805Z] Stashed 1 file(s) [Pipeline] } [2023-08-02T16:37:02.811Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-02T16:37:02.813Z] $ docker stop --time=1 ae2b2338c900d9ea62f34c98241bd5aa47a9afb9c71e954ec6bd3887a003cc16 [2023-08-02T16:37:03.972Z] $ docker rm -f --volumes ae2b2338c900d9ea62f34c98241bd5aa47a9afb9c71e954ec6bd3887a003cc16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T16:37:11.332Z] provisioning config files... [2023-08-02T16:37:11.357Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/123@tmp/config1672593121918997966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:37:11.708Z] ---> docker-login.sh [2023-08-02T16:37:11.708Z] nexus3.edgexfoundry.org:10001 [2023-08-02T16:37:11.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:37:12.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:37:12.245Z] Configure a credential helper to remove this warning. See [2023-08-02T16:37:12.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:37:12.245Z] [2023-08-02T16:37:12.245Z] Login Succeeded [2023-08-02T16:37:12.245Z] nexus3.edgexfoundry.org:10002 [2023-08-02T16:37:12.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:37:12.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:37:12.513Z] Configure a credential helper to remove this warning. See [2023-08-02T16:37:12.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:37:12.513Z] [2023-08-02T16:37:12.513Z] Login Succeeded [2023-08-02T16:37:12.513Z] nexus3.edgexfoundry.org:10003 [2023-08-02T16:37:12.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:37:13.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:37:13.050Z] Configure a credential helper to remove this warning. See [2023-08-02T16:37:13.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:37:13.050Z] [2023-08-02T16:37:13.050Z] Login Succeeded [2023-08-02T16:37:13.050Z] nexus3.edgexfoundry.org:10004 [2023-08-02T16:37:13.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:37:13.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:37:13.319Z] Configure a credential helper to remove this warning. See [2023-08-02T16:37:13.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:37:13.319Z] [2023-08-02T16:37:13.319Z] Login Succeeded [2023-08-02T16:37:13.319Z] docker.io [2023-08-02T16:37:13.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:37:13.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:37:13.854Z] Configure a credential helper to remove this warning. See [2023-08-02T16:37:13.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:37:13.854Z] [2023-08-02T16:37:13.854Z] Login Succeeded [2023-08-02T16:37:13.854Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T16:37:13.867Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-02T16:37:14.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T16:37:14.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T16:37:14.141Z] ========================================================= [2023-08-02T16:37:14.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-02T16:37:14.141Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:37:14.484Z] + 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-08-02T16:37:14.484Z] Sending build context to Docker daemon 142.3kB [2023-08-02T16:37:14.752Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T16:37:14.752Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-02T16:37:14.752Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-02T16:37:14.752Z] edb6bdbacee9: Pulling fs layer [2023-08-02T16:37:14.752Z] 5f9638ab2659: Pulling fs layer [2023-08-02T16:37:14.752Z] 8d51d6327a98: Pulling fs layer [2023-08-02T16:37:14.752Z] 8b374f2dd631: Pulling fs layer [2023-08-02T16:37:14.752Z] ec14aa9079de: Pulling fs layer [2023-08-02T16:37:14.752Z] 8b374f2dd631: Waiting [2023-08-02T16:37:14.752Z] ec14aa9079de: Waiting [2023-08-02T16:37:14.752Z] 2f466654f4bb: Pulling fs layer [2023-08-02T16:37:14.752Z] 554e91adad29: Pulling fs layer [2023-08-02T16:37:14.752Z] 2f466654f4bb: Waiting [2023-08-02T16:37:14.752Z] 5f9638ab2659: Verifying Checksum [2023-08-02T16:37:14.752Z] 5f9638ab2659: Download complete [2023-08-02T16:37:14.752Z] 8b374f2dd631: Verifying Checksum [2023-08-02T16:37:14.752Z] 8b374f2dd631: Download complete [2023-08-02T16:37:15.023Z] ec14aa9079de: Verifying Checksum [2023-08-02T16:37:15.023Z] ec14aa9079de: Download complete [2023-08-02T16:37:15.023Z] edb6bdbacee9: Verifying Checksum [2023-08-02T16:37:15.023Z] edb6bdbacee9: Download complete [2023-08-02T16:37:16.003Z] edb6bdbacee9: Pull complete [2023-08-02T16:37:16.003Z] 554e91adad29: Verifying Checksum [2023-08-02T16:37:16.003Z] 554e91adad29: Download complete [2023-08-02T16:37:17.428Z] 8d51d6327a98: Verifying Checksum [2023-08-02T16:37:17.428Z] 8d51d6327a98: Download complete [2023-08-02T16:37:17.428Z] 2f466654f4bb: Verifying Checksum [2023-08-02T16:37:17.428Z] 2f466654f4bb: Download complete [2023-08-02T16:37:18.835Z] 5f9638ab2659: Pull complete [2023-08-02T16:37:33.850Z] 8d51d6327a98: Pull complete [2023-08-02T16:37:33.850Z] 8b374f2dd631: Pull complete [2023-08-02T16:37:33.850Z] ec14aa9079de: Pull complete [2023-08-02T16:37:40.514Z] 2f466654f4bb: Pull complete [2023-08-02T16:37:42.468Z] 554e91adad29: Pull complete [2023-08-02T16:37:42.739Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-02T16:37:42.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-02T16:37:42.739Z] ---> 1e15ea492957 [2023-08-02T16:37:42.739Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-02T16:37:44.153Z] ---> Running in 85975ab100a9 [2023-08-02T16:37:44.740Z] Removing intermediate container 85975ab100a9 [2023-08-02T16:37:44.740Z] ---> d4255e09191a [2023-08-02T16:37:44.740Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T16:37:44.740Z] ---> Running in f641daafbc0b [2023-08-02T16:37:45.006Z] Removing intermediate container f641daafbc0b [2023-08-02T16:37:45.006Z] ---> fb8afbb87b97 [2023-08-02T16:37:45.006Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T16:37:45.006Z] ---> Running in e3af2043472e [2023-08-02T16:37:45.275Z] Removing intermediate container e3af2043472e [2023-08-02T16:37:45.275Z] ---> 5abe4c080b7f [2023-08-02T16:37:45.275Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T16:37:45.275Z] ---> Running in 7c518c98de74 [2023-08-02T16:37:45.543Z] Removing intermediate container 7c518c98de74 [2023-08-02T16:37:45.543Z] ---> a0c1d844c0a7 [2023-08-02T16:37:45.543Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T16:37:45.817Z] ---> Running in 36886ed94f02 [2023-08-02T16:37:46.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-02T16:37:47.357Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-02T16:37:48.321Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-02T16:37:48.321Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-02T16:37:48.321Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-02T16:37:48.321Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-02T16:37:48.321Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T16:37:48.321Z] OK: 268 MiB in 57 packages [2023-08-02T16:37:49.284Z] Removing intermediate container 36886ed94f02 [2023-08-02T16:37:49.284Z] ---> 54f3c76f126c [2023-08-02T16:37:49.284Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-02T16:37:49.551Z] ---> Running in 215eb3acb1d2 [2023-08-02T16:37:49.818Z] Removing intermediate container 215eb3acb1d2 [2023-08-02T16:37:49.818Z] ---> d8028818cab5 [2023-08-02T16:37:49.818Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-02T16:37:50.090Z] ---> 4d17371b3e86 [2023-08-02T16:37:50.090Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T16:37:50.359Z] ---> Running in cbd4971a6a82 [2023-08-02T16:38:58.244Z] Removing intermediate container cbd4971a6a82 [2023-08-02T16:38:58.244Z] ---> 3b8406983d0b [2023-08-02T16:38:58.244Z] Step 11/12 : COPY . . [2023-08-02T16:38:58.244Z] ---> d088d7bdf076 [2023-08-02T16:38:58.244Z] Step 12/12 : RUN $MAKE [2023-08-02T16:38:58.244Z] ---> Running in b537c25b008e [2023-08-02T16:38:58.244Z] noop [2023-08-02T16:38:58.244Z] Removing intermediate container b537c25b008e [2023-08-02T16:38:58.244Z] ---> 1ded776ca986 [2023-08-02T16:38:58.244Z] Successfully built 1ded776ca986 [2023-08-02T16:38:58.244Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:38:58.584Z] + docker inspect -f . ci-base-image-arm64 [2023-08-02T16:38:58.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:38:58.778Z] prd-ubuntu20.04-docker-arm64-4c-16g-2759 does not seem to be running inside a container [2023-08-02T16:38:58.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/123 -v /w/workspace/device-rest-go/123:/w/workspace/device-rest-go/123:rw,z -v /w/workspace/device-rest-go/123@tmp:/w/workspace/device-rest-go/123@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-08-02T16:38:59.981Z] $ docker top 1f4a4cc4a471df1d4cbe15f806ecd8f864db1d5bad39e5e7e7b930fa726c57d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T16:39:00.806Z] + go version [2023-08-02T16:39:00.806Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-02T16:39:00.827Z] $ docker stop --time=1 1f4a4cc4a471df1d4cbe15f806ecd8f864db1d5bad39e5e7e7b930fa726c57d0 [2023-08-02T16:39:02.456Z] $ docker rm -f --volumes 1f4a4cc4a471df1d4cbe15f806ecd8f864db1d5bad39e5e7e7b930fa726c57d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:39:02.987Z] + docker inspect -f . ci-base-image-arm64 [2023-08-02T16:39:02.987Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:39:03.169Z] prd-ubuntu20.04-docker-arm64-4c-16g-2759 does not seem to be running inside a container [2023-08-02T16:39:03.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/123 -v /w/workspace/device-rest-go/123:/w/workspace/device-rest-go/123:rw,z -v /w/workspace/device-rest-go/123@tmp:/w/workspace/device-rest-go/123@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-08-02T16:39:06.077Z] $ docker top ba25fed65e9ce18b8d036bbbabdeb07f0a12e99382024f95c7642912cd29238d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T16:39:06.577Z] + git config --global --add safe.directory /w/workspace/device-rest-go/123 [Pipeline] fileExists [Pipeline] sh [2023-08-02T16:39:07.171Z] + make test [2023-08-02T16:39:07.171Z] go test ./... -coverprofile=coverage.out ./... [2023-08-02T16:39:39.556Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-02T16:41:31.456Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-02T16:41:31.456Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 32.2% of statements [2023-08-02T16:41:31.456Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-02T16:41:31.456Z] go vet ./... [2023-08-02T16:41:58.129Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-02T16:41:58.129Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-02T16:41:58.129Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-02T16:41:58.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-02T16:41:58.162Z] $ docker stop --time=1 ba25fed65e9ce18b8d036bbbabdeb07f0a12e99382024f95c7642912cd29238d [2023-08-02T16:42:00.074Z] $ docker rm -f --volumes ba25fed65e9ce18b8d036bbbabdeb07f0a12e99382024f95c7642912cd29238d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T16:42:01.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-02T16:42:01.372Z] Warning: overwriting stash ‘coverage-report’ [2023-08-02T16:42:01.942Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T16:42:02.367Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-02T16:42:02.689Z] + ls -al . [2023-08-02T16:42:02.689Z] total 180 [2023-08-02T16:42:02.689Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 16:39 . [2023-08-02T16:42:02.689Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 16:36 .. [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 16:36 .dockerignore [2023-08-02T16:42:02.689Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 16:36 .git [2023-08-02T16:42:02.689Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 16:36 .github [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 16:36 .gitignore [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 16:36 .golangci.yml [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 9331 Aug 2 16:36 Attribution.txt [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 2 16:36 CHANGELOG.md [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 2 16:36 Dockerfile [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 16:36 GOVERNANCE.md [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 16:36 Jenkinsfile [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 16:36 LICENSE [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 1779 Aug 2 16:36 Makefile [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 16:36 OWNERS.md [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 2 16:36 README.md [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 2 16:34 VERSION [2023-08-02T16:42:02.689Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 16:36 bin [2023-08-02T16:42:02.689Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 16:36 cmd [2023-08-02T16:42:02.689Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 2 16:41 coverage.out [2023-08-02T16:42:02.689Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 16:36 driver [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 3354 Aug 2 16:36 go.mod [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 2 16:36 go.sum [2023-08-02T16:42:02.689Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 16:36 snap [2023-08-02T16:42:02.689Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 16:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:42:03.033Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=89173ea65a943aba0f4628b8150ce015ac4d5016 --label arch=arm64 --label version=3.1.0-dev.3 . [2023-08-02T16:42:03.033Z] Sending build context to Docker daemon 157.7kB [2023-08-02T16:42:04.436Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T16:42:04.436Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-02T16:42:04.436Z] ---> 1ded776ca986 [2023-08-02T16:42:04.436Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-02T16:42:04.436Z] ---> Running in 11f408d12179 [2023-08-02T16:42:05.019Z] Removing intermediate container 11f408d12179 [2023-08-02T16:42:05.019Z] ---> cccc8de933ad [2023-08-02T16:42:05.019Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T16:42:05.019Z] ---> Running in 5eeacabc90f1 [2023-08-02T16:42:05.286Z] Removing intermediate container 5eeacabc90f1 [2023-08-02T16:42:05.286Z] ---> dfef40dac93c [2023-08-02T16:42:05.287Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T16:42:05.557Z] ---> Running in d71187d0360e [2023-08-02T16:42:06.143Z] Removing intermediate container d71187d0360e [2023-08-02T16:42:06.143Z] ---> ff4fc75aee33 [2023-08-02T16:42:06.143Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T16:42:06.143Z] ---> Running in e76b3efcf456 [2023-08-02T16:42:06.731Z] Removing intermediate container e76b3efcf456 [2023-08-02T16:42:06.731Z] ---> ed46381cfbef [2023-08-02T16:42:06.731Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T16:42:06.731Z] ---> Running in 8ee697c568ca [2023-08-02T16:42:08.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-02T16:42:08.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-02T16:42:09.851Z] OK: 268 MiB in 57 packages [2023-08-02T16:42:10.816Z] Removing intermediate container 8ee697c568ca [2023-08-02T16:42:10.816Z] ---> e8550c5aee99 [2023-08-02T16:42:10.816Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-02T16:42:11.089Z] ---> Running in 87be638724a6 [2023-08-02T16:42:13.686Z] Removing intermediate container 87be638724a6 [2023-08-02T16:42:13.686Z] ---> 89ab881aa214 [2023-08-02T16:42:13.686Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-02T16:42:13.686Z] ---> 52500ef5baec [2023-08-02T16:42:13.686Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T16:42:13.954Z] ---> Running in 20c95bbe0a42 [2023-08-02T16:42:16.538Z] Removing intermediate container 20c95bbe0a42 [2023-08-02T16:42:16.538Z] ---> 3fb390eb5522 [2023-08-02T16:42:16.538Z] Step 11/25 : COPY . . [2023-08-02T16:42:16.807Z] ---> 7402f2340fbb [2023-08-02T16:42:16.807Z] Step 12/25 : RUN $MAKE [2023-08-02T16:42:16.807Z] ---> Running in d411410976dc [2023-08-02T16:42:17.769Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-02T16:44:24.433Z] Removing intermediate container d411410976dc [2023-08-02T16:44:24.433Z] ---> dc48e5fb6564 [2023-08-02T16:44:24.433Z] Step 13/25 : FROM alpine:3.17 [2023-08-02T16:44:24.433Z] 3.17: Pulling from library/alpine [2023-08-02T16:44:24.433Z] edb6bdbacee9: Already exists [2023-08-02T16:44:24.433Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-02T16:44:24.433Z] Status: Downloaded newer image for alpine:3.17 [2023-08-02T16:44:24.433Z] ---> 779605e5fbc0 [2023-08-02T16:44:24.433Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-02T16:44:24.433Z] ---> Running in 1682beeaa514 [2023-08-02T16:44:24.433Z] Removing intermediate container 1682beeaa514 [2023-08-02T16:44:24.433Z] ---> 7a8e7c08c282 [2023-08-02T16:44:24.433Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-02T16:44:24.433Z] ---> Running in 611510a4e70e [2023-08-02T16:44:24.433Z] Removing intermediate container 611510a4e70e [2023-08-02T16:44:24.433Z] ---> a60dbdded22b [2023-08-02T16:44:24.433Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-02T16:44:24.433Z] ---> Running in 07a2edf84124 [2023-08-02T16:44:24.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-02T16:44:24.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-02T16:44:24.433Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-02T16:44:24.433Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T16:44:24.433Z] OK: 8 MiB in 16 packages [2023-08-02T16:44:24.433Z] Removing intermediate container 07a2edf84124 [2023-08-02T16:44:24.433Z] ---> 56a2e2710a8c [2023-08-02T16:44:24.433Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-02T16:44:24.433Z] ---> 1ca71a376ce6 [2023-08-02T16:44:24.433Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-02T16:44:24.433Z] ---> 426a26c416ae [2023-08-02T16:44:24.433Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-02T16:44:24.433Z] ---> 48f0ac3915b7 [2023-08-02T16:44:24.433Z] Step 20/25 : EXPOSE 59986 [2023-08-02T16:44:24.433Z] ---> Running in 82ef93286e64 [2023-08-02T16:44:24.433Z] Removing intermediate container 82ef93286e64 [2023-08-02T16:44:24.433Z] ---> 01b064557b8e [2023-08-02T16:44:24.433Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-02T16:44:24.433Z] ---> Running in ae7c2be99cc5 [2023-08-02T16:44:24.433Z] Removing intermediate container ae7c2be99cc5 [2023-08-02T16:44:24.433Z] ---> 255f589a4de2 [2023-08-02T16:44:24.433Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-02T16:44:24.433Z] ---> Running in bd80b742a299 [2023-08-02T16:44:24.433Z] Removing intermediate container bd80b742a299 [2023-08-02T16:44:24.433Z] ---> 932b9095e553 [2023-08-02T16:44:24.433Z] Step 23/25 : LABEL arch=arm64 [2023-08-02T16:44:24.433Z] ---> Running in 71a1606e4d69 [2023-08-02T16:44:24.433Z] Removing intermediate container 71a1606e4d69 [2023-08-02T16:44:24.433Z] ---> bc82a695622d [2023-08-02T16:44:24.433Z] Step 24/25 : LABEL git_sha=89173ea65a943aba0f4628b8150ce015ac4d5016 [2023-08-02T16:44:24.433Z] ---> Running in afc74ed36c7e [2023-08-02T16:44:24.433Z] Removing intermediate container afc74ed36c7e [2023-08-02T16:44:24.433Z] ---> 37456fab2a82 [2023-08-02T16:44:24.433Z] Step 25/25 : LABEL version=3.1.0-dev.3 [2023-08-02T16:44:24.433Z] ---> Running in e81f1ead22ea [2023-08-02T16:44:24.433Z] Removing intermediate container e81f1ead22ea [2023-08-02T16:44:24.433Z] ---> a5d9f80a67e8 [2023-08-02T16:44:24.433Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-02T16:44:24.433Z] Successfully built a5d9f80a67e8 [2023-08-02T16:44:24.433Z] Successfully tagged device-rest-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-08-02T16:44:24.558Z] provisioning config files... [2023-08-02T16:44:24.572Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/123@tmp/config8372257499380110639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:44:24.900Z] ---> docker-login.sh [2023-08-02T16:44:24.900Z] nexus3.edgexfoundry.org:10001 [2023-08-02T16:44:24.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:44:25.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:44:25.167Z] Configure a credential helper to remove this warning. See [2023-08-02T16:44:25.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:44:25.167Z] [2023-08-02T16:44:25.167Z] Login Succeeded [2023-08-02T16:44:25.167Z] nexus3.edgexfoundry.org:10002 [2023-08-02T16:44:25.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:44:25.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:44:25.434Z] Configure a credential helper to remove this warning. See [2023-08-02T16:44:25.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:44:25.434Z] [2023-08-02T16:44:25.434Z] Login Succeeded [2023-08-02T16:44:25.434Z] nexus3.edgexfoundry.org:10003 [2023-08-02T16:44:25.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:44:25.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:44:25.967Z] Configure a credential helper to remove this warning. See [2023-08-02T16:44:25.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:44:25.967Z] [2023-08-02T16:44:25.967Z] Login Succeeded [2023-08-02T16:44:25.967Z] nexus3.edgexfoundry.org:10004 [2023-08-02T16:44:26.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:44:26.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:44:26.242Z] Configure a credential helper to remove this warning. See [2023-08-02T16:44:26.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:44:26.242Z] [2023-08-02T16:44:26.242Z] Login Succeeded [2023-08-02T16:44:26.242Z] docker.io [2023-08-02T16:44:26.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T16:44:26.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T16:44:26.774Z] Configure a credential helper to remove this warning. See [2023-08-02T16:44:26.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T16:44:26.774Z] [2023-08-02T16:44:26.774Z] Login Succeeded [2023-08-02T16:44:26.774Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T16:44:26.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-02T16:44:26.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T16:44:26.849Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-08-02T16:44:26.849Z] 89173ea65a943aba0f4628b8150ce015ac4d5016 [2023-08-02T16:44:26.849Z] latest [2023-08-02T16:44:26.849Z] 3.1.0-dev.3 [2023-08-02T16:44:26.849Z] 89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 [2023-08-02T16:44:26.849Z] main [2023-08-02T16:44:26.849Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:44:27.209Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:44:27.555Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:89173ea65a943aba0f4628b8150ce015ac4d5016 [2023-08-02T16:44:27.555Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-02T16:44:27.555Z] 9ecd61a05c58: Preparing [2023-08-02T16:44:27.555Z] 24796c9caca0: Preparing [2023-08-02T16:44:27.555Z] 398de2a5e0c6: Preparing [2023-08-02T16:44:27.555Z] 5aa64c3ef7d8: Preparing [2023-08-02T16:44:27.555Z] 9386262d7a74: Preparing [2023-08-02T16:44:27.555Z] 9386262d7a74: Layer already exists [2023-08-02T16:44:27.821Z] 5aa64c3ef7d8: Pushed [2023-08-02T16:44:27.821Z] 9ecd61a05c58: Pushed [2023-08-02T16:44:27.821Z] 24796c9caca0: Pushed [2023-08-02T16:44:33.152Z] 398de2a5e0c6: Pushed [2023-08-02T16:44:33.152Z] 89173ea65a943aba0f4628b8150ce015ac4d5016: digest: sha256:0c5c4b94ada68ad7261e67bd78528ed0b7b8272178d4517e6e205e6f7003ae7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:44:33.496Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:44:33.842Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-08-02T16:44:33.842Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-02T16:44:33.842Z] 9ecd61a05c58: Preparing [2023-08-02T16:44:33.842Z] 24796c9caca0: Preparing [2023-08-02T16:44:33.842Z] 398de2a5e0c6: Preparing [2023-08-02T16:44:33.842Z] 5aa64c3ef7d8: Preparing [2023-08-02T16:44:33.842Z] 9386262d7a74: Preparing [2023-08-02T16:44:33.842Z] 398de2a5e0c6: Layer already exists [2023-08-02T16:44:33.842Z] 24796c9caca0: Layer already exists [2023-08-02T16:44:33.842Z] 9386262d7a74: Layer already exists [2023-08-02T16:44:33.842Z] 9ecd61a05c58: Layer already exists [2023-08-02T16:44:33.842Z] 5aa64c3ef7d8: Layer already exists [2023-08-02T16:44:33.842Z] latest: digest: sha256:0c5c4b94ada68ad7261e67bd78528ed0b7b8272178d4517e6e205e6f7003ae7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:44:34.173Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:44:34.502Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.3 [2023-08-02T16:44:34.503Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-02T16:44:34.503Z] 9ecd61a05c58: Preparing [2023-08-02T16:44:34.503Z] 24796c9caca0: Preparing [2023-08-02T16:44:34.503Z] 398de2a5e0c6: Preparing [2023-08-02T16:44:34.503Z] 5aa64c3ef7d8: Preparing [2023-08-02T16:44:34.503Z] 9386262d7a74: Preparing [2023-08-02T16:44:34.503Z] 9ecd61a05c58: Layer already exists [2023-08-02T16:44:34.503Z] 9386262d7a74: Layer already exists [2023-08-02T16:44:34.503Z] 398de2a5e0c6: Layer already exists [2023-08-02T16:44:34.503Z] 5aa64c3ef7d8: Layer already exists [2023-08-02T16:44:34.503Z] 24796c9caca0: Layer already exists [2023-08-02T16:44:34.503Z] 3.1.0-dev.3: digest: sha256:0c5c4b94ada68ad7261e67bd78528ed0b7b8272178d4517e6e205e6f7003ae7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:44:35.099Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:44:35.428Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 [2023-08-02T16:44:35.428Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-02T16:44:35.428Z] 9ecd61a05c58: Preparing [2023-08-02T16:44:35.428Z] 24796c9caca0: Preparing [2023-08-02T16:44:35.428Z] 398de2a5e0c6: Preparing [2023-08-02T16:44:35.428Z] 5aa64c3ef7d8: Preparing [2023-08-02T16:44:35.428Z] 9386262d7a74: Preparing [2023-08-02T16:44:35.428Z] 9386262d7a74: Layer already exists [2023-08-02T16:44:35.428Z] 24796c9caca0: Layer already exists [2023-08-02T16:44:35.428Z] 398de2a5e0c6: Layer already exists [2023-08-02T16:44:35.428Z] 5aa64c3ef7d8: Layer already exists [2023-08-02T16:44:35.428Z] 9ecd61a05c58: Layer already exists [2023-08-02T16:44:35.428Z] 89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3: digest: sha256:0c5c4b94ada68ad7261e67bd78528ed0b7b8272178d4517e6e205e6f7003ae7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:44:35.758Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:44:36.084Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-08-02T16:44:36.085Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-02T16:44:36.085Z] 9ecd61a05c58: Preparing [2023-08-02T16:44:36.085Z] 24796c9caca0: Preparing [2023-08-02T16:44:36.085Z] 398de2a5e0c6: Preparing [2023-08-02T16:44:36.085Z] 5aa64c3ef7d8: Preparing [2023-08-02T16:44:36.085Z] 9386262d7a74: Preparing [2023-08-02T16:44:36.085Z] 24796c9caca0: Layer already exists [2023-08-02T16:44:36.085Z] 9386262d7a74: Layer already exists [2023-08-02T16:44:36.085Z] 5aa64c3ef7d8: Layer already exists [2023-08-02T16:44:36.085Z] 398de2a5e0c6: Layer already exists [2023-08-02T16:44:36.085Z] 9ecd61a05c58: Layer already exists [2023-08-02T16:44:36.085Z] main: digest: sha256:0c5c4b94ada68ad7261e67bd78528ed0b7b8272178d4517e6e205e6f7003ae7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-02T16:44:36.180Z] ===================================================== [Pipeline] echo [2023-08-02T16:44:36.192Z] taggedImages: [2023-08-02T16:44:36.192Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:89173ea65a943aba0f4628b8150ce015ac4d5016 [2023-08-02T16:44:36.192Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-08-02T16:44:36.192Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.3 [2023-08-02T16:44:36.192Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 [2023-08-02T16:44:36.192Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:44:36.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T16:44:36.567Z] [2023-08-02T16:44:36.567Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:44:36.910Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T16:44:36.910Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-02T16:44:36.910Z] 8998bd30e6a1: Pulling fs layer [2023-08-02T16:44:36.910Z] 04944245beec: Pulling fs layer [2023-08-02T16:44:36.910Z] 699f458cf7ca: Pulling fs layer [2023-08-02T16:44:36.910Z] 765212b225bb: Pulling fs layer [2023-08-02T16:44:36.910Z] f23df028b6ca: Pulling fs layer [2023-08-02T16:44:36.910Z] d65c8cfc05b1: Pulling fs layer [2023-08-02T16:44:36.910Z] 2437ff75d9bd: Pulling fs layer [2023-08-02T16:44:36.910Z] f23df028b6ca: Waiting [2023-08-02T16:44:36.910Z] d65c8cfc05b1: Waiting [2023-08-02T16:44:36.910Z] 2437ff75d9bd: Waiting [2023-08-02T16:44:36.910Z] 765212b225bb: Waiting [2023-08-02T16:44:36.910Z] 04944245beec: Verifying Checksum [2023-08-02T16:44:36.910Z] 04944245beec: Download complete [2023-08-02T16:44:37.188Z] 765212b225bb: Verifying Checksum [2023-08-02T16:44:37.188Z] 765212b225bb: Download complete [2023-08-02T16:44:37.188Z] f23df028b6ca: Verifying Checksum [2023-08-02T16:44:37.188Z] f23df028b6ca: Download complete [2023-08-02T16:44:37.188Z] d65c8cfc05b1: Verifying Checksum [2023-08-02T16:44:37.188Z] d65c8cfc05b1: Download complete [2023-08-02T16:44:37.188Z] 699f458cf7ca: Verifying Checksum [2023-08-02T16:44:37.188Z] 699f458cf7ca: Download complete [2023-08-02T16:44:37.775Z] 8998bd30e6a1: Verifying Checksum [2023-08-02T16:44:37.775Z] 8998bd30e6a1: Download complete [2023-08-02T16:44:39.718Z] 2437ff75d9bd: Verifying Checksum [2023-08-02T16:44:39.718Z] 2437ff75d9bd: Download complete [2023-08-02T16:44:41.658Z] 8998bd30e6a1: Pull complete [2023-08-02T16:44:41.925Z] 04944245beec: Pull complete [2023-08-02T16:44:43.332Z] 699f458cf7ca: Pull complete [2023-08-02T16:44:43.332Z] 765212b225bb: Pull complete [2023-08-02T16:44:44.290Z] f23df028b6ca: Pull complete [2023-08-02T16:44:44.290Z] d65c8cfc05b1: Pull complete [2023-08-02T16:44:59.269Z] 2437ff75d9bd: Pull complete [2023-08-02T16:44:59.269Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-02T16:44:59.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T16:44:59.269Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:44:59.440Z] prd-ubuntu20.04-docker-arm64-4c-16g-2759 does not seem to be running inside a container [2023-08-02T16:44:59.495Z] $ 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-rest-go/123 -v /w/workspace/device-rest-go/123:/w/workspace/device-rest-go/123:rw,z -v /w/workspace/device-rest-go/123@tmp:/w/workspace/device-rest-go/123@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-08-02T16:45:01.961Z] $ docker top 075250925e4bb5ac53e3354008074da71352b8b6a1952e520e06d016338d2be3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:45:02.452Z] ---> job-cost.sh [2023-08-02T16:45:02.716Z] lf-activate-venv: SKIPPING [2023-08-02T16:45:02.716Z] INFO: No Stack... [2023-08-02T16:45:02.979Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-02T16:45:03.929Z] INFO: Archiving Costs [Pipeline] sh [2023-08-02T16:45:04.238Z] + cat /w/workspace/device-rest-go/123/archives/cost.csv [2023-08-02T16:45:04.238Z] + cut -d, -f6 [Pipeline] lock [2023-08-02T16:45:04.298Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] [2023-08-02T16:45:04.303Z] Resource [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] did not exist. Created. [2023-08-02T16:45:04.304Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-02T16:45:04.634Z] /w/workspace/device-rest-go/123@tmp/durable-0368d133/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-02T16:45:04.960Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-02T16:45:04.986Z] Warning: overwriting stash ‘stack-cost’ [2023-08-02T16:45:05.035Z] Stashed 1 file(s) [Pipeline] } [2023-08-02T16:45:05.041Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-02T16:45:05.056Z] $ docker stop --time=1 075250925e4bb5ac53e3354008074da71352b8b6a1952e520e06d016338d2be3 [2023-08-02T16:45:06.527Z] $ docker rm -f --volumes 075250925e4bb5ac53e3354008074da71352b8b6a1952e520e06d016338d2be3 [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-08-02T16:45:06.931Z] provisioning config files... [2023-08-02T16:45:06.938Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2241025605706340509tmp [Pipeline] { [Pipeline] sh [2023-08-02T16:45:07.224Z] + set +x [2023-08-02T16:45:07.224Z] + curl -s https://codecov.io/bash [2023-08-02T16:45:07.224Z] + bash -s -- [2023-08-02T16:45:07.224Z] [2023-08-02T16:45:07.224Z] _____ _ [2023-08-02T16:45:07.224Z] / ____| | | [2023-08-02T16:45:07.224Z] | | ___ __| | ___ ___ _____ __ [2023-08-02T16:45:07.224Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-02T16:45:07.224Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-02T16:45:07.224Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-02T16:45:07.224Z] Bash-1.0.6 [2023-08-02T16:45:07.224Z] [2023-08-02T16:45:07.224Z] [2023-08-02T16:45:07.224Z] ==> git version 2.25.1 found [2023-08-02T16:45:07.224Z] ==> 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-08-02T16:45:07.224Z] Release-Date: 2020-01-08 [2023-08-02T16:45:07.224Z] 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-08-02T16:45:07.224Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-02T16:45:07.224Z] ==> Jenkins CI detected. [2023-08-02T16:45:07.224Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-08-02T16:45:07.224Z] project root: . [2023-08-02T16:45:07.224Z] --> token set from env [2023-08-02T16:45:07.224Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-02T16:45:07.224Z] ==> Running gcov in . (disable via -X gcov) [2023-08-02T16:45:07.224Z] ==> Python coveragepy not found [2023-08-02T16:45:07.224Z] ==> Searching for coverage reports in: [2023-08-02T16:45:07.224Z] + . [2023-08-02T16:45:07.224Z] -> Found 1 reports [2023-08-02T16:45:07.224Z] ==> Detecting git/mercurial file structure [2023-08-02T16:45:07.482Z] ==> Reading reports [2023-08-02T16:45:07.483Z] + ./coverage.out bytes=14656 [2023-08-02T16:45:07.483Z] ==> Appending adjustments [2023-08-02T16:45:07.483Z] https://docs.codecov.io/docs/fixing-reports [2023-08-02T16:45:07.483Z] + Found adjustments [2023-08-02T16:45:07.483Z] ==> Gzipping contents [2023-08-02T16:45:07.483Z] 4.0K /tmp/codecov.lSdDzR.gz [2023-08-02T16:45:07.483Z] ==> Uploading reports [2023-08-02T16:45:07.483Z] url: https://codecov.io [2023-08-02T16:45:07.483Z] query: branch=main&commit=89173ea65a943aba0f4628b8150ce015ac4d5016&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-02T16:45:07.483Z] -> Pinging Codecov [2023-08-02T16:45:07.483Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=89173ea65a943aba0f4628b8150ce015ac4d5016&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-02T16:45:07.741Z] -> Uploading to [2023-08-02T16:45:07.741Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-02/4E5D53B4F1F92C436F7061BF334D961C/89173ea65a943aba0f4628b8150ce015ac4d5016/0070a33b-113a-442d-90fc-e59c604524b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230802%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230802T164507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89f550f63009a367f4871e2eea70af061fb1412cbde2f41d6d4e0d257613efce [2023-08-02T16:45:07.741Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-02T16:45:07.741Z] Dload Upload Total Spent Left Speed [2023-08-02T16:45:07.741Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2492 0 0 100 2492 0 13115 --:--:-- --:--:-- --:--:-- 13047 [2023-08-02T16:45:07.741Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] } [2023-08-02T16:45:07.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-02T16:45:07.957Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-02T16:45:07.966Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:45:08.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-02T16:45:08.258Z] [2023-08-02T16:45:08.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-08-02T16:45:08.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-02T16:45:08.551Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-02T16:45:08.551Z] df9b9388f04a: Pulling fs layer [2023-08-02T16:45:08.551Z] 52dc419b0ee2: Pulling fs layer [2023-08-02T16:45:08.551Z] 25bc292e5bac: Pulling fs layer [2023-08-02T16:45:08.551Z] 114826534d7a: Pulling fs layer [2023-08-02T16:45:08.551Z] 4657fd5d0bcf: Pulling fs layer [2023-08-02T16:45:08.551Z] 6ad1cebc031e: Pulling fs layer [2023-08-02T16:45:08.551Z] 8a3aa393b2d8: Pulling fs layer [2023-08-02T16:45:08.551Z] 114826534d7a: Waiting [2023-08-02T16:45:08.551Z] 4657fd5d0bcf: Waiting [2023-08-02T16:45:08.551Z] 6ad1cebc031e: Waiting [2023-08-02T16:45:08.551Z] 8a3aa393b2d8: Waiting [2023-08-02T16:45:08.551Z] 25bc292e5bac: Download complete [2023-08-02T16:45:08.551Z] 52dc419b0ee2: Verifying Checksum [2023-08-02T16:45:08.551Z] 52dc419b0ee2: Download complete [2023-08-02T16:45:08.551Z] 4657fd5d0bcf: Verifying Checksum [2023-08-02T16:45:08.551Z] 4657fd5d0bcf: Download complete [2023-08-02T16:45:08.551Z] df9b9388f04a: Download complete [2023-08-02T16:45:08.809Z] 6ad1cebc031e: Verifying Checksum [2023-08-02T16:45:08.809Z] 6ad1cebc031e: Download complete [2023-08-02T16:45:08.809Z] df9b9388f04a: Pull complete [2023-08-02T16:45:08.809Z] 52dc419b0ee2: Pull complete [2023-08-02T16:45:08.809Z] 25bc292e5bac: Pull complete [2023-08-02T16:45:09.377Z] 114826534d7a: Download complete [2023-08-02T16:45:09.377Z] 8a3aa393b2d8: Verifying Checksum [2023-08-02T16:45:09.377Z] 8a3aa393b2d8: Download complete [2023-08-02T16:45:12.656Z] 114826534d7a: Pull complete [2023-08-02T16:45:12.656Z] 4657fd5d0bcf: Pull complete [2023-08-02T16:45:12.914Z] 6ad1cebc031e: Pull complete [2023-08-02T16:45:15.445Z] 8a3aa393b2d8: Pull complete [2023-08-02T16:45:15.445Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-02T16:45:15.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-02T16:45:15.445Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:45:15.527Z] prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container [2023-08-02T16:45:15.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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-08-02T16:45:24.051Z] $ docker top cdda2fe3cc1b25b6a04b38dc8c4c4688ac329a459024875ec1a9b174565e7196 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-02T16:45:24.134Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-08-02T16:45:24.407Z] + set -o pipefail [2023-08-02T16:45:24.408Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-08-02T16:45:30.000Z] [2023-08-02T16:45:30.000Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-08-02T16:45:30.000Z] [2023-08-02T16:45:30.000Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/30079a9b-1607-4ab1-87f9-f43223910414 [2023-08-02T16:45:30.000Z] [2023-08-02T16:45:30.000Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-02T16:45:30.000Z] [2023-08-02T16:45:30.000Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-02T16:45:30.000Z] [2023-08-02T16:45:30.567Z] [2023-08-02T16:45:30.567Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-02T16:45:30.567Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-02T16:45:30.567Z] More details here: https://snyk.co/ue1NS [2023-08-02T16:45:30.567Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-08-02T16:45:30.567Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-08-02T16:45:30.558Z] $ docker stop --time=1 cdda2fe3cc1b25b6a04b38dc8c4c4688ac329a459024875ec1a9b174565e7196 [2023-08-02T16:45:40.277Z] $ docker rm -f --volumes cdda2fe3cc1b25b6a04b38dc8c4c4688ac329a459024875ec1a9b174565e7196 [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-08-02T16:45:40.976Z] + git log --format=format:%s -1 89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] sh [2023-08-02T16:45:41.266Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-02T16:45:41.266Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:45:41.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T16:45:41.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:45:41.627Z] prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container [2023-08-02T16:45:41.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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-08-02T16:45:41.983Z] $ docker top a185cd12765d6d92757b905ae49ed5dc6b5649720b571d6d88067926f6ef7334 -eo pid,comm [2023-08-02T16:45:42.049Z] 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-08-02T16:45:42.049Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-02T16:45:42.088Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T16:45:42.088Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T16:45:42.194Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T16:45:42.177Z] $ docker exec a185cd12765d6d92757b905ae49ed5dc6b5649720b571d6d88067926f6ef7334 ssh-agent [2023-08-02T16:45:42.306Z] SSH_AUTH_SOCK=/tmp/ssh-wJyu0UB9FOB1/agent.33 [2023-08-02T16:45:42.306Z] SSH_AGENT_PID=39 [2023-08-02T16:45:42.310Z] Running ssh-add (command line suppressed) [2023-08-02T16:45:42.372Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11524578897987877330.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11524578897987877330.key) [2023-08-02T16:45:42.404Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T16:45:42.690Z] + git semver tag [2023-08-02T16:45:42.949Z] 2023-08-02 16:45:42,829 [run_tag] DEBUG tag force:False [2023-08-02T16:45:42.949Z] 2023-08-02 16:45:42,829 [check_head_tag] DEBUG check head tag [2023-08-02T16:45:42.949Z] 2023-08-02 16:45:42,829 [execute] INFO git cat-file --batch-check [2023-08-02T16:45:42.949Z] 2023-08-02 16:45:42,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-08-02T16:45:42.949Z] 2023-08-02 16:45:42,832 [execute] INFO git cat-file --batch [2023-08-02T16:45:42.949Z] 2023-08-02 16:45:42,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-08-02T16:45:42.949Z] 2023-08-02 16:45:42,839 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-02T16:45:42.949Z] 2023-08-02 16:45:42,839 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 [2023-08-02T16:45:42.949Z] 2023-08-02 16:45:42,840 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-02T16:45:42.949Z] 2023-08-02 16:45:42,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-02T16:45:42.949Z] 3.1.0-dev.3 [Pipeline] } [2023-08-02T16:45:42.938Z] $ docker exec --env ******** --env ******** a185cd12765d6d92757b905ae49ed5dc6b5649720b571d6d88067926f6ef7334 ssh-agent -k [2023-08-02T16:45:43.028Z] unset SSH_AUTH_SOCK; [2023-08-02T16:45:43.028Z] unset SSH_AGENT_PID; [2023-08-02T16:45:43.029Z] echo Agent pid 39 killed; [2023-08-02T16:45:43.056Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-02T16:45:43.353Z] + git semver [Pipeline] } [2023-08-02T16:45:43.603Z] $ docker stop --time=1 a185cd12765d6d92757b905ae49ed5dc6b5649720b571d6d88067926f6ef7334 [2023-08-02T16:45:44.951Z] $ docker rm -f --volumes a185cd12765d6d92757b905ae49ed5dc6b5649720b571d6d88067926f6ef7334 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:45:45.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-02T16:45:45.338Z] [2023-08-02T16:45:45.338Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:45:45.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-02T16:45:45.633Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-02T16:45:45.633Z] ab5ef0e58194: Pulling fs layer [2023-08-02T16:45:45.633Z] 9712f1f96733: Pulling fs layer [2023-08-02T16:45:45.633Z] 63f879dbbcfc: Pulling fs layer [2023-08-02T16:45:45.633Z] 0d9ebad4ef96: Pulling fs layer [2023-08-02T16:45:45.633Z] e9a5061849ea: Pulling fs layer [2023-08-02T16:45:45.633Z] d747dcd14b5f: Pulling fs layer [2023-08-02T16:45:45.633Z] 2de7ff778b66: Pulling fs layer [2023-08-02T16:45:45.633Z] 0d9ebad4ef96: Waiting [2023-08-02T16:45:45.633Z] e9a5061849ea: Waiting [2023-08-02T16:45:45.633Z] 2de7ff778b66: Waiting [2023-08-02T16:45:45.633Z] d747dcd14b5f: Waiting [2023-08-02T16:45:45.633Z] 9712f1f96733: Verifying Checksum [2023-08-02T16:45:45.633Z] 9712f1f96733: Download complete [2023-08-02T16:45:45.892Z] 63f879dbbcfc: Verifying Checksum [2023-08-02T16:45:45.892Z] 63f879dbbcfc: Download complete [2023-08-02T16:45:46.149Z] e9a5061849ea: Verifying Checksum [2023-08-02T16:45:46.149Z] e9a5061849ea: Download complete [2023-08-02T16:45:46.149Z] 0d9ebad4ef96: Verifying Checksum [2023-08-02T16:45:46.149Z] 0d9ebad4ef96: Download complete [2023-08-02T16:45:46.149Z] d747dcd14b5f: Verifying Checksum [2023-08-02T16:45:46.149Z] d747dcd14b5f: Download complete [2023-08-02T16:45:46.149Z] ab5ef0e58194: Verifying Checksum [2023-08-02T16:45:46.149Z] ab5ef0e58194: Download complete [2023-08-02T16:45:46.149Z] 2de7ff778b66: Verifying Checksum [2023-08-02T16:45:46.149Z] 2de7ff778b66: Download complete [2023-08-02T16:45:48.678Z] ab5ef0e58194: Pull complete [2023-08-02T16:45:48.678Z] 9712f1f96733: Pull complete [2023-08-02T16:45:49.244Z] 63f879dbbcfc: Pull complete [2023-08-02T16:45:53.605Z] 0d9ebad4ef96: Pull complete [2023-08-02T16:45:53.605Z] e9a5061849ea: Pull complete [2023-08-02T16:45:53.605Z] d747dcd14b5f: Pull complete [2023-08-02T16:45:54.168Z] 2de7ff778b66: Pull complete [2023-08-02T16:45:54.168Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-02T16:45:54.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-02T16:45:54.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:45:54.507Z] prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container [2023-08-02T16:45:54.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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-08-02T16:46:00.254Z] $ docker top 4b78cc4ad8088d87fd4c11a845b3add63493527b609a5c13444ab13fbfdd9b51 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-02T16:46:00.330Z] provisioning config files... [2023-08-02T16:46:00.336Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6859011538020419512tmp [2023-08-02T16:46:00.345Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12573159823457871362tmp [2023-08-02T16:46:00.354Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9303232529550398203tmp [Pipeline] { [Pipeline] echo [2023-08-02T16:46:00.365Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:46:00.645Z] ---> sigul-configuration.sh [2023-08-02T16:46:00.645Z] gpg: directory `/root/.gnupg' created [2023-08-02T16:46:00.645Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-02T16:46:00.645Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-02T16:46:00.645Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-02T16:46:00.645Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-02T16:46:00.645Z] gpg: CAST5 encrypted data [2023-08-02T16:46:00.645Z] gpg: encrypted with 1 passphrase [2023-08-02T16:46:00.645Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-02T16:46:00.925Z] + mkdir /home/jenkins [2023-08-02T16:46:00.925Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-02T16:46:01.211Z] + 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-08-02T16:46:01.219Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:46:01.504Z] ---> sigul-install.sh [2023-08-02T16:46:01.504Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-02T16:46:01.785Z] + git tag --list [2023-08-02T16:46:01.785Z] v1.0.0 [2023-08-02T16:46:01.785Z] v1.1.0 [2023-08-02T16:46:01.785Z] v1.1.1 [2023-08-02T16:46:01.785Z] v1.1.2 [2023-08-02T16:46:01.785Z] v1.2.0 [2023-08-02T16:46:01.785Z] v1.2.1 [2023-08-02T16:46:01.785Z] v2.0.0 [2023-08-02T16:46:01.785Z] v2.1.0 [2023-08-02T16:46:01.785Z] v2.1.1 [2023-08-02T16:46:01.785Z] v2.2.0 [2023-08-02T16:46:01.785Z] v2.3.0 [2023-08-02T16:46:01.785Z] v3.0 [2023-08-02T16:46:01.785Z] v3.0.0 [2023-08-02T16:46:01.785Z] v3.1.0-dev.1 [2023-08-02T16:46:01.785Z] v3.1.0-dev.2 [2023-08-02T16:46:01.785Z] v3.1.0-dev.3 [Pipeline] sh [2023-08-02T16:46:02.071Z] + lftools sign git-tag v3.1.0-dev.3 [2023-08-02T16:46:02.639Z] Signing Git tag with Sigul... [2023-08-02T16:46:02.639Z] Signing v3.1.0-dev.3 [Pipeline] echo [2023-08-02T16:46:02.904Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:46:03.186Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-02T16:46:03.193Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-02T16:46:03.192Z] $ docker stop --time=1 4b78cc4ad8088d87fd4c11a845b3add63493527b609a5c13444ab13fbfdd9b51 [2023-08-02T16:46:04.445Z] $ docker rm -f --volumes 4b78cc4ad8088d87fd4c11a845b3add63493527b609a5c13444ab13fbfdd9b51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-02T16:46:04.869Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-02T16:46:04.869Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:46:05.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T16:46:05.169Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:46:05.240Z] prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container [2023-08-02T16:46:05.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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-08-02T16:46:05.553Z] $ docker top 931eb032ed89bd356a1c57024240a0ff0714ca45a20aec6c47dfa4be636eb957 -eo pid,comm [2023-08-02T16:46:05.617Z] 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-08-02T16:46:05.617Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-02T16:46:05.705Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T16:46:05.705Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T16:46:05.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T16:46:05.794Z] $ docker exec 931eb032ed89bd356a1c57024240a0ff0714ca45a20aec6c47dfa4be636eb957 ssh-agent [2023-08-02T16:46:05.898Z] SSH_AUTH_SOCK=/tmp/ssh-FvnUHaHbH9zS/agent.32 [2023-08-02T16:46:05.898Z] SSH_AGENT_PID=38 [2023-08-02T16:46:05.903Z] Running ssh-add (command line suppressed) [2023-08-02T16:46:05.978Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11829048762494130792.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11829048762494130792.key) [2023-08-02T16:46:06.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T16:46:06.295Z] + git semver bump pre [2023-08-02T16:46:06.555Z] 2023-08-02 16:46:06,454 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-02T16:46:06.555Z] 2023-08-02 16:46:06,454 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev [2023-08-02T16:46:06.555Z] 2023-08-02 16:46:06,454 [bump_version] DEBUG bumped version:3.1.0-dev.4 [2023-08-02T16:46:06.555Z] 2023-08-02 16:46:06,454 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-08-02T16:46:06.555Z] 2023-08-02 16:46:06,454 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-02T16:46:06.555Z] 2023-08-02 16:46:06,454 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-02T16:46:06.555Z] 2023-08-02 16:46:06,456 [execute] INFO git cat-file --batch-check [2023-08-02T16:46:06.555Z] 2023-08-02 16:46:06,456 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-02T16:46:06.555Z] 2023-08-02 16:46:06,461 [execute] INFO git cat-file --batch [2023-08-02T16:46:06.555Z] 2023-08-02 16:46:06,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-02T16:46:06.555Z] 2023-08-02 16:46:06,466 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-02T16:46:06.555Z] 3.1.0-dev.4 [Pipeline] } [2023-08-02T16:46:06.545Z] $ docker exec --env ******** --env ******** 931eb032ed89bd356a1c57024240a0ff0714ca45a20aec6c47dfa4be636eb957 ssh-agent -k [2023-08-02T16:46:06.631Z] unset SSH_AUTH_SOCK; [2023-08-02T16:46:06.631Z] unset SSH_AGENT_PID; [2023-08-02T16:46:06.631Z] echo Agent pid 38 killed; [2023-08-02T16:46:06.661Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-02T16:46:06.971Z] + git semver [Pipeline] } [2023-08-02T16:46:07.224Z] $ docker stop --time=1 931eb032ed89bd356a1c57024240a0ff0714ca45a20aec6c47dfa4be636eb957 [2023-08-02T16:46:08.456Z] $ docker rm -f --volumes 931eb032ed89bd356a1c57024240a0ff0714ca45a20aec6c47dfa4be636eb957 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T16:46:08.832Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-02T16:46:08.832Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:46:09.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T16:46:09.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:46:09.189Z] prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container [2023-08-02T16:46:09.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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-08-02T16:46:09.499Z] $ docker top 74b9248095061809af5ffd27c3dc90e4da5e946a69b582413e467b4334b3f644 -eo pid,comm [2023-08-02T16:46:09.567Z] 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-08-02T16:46:09.567Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-02T16:46:09.602Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T16:46:09.602Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T16:46:09.704Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T16:46:09.686Z] $ docker exec 74b9248095061809af5ffd27c3dc90e4da5e946a69b582413e467b4334b3f644 ssh-agent [2023-08-02T16:46:09.805Z] SSH_AUTH_SOCK=/tmp/ssh-J6mMH9gPAfZB/agent.32 [2023-08-02T16:46:09.805Z] SSH_AGENT_PID=38 [2023-08-02T16:46:09.809Z] Running ssh-add (command line suppressed) [2023-08-02T16:46:09.884Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16654885489579251467.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16654885489579251467.key) [2023-08-02T16:46:09.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T16:46:10.195Z] + git semver push [2023-08-02T16:46:10.454Z] 2023-08-02 16:46:10,328 [run_push] DEBUG push [2023-08-02T16:46:10.454Z] 2023-08-02 16:46:10,329 [execute] INFO git cat-file --batch-check [2023-08-02T16:46:10.454Z] 2023-08-02 16:46:10,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-02T16:46:10.454Z] 2023-08-02 16:46:10,333 [execute] INFO git rev-list 64679faa2a5cfe780ac0759fb263c637d0aab1a7 -- [2023-08-02T16:46:10.454Z] 2023-08-02 16:46:10,333 [execute] DEBUG Popen(['git', 'rev-list', '64679faa2a5cfe780ac0759fb263c637d0aab1a7', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-02T16:46:10.454Z] 2023-08-02 16:46:10,341 [execute] INFO git fetch -v origin [2023-08-02T16:46:10.454Z] 2023-08-02 16:46:10,341 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-02T16:46:11.022Z] 2023-08-02 16:46:10,851 [run_push] DEBUG no remote changes detected [2023-08-02T16:46:11.022Z] 2023-08-02 16:46:10,851 [execute] INFO git push origin semver [2023-08-02T16:46:11.022Z] 2023-08-02 16:46:10,852 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-02T16:46:11.958Z] 2023-08-02 16:46:11,687 [run_push] DEBUG push all version tags [2023-08-02T16:46:11.958Z] 2023-08-02 16:46:11,688 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-02T16:46:11.958Z] 2023-08-02 16:46:11,688 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-02T16:46:12.527Z] 2023-08-02 16:46:12,495 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-02T16:46:12.527Z] 3.1.0-dev.4 [Pipeline] } [2023-08-02T16:46:12.776Z] $ docker exec --env ******** --env ******** 74b9248095061809af5ffd27c3dc90e4da5e946a69b582413e467b4334b3f644 ssh-agent -k [2023-08-02T16:46:12.871Z] unset SSH_AUTH_SOCK; [2023-08-02T16:46:12.871Z] unset SSH_AGENT_PID; [2023-08-02T16:46:12.871Z] echo Agent pid 38 killed; [2023-08-02T16:46:12.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-02T16:46:13.210Z] + git semver [Pipeline] } [2023-08-02T16:46:13.459Z] $ docker stop --time=1 74b9248095061809af5ffd27c3dc90e4da5e946a69b582413e467b4334b3f644 [2023-08-02T16:46:14.732Z] $ docker rm -f --volumes 74b9248095061809af5ffd27c3dc90e4da5e946a69b582413e467b4334b3f644 [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-08-02T16:46:15.335Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-08-02T16:46:15.335Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-08-02T16:46:15.335Z] total 16 [2023-08-02T16:46:15.335Z] drwxr-xr-x 3 root root 4096 Aug 2 16:37 . [2023-08-02T16:46:15.335Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 16:46 .. [2023-08-02T16:46:15.335Z] drwxr-xr-x 2 root root 4096 Aug 2 16:37 cost [2023-08-02T16:46:15.335Z] -rw-r--r-- 1 root root 86 Aug 2 16:37 cost.csv [2023-08-02T16:46:15.335Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-08-02T16:46:15.335Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-08-02T16:46:15.335Z] total 16 [2023-08-02T16:46:15.335Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 16:37 . [2023-08-02T16:46:15.335Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 16:46 .. [2023-08-02T16:46:15.335Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 16:37 cost [2023-08-02T16:46:15.335Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 2 16:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:46:15.626Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:46:16.487Z] ---> package-listing.sh [2023-08-02T16:46:16.487Z] ++ facter osfamily [2023-08-02T16:46:16.487Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-02T16:46:16.746Z] + OS_FAMILY=debian [2023-08-02T16:46:16.746Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-08-02T16:46:16.746Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-02T16:46:16.746Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-02T16:46:16.746Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-02T16:46:16.746Z] + PACKAGES=/tmp/packages_start.txt [2023-08-02T16:46:16.746Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-08-02T16:46:16.746Z] + PACKAGES=/tmp/packages_end.txt [2023-08-02T16:46:16.746Z] + case "${OS_FAMILY}" in [2023-08-02T16:46:16.746Z] + dpkg -l [2023-08-02T16:46:16.746Z] + grep '^ii' [2023-08-02T16:46:16.746Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-02T16:46:16.746Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-02T16:46:16.746Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-02T16:46:16.746Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-08-02T16:46:16.746Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-08-02T16:46:16.746Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-08-02T16:46:16.757Z] 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/edgexfoundry_device-rest-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-08-02T16:46:17.036Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T16:46:17.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T16:46:17.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T16:46:17.535Z] prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container [2023-08-02T16:46:17.617Z] $ 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/edgexfoundry_device-rest-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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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-08-02T16:46:17.879Z] $ docker top cf5dda475bc635e65567b581a844c60fa33076abe69bf7fb20c9995b2c7e654b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T16:46:18.231Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-02T16:46:18.514Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-02T16:46:18.796Z] + ls /var/log/sa-host [2023-08-02T16:46:18.796Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T16:46:18.962Z] provisioning config files... [2023-08-02T16:46:18.970Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15563444245323049055tmp [Pipeline] { [Pipeline] echo [2023-08-02T16:46:18.981Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:46:19.262Z] ---> create-netrc.sh [Pipeline] } [2023-08-02T16:46:19.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:46:19.604Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-02T16:46:19.613Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:46:19.899Z] ---> sudo-logs.sh [2023-08-02T16:46:19.899Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-02T16:46:19.921Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:46:20.204Z] ---> job-cost.sh [2023-08-02T16:46:20.204Z] lf-activate-venv: SKIPPING [2023-08-02T16:46:20.204Z] DEBUG: total: 0.2199999988079071 [2023-08-02T16:46:20.204Z] INFO: Retrieving Stack Cost... [2023-08-02T16:46:20.464Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-02T16:46:21.032Z] INFO: Archiving Costs [Pipeline] echo [2023-08-02T16:46:21.043Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T16:46:21.323Z] ---> logs-deploy.sh [2023-08-02T16:46:21.323Z] lf-activate-venv: SKIPPING [2023-08-02T16:46:21.323Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/123 [2023-08-02T16:46:21.323Z] INFO: archiving workspace using pattern(s): [2023-08-02T16:46:22.258Z] Archives upload complete. [2023-08-02T16:46:22.258Z] INFO: archiving logs to Nexus