Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0bc3f30d539332995b04e4270d58f382a711f8a9 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-ssh17287136737808780264.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh9467677181010770603.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11874412646386541994.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh3575115349413445914.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-ssh152652739947087359.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5752 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 0bc3f30d539332995b04e4270d58f382a711f8a9 (main) Commit message: "Merge pull request #338 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" > 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 0bc3f30d539332995b04e4270d58f382a711f8a9 # timeout=10 > git rev-list --no-walk 6634545f8e6cef8aebee68454b169adec7871c71 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-11T01:05:37.161Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-11T01:05:37.234Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-11T01:05:37.252Z] ========================================================= [2023-09-11T01:05:37.253Z] EdgeX Global Pipelines Version Info [2023-09-11T01:05:37.253Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:05:37.964Z] ------------------- [2023-09-11T01:05:37.964Z] stable info: [2023-09-11T01:05:37.964Z] ------------------- [2023-09-11T01:05:37.964Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-11T01:05:37.964Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-11T01:05:37.964Z] Message: update stable to v1.0.253 [2023-09-11T01:05:38.558Z] ------------------- [2023-09-11T01:05:38.558Z] experimental info: [2023-09-11T01:05:38.558Z] ------------------- [2023-09-11T01:05:38.558Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-11T01:05:38.558Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-11T01:05:38.558Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-11T01:05:38.704Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-11T01:05:38.716Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-11T01:05:38.726Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-11T01:05:38.735Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-11T01:05:38.745Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-11T01:05:38.753Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-11T01:05:38.763Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-11T01:05:38.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-11T01:05:38.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-11T01:05:38.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-11T01:05:38.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-11T01:05:38.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-11T01:05:38.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-11T01:05:38.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-11T01:05:38.863Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-11T01:05:38.884Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-11T01:05:38.906Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-11T01:05:38.922Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-11T01:05:38.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-11T01:05:38.956Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-11T01:05:38.974Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-11T01:05:38.989Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-11T01:05:39.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-11T01:05:39.019Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-11T01:05:39.035Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-11T01:05:39.051Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-11T01:05:39.066Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-11T01:05:39.078Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-11T01:05:39.096Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-11T01:05:39.115Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-11T01:05:39.133Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] echo [2023-09-11T01:05:39.154Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0bc3f30 [Pipeline] echo [2023-09-11T01:05:39.171Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:05:39.215Z] provisioning config files... [2023-09-11T01:05:39.229Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14395486215606315452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:05:39.532Z] ---> docker-login.sh [2023-09-11T01:05:39.532Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:05:39.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:05:39.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:05:39.793Z] Configure a credential helper to remove this warning. See [2023-09-11T01:05:39.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:05:39.793Z] [2023-09-11T01:05:39.793Z] Login Succeeded [2023-09-11T01:05:39.793Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:05:39.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:05:40.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:05:40.052Z] Configure a credential helper to remove this warning. See [2023-09-11T01:05:40.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:05:40.052Z] [2023-09-11T01:05:40.052Z] Login Succeeded [2023-09-11T01:05:40.052Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:05:40.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:05:40.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:05:40.052Z] Configure a credential helper to remove this warning. See [2023-09-11T01:05:40.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:05:40.052Z] [2023-09-11T01:05:40.052Z] Login Succeeded [2023-09-11T01:05:40.052Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:05:40.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:05:40.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:05:40.313Z] Configure a credential helper to remove this warning. See [2023-09-11T01:05:40.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:05:40.313Z] [2023-09-11T01:05:40.313Z] Login Succeeded [2023-09-11T01:05:40.313Z] docker.io [2023-09-11T01:05:40.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:05:40.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:05:40.573Z] Configure a credential helper to remove this warning. See [2023-09-11T01:05:40.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:05:40.573Z] [2023-09-11T01:05:40.573Z] Login Succeeded [2023-09-11T01:05:40.573Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:05:40.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-11T01:05:40.963Z] + git rev-list -1 --merges 0bc3f30d539332995b04e4270d58f382a711f8a9~1..0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] echo [2023-09-11T01:05:41.012Z] -----------> git rev-list -1 --merges 0bc3f30d539332995b04e4270d58f382a711f8a9~1..0bc3f30d539332995b04e4270d58f382a711f8a9 0bc3f30d539332995b04e4270d58f382a711f8a9 [2023-09-11T01:05:41.012Z] 0bc3f30d539332995b04e4270d58f382a711f8a9 [false] [Pipeline] sh [2023-09-11T01:05:41.308Z] + git log --format=format:%s -1 0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] echo [2023-09-11T01:05:41.327Z] ========================================================= [2023-09-11T01:05:41.327Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-11T01:05:41.327Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T01:05:41.670Z] + git log --format=format:%s -1 0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] echo [2023-09-11T01:05:41.681Z] [semverPrep] GIT_COMMIT: 0bc3f30d539332995b04e4270d58f382a711f8a9, Commit Message: Merge pull request #338 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20 [Pipeline] echo [2023-09-11T01:05:41.694Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-11T01:05:42.048Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T01:05:42.048Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-11T01:05:42.048Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-11T01:05:42.048Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-11T01:05:42.048Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-11T01:05:42.048Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-11T01:05:42.048Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:05:42.408Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:05:42.408Z] [2023-09-11T01:05:42.408Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:05:42.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:05:42.709Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-11T01:05:42.709Z] b85a868b505f: Pulling fs layer [2023-09-11T01:05:42.709Z] e2be974225ed: Pulling fs layer [2023-09-11T01:05:42.709Z] 339a4e72a1f5: Pulling fs layer [2023-09-11T01:05:42.709Z] 988bab9f4d93: Pulling fs layer [2023-09-11T01:05:42.709Z] 1469e6f7b9e6: Pulling fs layer [2023-09-11T01:05:42.709Z] eaf3925da568: Pulling fs layer [2023-09-11T01:05:42.709Z] bab4dde63d76: Pulling fs layer [2023-09-11T01:05:42.709Z] bde34c3a00c8: Pulling fs layer [2023-09-11T01:05:42.709Z] b352a97aabf1: Pulling fs layer [2023-09-11T01:05:42.709Z] 4872d77fe225: Pulling fs layer [2023-09-11T01:05:42.709Z] 5851b861e8e6: Pulling fs layer [2023-09-11T01:05:42.709Z] 1469e6f7b9e6: Waiting [2023-09-11T01:05:42.709Z] eaf3925da568: Waiting [2023-09-11T01:05:42.709Z] bab4dde63d76: Waiting [2023-09-11T01:05:42.709Z] 4872d77fe225: Waiting [2023-09-11T01:05:42.709Z] b352a97aabf1: Waiting [2023-09-11T01:05:42.709Z] 5851b861e8e6: Waiting [2023-09-11T01:05:42.709Z] bde34c3a00c8: Waiting [2023-09-11T01:05:42.709Z] e2be974225ed: Verifying Checksum [2023-09-11T01:05:42.709Z] e2be974225ed: Download complete [2023-09-11T01:05:42.709Z] 988bab9f4d93: Download complete [2023-09-11T01:05:42.709Z] 1469e6f7b9e6: Verifying Checksum [2023-09-11T01:05:42.709Z] 1469e6f7b9e6: Download complete [2023-09-11T01:05:42.974Z] eaf3925da568: Verifying Checksum [2023-09-11T01:05:42.974Z] eaf3925da568: Download complete [2023-09-11T01:05:42.974Z] 339a4e72a1f5: Verifying Checksum [2023-09-11T01:05:42.974Z] 339a4e72a1f5: Download complete [2023-09-11T01:05:42.974Z] bde34c3a00c8: Verifying Checksum [2023-09-11T01:05:42.974Z] bde34c3a00c8: Download complete [2023-09-11T01:05:42.974Z] b352a97aabf1: Verifying Checksum [2023-09-11T01:05:42.974Z] b352a97aabf1: Download complete [2023-09-11T01:05:42.974Z] 4872d77fe225: Verifying Checksum [2023-09-11T01:05:42.974Z] 4872d77fe225: Download complete [2023-09-11T01:05:42.974Z] 5851b861e8e6: Download complete [2023-09-11T01:05:42.974Z] b85a868b505f: Download complete [2023-09-11T01:05:43.232Z] bab4dde63d76: Verifying Checksum [2023-09-11T01:05:43.232Z] bab4dde63d76: Download complete [2023-09-11T01:05:44.169Z] b85a868b505f: Pull complete [2023-09-11T01:05:44.430Z] e2be974225ed: Pull complete [2023-09-11T01:05:44.689Z] 339a4e72a1f5: Pull complete [2023-09-11T01:05:44.948Z] 988bab9f4d93: Pull complete [2023-09-11T01:05:45.208Z] 1469e6f7b9e6: Pull complete [2023-09-11T01:05:45.208Z] eaf3925da568: Pull complete [2023-09-11T01:05:47.119Z] bab4dde63d76: Pull complete [2023-09-11T01:05:47.119Z] bde34c3a00c8: Pull complete [2023-09-11T01:05:47.119Z] b352a97aabf1: Pull complete [2023-09-11T01:05:47.379Z] 4872d77fe225: Pull complete [2023-09-11T01:05:47.379Z] 5851b861e8e6: Pull complete [2023-09-11T01:05:47.379Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-11T01:05:47.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:05:47.380Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:05:47.470Z] prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container [2023-09-11T01:05:47.488Z] $ 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-09-11T01:05:51.073Z] $ docker top da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 -eo pid,comm [2023-09-11T01:05:51.137Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-11T01:05:51.137Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T01:05:51.173Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:05:51.173Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:05:51.289Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:05:51.280Z] $ docker exec da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 ssh-agent [2023-09-11T01:05:51.392Z] SSH_AUTH_SOCK=/tmp/ssh-9TTw2fIGYLla/agent.32 [2023-09-11T01:05:51.392Z] SSH_AGENT_PID=38 [2023-09-11T01:05:51.399Z] Running ssh-add (command line suppressed) [2023-09-11T01:05:51.494Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17383854786215810122.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17383854786215810122.key) [2023-09-11T01:05:51.518Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:05:51.805Z] + git tag --points-at HEAD [Pipeline] } [2023-09-11T01:05:51.810Z] $ docker exec --env ******** --env ******** da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 ssh-agent -k [2023-09-11T01:05:51.907Z] unset SSH_AUTH_SOCK; [2023-09-11T01:05:51.908Z] unset SSH_AGENT_PID; [2023-09-11T01:05:51.908Z] echo Agent pid 38 killed; [2023-09-11T01:05:51.932Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-11T01:05:51.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:05:51.957Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:05:52.072Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:05:52.064Z] $ docker exec da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 ssh-agent [2023-09-11T01:05:52.178Z] SSH_AUTH_SOCK=/tmp/ssh-zy4BsGCjAwrI/agent.72 [2023-09-11T01:05:52.178Z] SSH_AGENT_PID=78 [2023-09-11T01:05:52.183Z] Running ssh-add (command line suppressed) [2023-09-11T01:05:52.268Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6206002311946559777.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6206002311946559777.key) [2023-09-11T01:05:52.294Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:05:52.581Z] + git semver init [2023-09-11T01:05:52.841Z] 2023-09-11 01:05:52,794 [run_init] DEBUG init version:0.0.0 force:False [2023-09-11T01:05:52.841Z] 2023-09-11 01:05:52,795 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-11T01:05:52.841Z] 2023-09-11 01:05:52,795 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-11T01:05:52.841Z] 2023-09-11 01:05:52,795 [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-09-11T01:05:54.222Z] 2023-09-11 01:05:53,771 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-09-11T01:05:54.222Z] 2023-09-11 01:05:53,771 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-09-11T01:05:54.222Z] 2023-09-11 01:05:53,771 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-11T01:05:54.222Z] 2023-09-11 01:05:53,772 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-11T01:05:54.222Z] 3.1.0-dev.10 [Pipeline] } [2023-09-11T01:05:54.221Z] $ docker exec --env ******** --env ******** da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 ssh-agent -k [2023-09-11T01:05:54.323Z] unset SSH_AUTH_SOCK; [2023-09-11T01:05:54.324Z] unset SSH_AGENT_PID; [2023-09-11T01:05:54.324Z] echo Agent pid 78 killed; [2023-09-11T01:05:54.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T01:05:54.652Z] + git semver [Pipeline] } [2023-09-11T01:05:54.914Z] $ docker stop --time=1 da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 [2023-09-11T01:05:56.231Z] $ docker rm -f --volumes da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T01:05:56.581Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-11T01:05:56.817Z] Stashed 1 file(s) [Pipeline] echo [2023-09-11T01:05:56.820Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:05:56.990Z] provisioning config files... [2023-09-11T01:05:57.000Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6541071789937205873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:05:57.295Z] ---> docker-login.sh [2023-09-11T01:05:57.295Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:05:57.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:05:57.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:05:57.295Z] Configure a credential helper to remove this warning. See [2023-09-11T01:05:57.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:05:57.295Z] [2023-09-11T01:05:57.295Z] Login Succeeded [2023-09-11T01:05:57.295Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:05:57.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:05:57.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:05:57.295Z] Configure a credential helper to remove this warning. See [2023-09-11T01:05:57.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:05:57.295Z] [2023-09-11T01:05:57.295Z] Login Succeeded [2023-09-11T01:05:57.295Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:05:57.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:05:57.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:05:57.555Z] Configure a credential helper to remove this warning. See [2023-09-11T01:05:57.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:05:57.555Z] [2023-09-11T01:05:57.555Z] Login Succeeded [2023-09-11T01:05:57.555Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:05:57.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:05:57.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:05:57.555Z] Configure a credential helper to remove this warning. See [2023-09-11T01:05:57.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:05:57.555Z] [2023-09-11T01:05:57.555Z] Login Succeeded [2023-09-11T01:05:57.555Z] docker.io [2023-09-11T01:05:57.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:05:57.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:05:57.814Z] Configure a credential helper to remove this warning. See [2023-09-11T01:05:57.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:05:57.814Z] [2023-09-11T01:05:57.814Z] Login Succeeded [2023-09-11T01:05:57.814Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:05:57.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-11T01:05:57.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:05:57.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:05:57.922Z] ========================================================= [2023-09-11T01:05:57.922Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-11T01:05:57.922Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:05:58.245Z] + 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-09-11T01:05:58.245Z] Sending build context to Docker daemon 10.93MB [2023-09-11T01:05:58.245Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T01:05:58.245Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-11T01:05:58.245Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-11T01:05:58.245Z] 4db1b89c0bd1: Pulling fs layer [2023-09-11T01:05:58.245Z] 6911f1a30b25: Pulling fs layer [2023-09-11T01:05:58.245Z] e194b8c5c2a9: Pulling fs layer [2023-09-11T01:05:58.245Z] 6863d3e3a2b1: Pulling fs layer [2023-09-11T01:05:58.245Z] ec0bb842ea78: Pulling fs layer [2023-09-11T01:05:58.245Z] 40a00589a448: Pulling fs layer [2023-09-11T01:05:58.245Z] 6c08303d61cc: Pulling fs layer [2023-09-11T01:05:58.245Z] 798269fcf238: Pulling fs layer [2023-09-11T01:05:58.245Z] ec0bb842ea78: Waiting [2023-09-11T01:05:58.245Z] 6863d3e3a2b1: Waiting [2023-09-11T01:05:58.245Z] 6c08303d61cc: Waiting [2023-09-11T01:05:58.245Z] 40a00589a448: Waiting [2023-09-11T01:05:58.245Z] 798269fcf238: Waiting [2023-09-11T01:05:58.508Z] 6911f1a30b25: Verifying Checksum [2023-09-11T01:05:58.508Z] 6911f1a30b25: Download complete [2023-09-11T01:05:58.508Z] 6863d3e3a2b1: Verifying Checksum [2023-09-11T01:05:58.508Z] 6863d3e3a2b1: Download complete [2023-09-11T01:05:58.508Z] ec0bb842ea78: Verifying Checksum [2023-09-11T01:05:58.508Z] ec0bb842ea78: Download complete [2023-09-11T01:05:58.508Z] 4db1b89c0bd1: Verifying Checksum [2023-09-11T01:05:58.508Z] 4db1b89c0bd1: Download complete [2023-09-11T01:05:58.508Z] 40a00589a448: Verifying Checksum [2023-09-11T01:05:58.508Z] 40a00589a448: Download complete [2023-09-11T01:05:58.508Z] 4db1b89c0bd1: Pull complete [2023-09-11T01:05:58.773Z] 6911f1a30b25: Pull complete [2023-09-11T01:05:59.035Z] 798269fcf238: Verifying Checksum [2023-09-11T01:05:59.035Z] 798269fcf238: Download complete [2023-09-11T01:05:59.035Z] e194b8c5c2a9: Verifying Checksum [2023-09-11T01:05:59.035Z] e194b8c5c2a9: Download complete [2023-09-11T01:05:59.294Z] 6c08303d61cc: Verifying Checksum [2023-09-11T01:05:59.294Z] 6c08303d61cc: Download complete [2023-09-11T01:06:02.581Z] e194b8c5c2a9: Pull complete [2023-09-11T01:06:02.581Z] 6863d3e3a2b1: Pull complete [2023-09-11T01:06:02.581Z] ec0bb842ea78: Pull complete [2023-09-11T01:06:02.581Z] 40a00589a448: Pull complete [2023-09-11T01:06:04.480Z] 6c08303d61cc: Pull complete [2023-09-11T01:06:05.413Z] 798269fcf238: Pull complete [2023-09-11T01:06:05.413Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-11T01:06:05.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-11T01:06:05.413Z] ---> ec979cd7f677 [2023-09-11T01:06:05.413Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-11T01:06:10.692Z] ---> Running in 64c6a2afa22e [2023-09-11T01:06:10.692Z] Removing intermediate container 64c6a2afa22e [2023-09-11T01:06:10.692Z] ---> cf9285f0ce20 [2023-09-11T01:06:10.692Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T01:06:10.692Z] ---> Running in a4b69f6f8394 [2023-09-11T01:06:10.692Z] Removing intermediate container a4b69f6f8394 [2023-09-11T01:06:10.692Z] ---> cc765c385c6c [2023-09-11T01:06:10.692Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-11T01:06:10.692Z] ---> Running in a8a5b0919fc7 [2023-09-11T01:06:10.692Z] Removing intermediate container a8a5b0919fc7 [2023-09-11T01:06:10.692Z] ---> 93621dc7223d [2023-09-11T01:06:10.692Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T01:06:10.692Z] ---> Running in 2be40469b37a [2023-09-11T01:06:10.692Z] Removing intermediate container 2be40469b37a [2023-09-11T01:06:10.692Z] ---> 831779924bd9 [2023-09-11T01:06:10.692Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T01:06:10.692Z] ---> Running in 2bdc8ff8aa0d [2023-09-11T01:06:10.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T01:06:10.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T01:06:11.211Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-11T01:06:11.468Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-11T01:06:11.468Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-11T01:06:11.468Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-11T01:06:11.468Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T01:06:11.468Z] OK: 269 MiB in 57 packages [2023-09-11T01:06:11.938Z] Still waiting to schedule task [2023-09-11T01:06:11.939Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5747’ [2023-09-11T01:06:12.031Z] Removing intermediate container 2bdc8ff8aa0d [2023-09-11T01:06:12.031Z] ---> 85dc659a5fa8 [2023-09-11T01:06:12.031Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-11T01:06:12.031Z] ---> Running in eca3dea5814e [2023-09-11T01:06:12.031Z] Removing intermediate container eca3dea5814e [2023-09-11T01:06:12.031Z] ---> 7175aae24ec6 [2023-09-11T01:06:12.031Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-11T01:06:12.031Z] ---> 13771d652c5f [2023-09-11T01:06:12.031Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T01:06:12.031Z] ---> Running in 5ce0efc3383a [2023-09-11T01:06:44.676Z] Removing intermediate container 5ce0efc3383a [2023-09-11T01:06:44.676Z] ---> 9f1020f2c224 [2023-09-11T01:06:44.676Z] Step 11/12 : COPY . . [2023-09-11T01:06:44.676Z] ---> 5cfaa0f8b6a6 [2023-09-11T01:06:44.676Z] Step 12/12 : RUN $MAKE [2023-09-11T01:06:44.676Z] ---> Running in 6fdb665c33fe [2023-09-11T01:06:44.676Z] noop [2023-09-11T01:06:44.676Z] Removing intermediate container 6fdb665c33fe [2023-09-11T01:06:44.676Z] ---> a6b3de7298e2 [2023-09-11T01:06:44.676Z] Successfully built a6b3de7298e2 [2023-09-11T01:06:44.676Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:06:44.985Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-11T01:06:44.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:06:45.059Z] prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container [2023-09-11T01:06:45.099Z] $ 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-09-11T01:06:45.428Z] $ docker top 984bccf25fcd7b51c2ba22121500fd3a8c26a91f478d4c365df45edd3c3241fe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:06:45.766Z] + go version [2023-09-11T01:06:45.766Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-11T01:06:45.785Z] $ docker stop --time=1 984bccf25fcd7b51c2ba22121500fd3a8c26a91f478d4c365df45edd3c3241fe [2023-09-11T01:06:47.020Z] $ docker rm -f --volumes 984bccf25fcd7b51c2ba22121500fd3a8c26a91f478d4c365df45edd3c3241fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:06:47.414Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-11T01:06:47.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:06:47.482Z] prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container [2023-09-11T01:06:47.523Z] $ 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-09-11T01:06:47.815Z] $ docker top f0227ede93ca9f88c210acb121f329a2f4e3fe340f8d43a8d346b1b58cb5fc43 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:06:48.144Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-11T01:06:48.437Z] + make test [2023-09-11T01:06:48.437Z] go test ./... -coverprofile=coverage.out ./... [2023-09-11T01:06:52.623Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-11T01:07:02.583Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-11T01:07:02.583Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements [2023-09-11T01:07:09.136Z] go vet ./... [2023-09-11T01:07:12.418Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-11T01:07:12.418Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-11T01:07:12.418Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-11T01:07:12.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-11T01:07:12.450Z] $ docker stop --time=1 f0227ede93ca9f88c210acb121f329a2f4e3fe340f8d43a8d346b1b58cb5fc43 [2023-09-11T01:07:16.517Z] $ docker rm -f --volumes f0227ede93ca9f88c210acb121f329a2f4e3fe340f8d43a8d346b1b58cb5fc43 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T01:07:18.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-11T01:07:18.779Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-11T01:07:22.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-11T01:07:22.768Z] + ls -al . [2023-09-11T01:07:22.768Z] total 188 [2023-09-11T01:07:22.768Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 11 01:06 . [2023-09-11T01:07:22.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:05 .. [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 11 01:05 .dockerignore [2023-09-11T01:07:22.768Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:05 .git [2023-09-11T01:07:22.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:05 .github [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 11 01:05 .gitignore [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 01:05 .golangci.yml [2023-09-11T01:07:22.768Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 01:05 .semver [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 11 01:05 Attribution.txt [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 11 01:05 CHANGELOG.md [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 11 01:05 Dockerfile [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 01:05 GOVERNANCE.md [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 11 01:05 Jenkinsfile [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 01:05 LICENSE [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 11 01:05 Makefile [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 11 01:05 OWNERS.md [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 11 01:05 README.md [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 11 01:05 VERSION [2023-09-11T01:07:22.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:05 bin [2023-09-11T01:07:22.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:05 cmd [2023-09-11T01:07:22.768Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 11 01:07 coverage.out [2023-09-11T01:07:22.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:05 driver [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 11 01:05 go.mod [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 11 01:05 go.sum [2023-09-11T01:07:22.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:05 snap [2023-09-11T01:07:22.768Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 11 01:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:23.086Z] + 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=0bc3f30d539332995b04e4270d58f382a711f8a9 --label arch=amd64 --label version=3.1.0-dev.10 . [2023-09-11T01:07:23.086Z] Sending build context to Docker daemon 10.94MB [2023-09-11T01:07:23.086Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T01:07:23.086Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-11T01:07:23.086Z] ---> a6b3de7298e2 [2023-09-11T01:07:23.086Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-11T01:07:23.345Z] ---> Running in 2e69b26e0767 [2023-09-11T01:07:23.345Z] Removing intermediate container 2e69b26e0767 [2023-09-11T01:07:23.345Z] ---> bcfb7820dcbc [2023-09-11T01:07:23.345Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T01:07:23.345Z] ---> Running in cfd8acffcdde [2023-09-11T01:07:23.605Z] Removing intermediate container cfd8acffcdde [2023-09-11T01:07:23.605Z] ---> 3c1ce82893f1 [2023-09-11T01:07:23.605Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-11T01:07:23.605Z] ---> Running in d79ad6ea9cc7 [2023-09-11T01:07:23.605Z] Removing intermediate container d79ad6ea9cc7 [2023-09-11T01:07:23.605Z] ---> 674f71ebd89b [2023-09-11T01:07:23.605Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T01:07:23.605Z] ---> Running in 3171d8d7e2f2 [2023-09-11T01:07:23.605Z] Removing intermediate container 3171d8d7e2f2 [2023-09-11T01:07:23.605Z] ---> 78bbae173900 [2023-09-11T01:07:23.605Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T01:07:23.605Z] ---> Running in c32ef3be6cac [2023-09-11T01:07:23.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T01:07:24.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T01:07:24.381Z] OK: 269 MiB in 57 packages [2023-09-11T01:07:24.640Z] Removing intermediate container c32ef3be6cac [2023-09-11T01:07:24.640Z] ---> 6079ca9f4eb9 [2023-09-11T01:07:24.640Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-11T01:07:24.640Z] ---> Running in 69167281fdcd [2023-09-11T01:07:24.900Z] Removing intermediate container 69167281fdcd [2023-09-11T01:07:24.900Z] ---> 369bb1d0b395 [2023-09-11T01:07:24.900Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-11T01:07:24.900Z] ---> 61e7667fafce [2023-09-11T01:07:24.900Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T01:07:24.900Z] ---> Running in b6f656bc7f53 [2023-09-11T01:07:25.468Z] Removing intermediate container b6f656bc7f53 [2023-09-11T01:07:25.468Z] ---> 0ee90c34ed93 [2023-09-11T01:07:25.468Z] Step 11/25 : COPY . . [2023-09-11T01:07:26.036Z] ---> 78ed90cde4ca [2023-09-11T01:07:26.036Z] Step 12/25 : RUN $MAKE [2023-09-11T01:07:26.036Z] ---> Running in 47e6a2ce95a0 [2023-09-11T01:07:26.294Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-11T01:07:48.209Z] Removing intermediate container 47e6a2ce95a0 [2023-09-11T01:07:48.209Z] ---> f917b038bf4c [2023-09-11T01:07:48.209Z] Step 13/25 : FROM alpine:3.17 [2023-09-11T01:07:48.209Z] 3.17: Pulling from library/alpine [2023-09-11T01:07:48.209Z] 9398808236ff: Pulling fs layer [2023-09-11T01:07:48.209Z] 9398808236ff: Verifying Checksum [2023-09-11T01:07:48.209Z] 9398808236ff: Download complete [2023-09-11T01:07:48.209Z] 9398808236ff: Pull complete [2023-09-11T01:07:48.209Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-11T01:07:48.209Z] Status: Downloaded newer image for alpine:3.17 [2023-09-11T01:07:48.209Z] ---> 1e0b8b5322fc [2023-09-11T01:07:48.209Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-11T01:07:48.209Z] ---> Running in 30904c02fdb8 [2023-09-11T01:07:48.209Z] Removing intermediate container 30904c02fdb8 [2023-09-11T01:07:48.209Z] ---> 38187bf27776 [2023-09-11T01:07:48.209Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-11T01:07:48.209Z] ---> Running in e96c019060b0 [2023-09-11T01:07:48.209Z] Removing intermediate container e96c019060b0 [2023-09-11T01:07:48.209Z] ---> 545b2a365058 [2023-09-11T01:07:48.209Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-11T01:07:48.209Z] ---> Running in a864676a6fdb [2023-09-11T01:07:48.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T01:07:48.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T01:07:48.209Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-11T01:07:48.209Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T01:07:48.209Z] OK: 7 MiB in 16 packages [2023-09-11T01:07:48.468Z] Removing intermediate container a864676a6fdb [2023-09-11T01:07:48.468Z] ---> 0d86b741560b [2023-09-11T01:07:48.468Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-11T01:07:49.448Z] ---> 5e3832e6611d [2023-09-11T01:07:49.448Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-11T01:07:49.448Z] ---> f5fd5b186359 [2023-09-11T01:07:49.448Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-11T01:07:49.738Z] ---> 9b901d7a2de2 [2023-09-11T01:07:49.738Z] Step 20/25 : EXPOSE 59986 [2023-09-11T01:07:49.738Z] ---> Running in 6918d8c953f6 [2023-09-11T01:07:49.738Z] Removing intermediate container 6918d8c953f6 [2023-09-11T01:07:49.738Z] ---> e7f326cbb959 [2023-09-11T01:07:49.738Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-11T01:07:49.738Z] ---> Running in e7d24b57312d [2023-09-11T01:07:49.738Z] Removing intermediate container e7d24b57312d [2023-09-11T01:07:49.738Z] ---> a98900a299d1 [2023-09-11T01:07:49.738Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-11T01:07:50.008Z] ---> Running in b0d2ca0fbb1b [2023-09-11T01:07:50.008Z] Removing intermediate container b0d2ca0fbb1b [2023-09-11T01:07:50.008Z] ---> b538d6500f66 [2023-09-11T01:07:50.008Z] Step 23/25 : LABEL arch=amd64 [2023-09-11T01:07:50.008Z] ---> Running in 554d255c2d20 [2023-09-11T01:07:50.008Z] Removing intermediate container 554d255c2d20 [2023-09-11T01:07:50.008Z] ---> 56c4feb82d54 [2023-09-11T01:07:50.008Z] Step 24/25 : LABEL git_sha=0bc3f30d539332995b04e4270d58f382a711f8a9 [2023-09-11T01:07:50.008Z] ---> Running in 792ddedd8694 [2023-09-11T01:07:50.008Z] Removing intermediate container 792ddedd8694 [2023-09-11T01:07:50.008Z] ---> 3d7f862ca87d [2023-09-11T01:07:50.008Z] Step 25/25 : LABEL version=3.1.0-dev.10 [2023-09-11T01:07:50.284Z] ---> Running in cb535820f50b [2023-09-11T01:07:50.284Z] Removing intermediate container cb535820f50b [2023-09-11T01:07:50.284Z] ---> 1bb47d50d66a [2023-09-11T01:07:50.284Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-11T01:07:50.284Z] Successfully built 1bb47d50d66a [2023-09-11T01:07:50.284Z] 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-09-11T01:07:50.426Z] provisioning config files... [2023-09-11T01:07:50.448Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14887762308827167014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:07:50.745Z] ---> docker-login.sh [2023-09-11T01:07:50.746Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:07:50.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:07:50.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:07:50.746Z] Configure a credential helper to remove this warning. See [2023-09-11T01:07:50.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:07:50.746Z] [2023-09-11T01:07:50.746Z] Login Succeeded [2023-09-11T01:07:50.746Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:07:50.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:07:50.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:07:50.746Z] Configure a credential helper to remove this warning. See [2023-09-11T01:07:50.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:07:50.746Z] [2023-09-11T01:07:50.746Z] Login Succeeded [2023-09-11T01:07:50.746Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:07:51.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:07:51.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:07:51.005Z] Configure a credential helper to remove this warning. See [2023-09-11T01:07:51.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:07:51.005Z] [2023-09-11T01:07:51.005Z] Login Succeeded [2023-09-11T01:07:51.005Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:07:51.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:07:51.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:07:51.005Z] Configure a credential helper to remove this warning. See [2023-09-11T01:07:51.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:07:51.005Z] [2023-09-11T01:07:51.005Z] Login Succeeded [2023-09-11T01:07:51.005Z] docker.io [2023-09-11T01:07:51.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:07:51.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:07:51.263Z] Configure a credential helper to remove this warning. See [2023-09-11T01:07:51.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:07:51.263Z] [2023-09-11T01:07:51.263Z] Login Succeeded [2023-09-11T01:07:51.263Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:07:51.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T01:07:51.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:07:51.335Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-09-11T01:07:51.335Z] 0bc3f30d539332995b04e4270d58f382a711f8a9 [2023-09-11T01:07:51.335Z] latest [2023-09-11T01:07:51.335Z] 3.1.0-dev.10 [2023-09-11T01:07:51.335Z] 0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 [2023-09-11T01:07:51.335Z] main [2023-09-11T01:07:51.335Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:51.667Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:51.976Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:0bc3f30d539332995b04e4270d58f382a711f8a9 [2023-09-11T01:07:51.977Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-11T01:07:51.977Z] 2c7f422b925c: Preparing [2023-09-11T01:07:51.977Z] 16bece635368: Preparing [2023-09-11T01:07:51.977Z] 3d09a7c0e9df: Preparing [2023-09-11T01:07:51.977Z] c13ad6f239bc: Preparing [2023-09-11T01:07:51.977Z] 36b50b131297: Preparing [2023-09-11T01:07:51.977Z] 36b50b131297: Layer already exists [2023-09-11T01:07:51.977Z] 16bece635368: Pushed [2023-09-11T01:07:51.977Z] 2c7f422b925c: Pushed [2023-09-11T01:07:51.977Z] c13ad6f239bc: Pushed [2023-09-11T01:07:54.508Z] 3d09a7c0e9df: Pushed [2023-09-11T01:07:54.508Z] 0bc3f30d539332995b04e4270d58f382a711f8a9: digest: sha256:b0557bc17bb138422694d72ccd513a59c289926e3e0aa6663fae678904c74770 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:54.823Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:55.141Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-11T01:07:55.141Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-11T01:07:55.141Z] 2c7f422b925c: Preparing [2023-09-11T01:07:55.141Z] 16bece635368: Preparing [2023-09-11T01:07:55.141Z] 3d09a7c0e9df: Preparing [2023-09-11T01:07:55.141Z] c13ad6f239bc: Preparing [2023-09-11T01:07:55.141Z] 36b50b131297: Preparing [2023-09-11T01:07:55.141Z] 16bece635368: Layer already exists [2023-09-11T01:07:55.141Z] 3d09a7c0e9df: Layer already exists [2023-09-11T01:07:55.141Z] 36b50b131297: Layer already exists [2023-09-11T01:07:55.141Z] c13ad6f239bc: Layer already exists [2023-09-11T01:07:55.141Z] 2c7f422b925c: Layer already exists [2023-09-11T01:07:55.141Z] latest: digest: sha256:b0557bc17bb138422694d72ccd513a59c289926e3e0aa6663fae678904c74770 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:55.463Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:55.769Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.10 [2023-09-11T01:07:55.769Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-11T01:07:55.769Z] 2c7f422b925c: Preparing [2023-09-11T01:07:55.769Z] 16bece635368: Preparing [2023-09-11T01:07:55.769Z] 3d09a7c0e9df: Preparing [2023-09-11T01:07:55.769Z] c13ad6f239bc: Preparing [2023-09-11T01:07:55.769Z] 36b50b131297: Preparing [2023-09-11T01:07:55.769Z] c13ad6f239bc: Layer already exists [2023-09-11T01:07:55.769Z] 16bece635368: Layer already exists [2023-09-11T01:07:55.769Z] 36b50b131297: Layer already exists [2023-09-11T01:07:55.769Z] 3d09a7c0e9df: Layer already exists [2023-09-11T01:07:55.769Z] 2c7f422b925c: Layer already exists [2023-09-11T01:07:55.769Z] 3.1.0-dev.10: digest: sha256:b0557bc17bb138422694d72ccd513a59c289926e3e0aa6663fae678904c74770 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:56.085Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:56.393Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 [2023-09-11T01:07:56.393Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-11T01:07:56.393Z] 2c7f422b925c: Preparing [2023-09-11T01:07:56.393Z] 16bece635368: Preparing [2023-09-11T01:07:56.393Z] 3d09a7c0e9df: Preparing [2023-09-11T01:07:56.393Z] c13ad6f239bc: Preparing [2023-09-11T01:07:56.393Z] 36b50b131297: Preparing [2023-09-11T01:07:56.393Z] 36b50b131297: Layer already exists [2023-09-11T01:07:56.393Z] 16bece635368: Layer already exists [2023-09-11T01:07:56.393Z] c13ad6f239bc: Layer already exists [2023-09-11T01:07:56.393Z] 3d09a7c0e9df: Layer already exists [2023-09-11T01:07:56.393Z] 2c7f422b925c: Layer already exists [2023-09-11T01:07:56.393Z] 0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10: digest: sha256:b0557bc17bb138422694d72ccd513a59c289926e3e0aa6663fae678904c74770 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:56.714Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:57.023Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-09-11T01:07:57.023Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-11T01:07:57.023Z] 2c7f422b925c: Preparing [2023-09-11T01:07:57.023Z] 16bece635368: Preparing [2023-09-11T01:07:57.023Z] 3d09a7c0e9df: Preparing [2023-09-11T01:07:57.023Z] c13ad6f239bc: Preparing [2023-09-11T01:07:57.023Z] 36b50b131297: Preparing [2023-09-11T01:07:57.023Z] 3d09a7c0e9df: Layer already exists [2023-09-11T01:07:57.023Z] 2c7f422b925c: Layer already exists [2023-09-11T01:07:57.023Z] 16bece635368: Layer already exists [2023-09-11T01:07:57.023Z] c13ad6f239bc: Layer already exists [2023-09-11T01:07:57.023Z] 36b50b131297: Layer already exists [2023-09-11T01:07:57.023Z] main: digest: sha256:b0557bc17bb138422694d72ccd513a59c289926e3e0aa6663fae678904c74770 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T01:07:57.078Z] ===================================================== [Pipeline] echo [2023-09-11T01:07:57.092Z] taggedImages: [2023-09-11T01:07:57.092Z] - nexus3.edgexfoundry.org:10004/device-rest:0bc3f30d539332995b04e4270d58f382a711f8a9 [2023-09-11T01:07:57.092Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-11T01:07:57.092Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.10 [2023-09-11T01:07:57.092Z] - nexus3.edgexfoundry.org:10004/device-rest:0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 [2023-09-11T01:07:57.092Z] - 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-09-11T01:07:57.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T01:07:57.482Z] [2023-09-11T01:07:57.482Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:57.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T01:07:57.778Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-11T01:07:57.778Z] 5eb5b503b376: Pulling fs layer [2023-09-11T01:07:57.778Z] 5c69ac0246d0: Pulling fs layer [2023-09-11T01:07:57.778Z] ec43610c2a17: Pulling fs layer [2023-09-11T01:07:57.778Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-11T01:07:57.778Z] 33b1e0a273af: Pulling fs layer [2023-09-11T01:07:57.778Z] 5d3b04190fa2: Pulling fs layer [2023-09-11T01:07:57.778Z] 2f39f015ded8: Pulling fs layer [2023-09-11T01:07:57.778Z] 33b1e0a273af: Waiting [2023-09-11T01:07:57.778Z] 2f39f015ded8: Waiting [2023-09-11T01:07:57.778Z] 5d3b04190fa2: Waiting [2023-09-11T01:07:57.778Z] 3a2ae6a8a46f: Waiting [2023-09-11T01:07:57.778Z] 5c69ac0246d0: Download complete [2023-09-11T01:07:57.778Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-11T01:07:57.778Z] 3a2ae6a8a46f: Download complete [2023-09-11T01:07:57.778Z] 33b1e0a273af: Verifying Checksum [2023-09-11T01:07:57.778Z] 33b1e0a273af: Download complete [2023-09-11T01:07:57.778Z] ec43610c2a17: Verifying Checksum [2023-09-11T01:07:57.778Z] ec43610c2a17: Download complete [2023-09-11T01:07:57.778Z] 5d3b04190fa2: Verifying Checksum [2023-09-11T01:07:57.778Z] 5d3b04190fa2: Download complete [2023-09-11T01:07:58.037Z] 5eb5b503b376: Verifying Checksum [2023-09-11T01:07:58.037Z] 5eb5b503b376: Download complete [2023-09-11T01:07:58.605Z] 2f39f015ded8: Verifying Checksum [2023-09-11T01:07:58.605Z] 2f39f015ded8: Download complete [2023-09-11T01:07:59.173Z] 5eb5b503b376: Pull complete [2023-09-11T01:07:59.431Z] 5c69ac0246d0: Pull complete [2023-09-11T01:07:59.688Z] ec43610c2a17: Pull complete [2023-09-11T01:07:59.945Z] 3a2ae6a8a46f: Pull complete [2023-09-11T01:07:59.945Z] 33b1e0a273af: Pull complete [2023-09-11T01:08:00.204Z] 5d3b04190fa2: Pull complete [2023-09-11T01:08:04.396Z] 2f39f015ded8: Pull complete [2023-09-11T01:08:04.396Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-11T01:08:04.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T01:08:04.396Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:08:04.474Z] prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container [2023-09-11T01:08:04.515Z] $ 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-09-11T01:08:08.408Z] $ docker top a00ff48d97799a20da5b466ade3c8579d29a7c0502fe446fb266373686406109 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:08:08.760Z] ---> job-cost.sh [2023-09-11T01:08:08.760Z] lf-activate-venv: SKIPPING [2023-09-11T01:08:08.760Z] INFO: No Stack... [2023-09-11T01:08:09.019Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-11T01:08:09.276Z] INFO: Archiving Costs [Pipeline] sh [2023-09-11T01:08:09.563Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-09-11T01:08:09.563Z] + cut -d, -f6 [Pipeline] lock [2023-09-11T01:08:09.577Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] [2023-09-11T01:08:09.583Z] Resource [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] did not exist. Created. [2023-09-11T01:08:09.583Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T01:08:09.882Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-11T01:08:09.911Z] Stashed 1 file(s) [Pipeline] } [2023-09-11T01:08:09.918Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-11T01:08:09.941Z] $ docker stop --time=1 a00ff48d97799a20da5b466ade3c8579d29a7c0502fe446fb266373686406109 [2023-09-11T01:08:11.066Z] $ docker rm -f --volumes a00ff48d97799a20da5b466ade3c8579d29a7c0502fe446fb266373686406109 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-11T01:08:50.437Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5754 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-09-11T01:08:50.447Z] Running in /w/workspace/device-rest-go/130 [Pipeline] { [Pipeline] checkout [2023-09-11T01:08:50.487Z] The recommended git tool is: git [2023-09-11T01:08:56.414Z] using credential edgex-jenkins-ssh [2023-09-11T01:08:56.432Z] Cloning the remote Git repository [2023-09-11T01:08:56.478Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-11T01:08:56.576Z] > git init /w/workspace/device-rest-go/130 # timeout=10 [2023-09-11T01:08:56.748Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-11T01:08:56.749Z] > git --version # timeout=10 [2023-09-11T01:08:56.770Z] > git --version # 'git version 2.25.1' [2023-09-11T01:08:56.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-11T01:08:56.942Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-11T01:08:58.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-11T01:08:58.911Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-11T01:08:59.760Z] Avoid second fetch [2023-09-11T01:08:59.761Z] Checking out Revision 0bc3f30d539332995b04e4270d58f382a711f8a9 (main) [2023-09-11T01:09:00.330Z] Commit message: "Merge pull request #338 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" [Pipeline] withEnv [Pipeline] { [2023-09-11T01:08:59.774Z] > git config core.sparsecheckout # timeout=10 [2023-09-11T01:08:59.849Z] > git checkout -f 0bc3f30d539332995b04e4270d58f382a711f8a9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T01:09:01.149Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-11T01:09:01.149Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-11T01:09:01.149Z] Dload Upload Total Spent Left Speed [2023-09-11T01:09:01.149Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-09-11T01:09:01.811Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-11T01:09:02.147Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-11T01:09:02.147Z] + sudo tee /etc/docker/daemon.new [2023-09-11T01:09:02.147Z] { [2023-09-11T01:09:02.147Z] "registry-mirrors": [ [2023-09-11T01:09:02.147Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-11T01:09:02.147Z] ], [2023-09-11T01:09:02.147Z] "bip": "10.250.0.254/24", [2023-09-11T01:09:02.147Z] "hosts": [ [2023-09-11T01:09:02.147Z] "tcp://0.0.0.0:5555", [2023-09-11T01:09:02.147Z] "unix:///var/run/docker.sock" [2023-09-11T01:09:02.147Z] ], [2023-09-11T01:09:02.147Z] "mtu": 1458, [2023-09-11T01:09:02.147Z] "selinux-enabled": true, [2023-09-11T01:09:02.147Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-11T01:09:02.147Z] } [Pipeline] sh [2023-09-11T01:09:02.482Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-11T01:09:02.826Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:09:21.114Z] provisioning config files... [2023-09-11T01:09:21.140Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/130@tmp/config2514180736316848326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:09:21.489Z] ---> docker-login.sh [2023-09-11T01:09:21.489Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:09:22.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:09:22.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:09:22.346Z] Configure a credential helper to remove this warning. See [2023-09-11T01:09:22.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:09:22.346Z] [2023-09-11T01:09:22.346Z] Login Succeeded [2023-09-11T01:09:22.346Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:09:22.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:09:22.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:09:22.617Z] Configure a credential helper to remove this warning. See [2023-09-11T01:09:22.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:09:22.617Z] [2023-09-11T01:09:22.617Z] Login Succeeded [2023-09-11T01:09:22.617Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:09:22.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:09:23.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:09:23.157Z] Configure a credential helper to remove this warning. See [2023-09-11T01:09:23.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:09:23.157Z] [2023-09-11T01:09:23.157Z] Login Succeeded [2023-09-11T01:09:23.157Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:09:23.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:09:23.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:09:23.430Z] Configure a credential helper to remove this warning. See [2023-09-11T01:09:23.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:09:23.430Z] [2023-09-11T01:09:23.430Z] Login Succeeded [2023-09-11T01:09:23.430Z] docker.io [2023-09-11T01:09:23.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:09:23.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:09:23.968Z] Configure a credential helper to remove this warning. See [2023-09-11T01:09:23.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:09:23.968Z] [2023-09-11T01:09:23.968Z] Login Succeeded [2023-09-11T01:09:23.968Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:09:23.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-11T01:09:24.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:09:24.253Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:09:24.264Z] ========================================================= [2023-09-11T01:09:24.264Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-11T01:09:24.264Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:09:24.619Z] + 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-09-11T01:09:24.619Z] Sending build context to Docker daemon 143.4kB [2023-09-11T01:09:24.894Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T01:09:24.894Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-11T01:09:24.894Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-11T01:09:24.894Z] edb6bdbacee9: Pulling fs layer [2023-09-11T01:09:24.894Z] 5f9638ab2659: Pulling fs layer [2023-09-11T01:09:24.894Z] 8d51d6327a98: Pulling fs layer [2023-09-11T01:09:24.894Z] 8b374f2dd631: Pulling fs layer [2023-09-11T01:09:24.894Z] ec14aa9079de: Pulling fs layer [2023-09-11T01:09:24.894Z] 2f466654f4bb: Pulling fs layer [2023-09-11T01:09:24.894Z] 554e91adad29: Pulling fs layer [2023-09-11T01:09:24.894Z] 8b374f2dd631: Waiting [2023-09-11T01:09:24.894Z] ec14aa9079de: Waiting [2023-09-11T01:09:24.894Z] 2f466654f4bb: Waiting [2023-09-11T01:09:24.894Z] 554e91adad29: Waiting [2023-09-11T01:09:25.162Z] 5f9638ab2659: Verifying Checksum [2023-09-11T01:09:25.163Z] 5f9638ab2659: Download complete [2023-09-11T01:09:25.163Z] 8b374f2dd631: Verifying Checksum [2023-09-11T01:09:25.163Z] 8b374f2dd631: Download complete [2023-09-11T01:09:25.163Z] ec14aa9079de: Verifying Checksum [2023-09-11T01:09:25.163Z] ec14aa9079de: Download complete [2023-09-11T01:09:25.163Z] edb6bdbacee9: Verifying Checksum [2023-09-11T01:09:26.149Z] edb6bdbacee9: Pull complete [2023-09-11T01:09:26.424Z] 554e91adad29: Verifying Checksum [2023-09-11T01:09:26.424Z] 554e91adad29: Download complete [2023-09-11T01:09:26.704Z] 5f9638ab2659: Pull complete [2023-09-11T01:09:27.671Z] 2f466654f4bb: Verifying Checksum [2023-09-11T01:09:27.671Z] 2f466654f4bb: Download complete [2023-09-11T01:09:27.671Z] 8d51d6327a98: Verifying Checksum [2023-09-11T01:09:27.671Z] 8d51d6327a98: Download complete [2023-09-11T01:09:40.020Z] 8d51d6327a98: Pull complete [2023-09-11T01:09:40.020Z] 8b374f2dd631: Pull complete [2023-09-11T01:09:40.020Z] ec14aa9079de: Pull complete [2023-09-11T01:09:45.594Z] 2f466654f4bb: Pull complete [2023-09-11T01:09:47.552Z] 554e91adad29: Pull complete [2023-09-11T01:09:47.552Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-11T01:09:47.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-11T01:09:47.552Z] ---> 1e15ea492957 [2023-09-11T01:09:47.552Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-11T01:09:49.502Z] ---> Running in 4a4b39e828b7 [2023-09-11T01:09:49.768Z] Removing intermediate container 4a4b39e828b7 [2023-09-11T01:09:49.768Z] ---> 4c9a351d5732 [2023-09-11T01:09:49.768Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T01:09:49.768Z] ---> Running in 9573e53db374 [2023-09-11T01:09:50.062Z] Removing intermediate container 9573e53db374 [2023-09-11T01:09:50.062Z] ---> e3f38de72eb1 [2023-09-11T01:09:50.062Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-11T01:09:50.330Z] ---> Running in b93a4c85fb8a [2023-09-11T01:09:50.599Z] Removing intermediate container b93a4c85fb8a [2023-09-11T01:09:50.599Z] ---> 60467c347deb [2023-09-11T01:09:50.599Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T01:09:50.599Z] ---> Running in bc0bcbbd3aef [2023-09-11T01:09:50.868Z] Removing intermediate container bc0bcbbd3aef [2023-09-11T01:09:50.868Z] ---> 9ad5086a535d [2023-09-11T01:09:50.868Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T01:09:50.868Z] ---> Running in 51ff30694533 [2023-09-11T01:09:52.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T01:09:52.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T01:09:53.562Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-11T01:09:53.563Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-11T01:09:53.563Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-11T01:09:53.563Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-11T01:09:53.563Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T01:09:53.834Z] OK: 268 MiB in 57 packages [2023-09-11T01:09:54.790Z] Removing intermediate container 51ff30694533 [2023-09-11T01:09:54.790Z] ---> 82bfbc7e4167 [2023-09-11T01:09:54.790Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-11T01:09:54.790Z] ---> Running in 5e890e49a39f [2023-09-11T01:09:55.056Z] Removing intermediate container 5e890e49a39f [2023-09-11T01:09:55.056Z] ---> 250e6cab65e5 [2023-09-11T01:09:55.056Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-11T01:09:56.992Z] ---> 522f2780c93b [2023-09-11T01:09:56.992Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T01:09:56.992Z] ---> Running in b30f718a5c17 [2023-09-11T01:11:04.902Z] Removing intermediate container b30f718a5c17 [2023-09-11T01:11:04.902Z] ---> e81d1b4bae0f [2023-09-11T01:11:04.902Z] Step 11/12 : COPY . . [2023-09-11T01:11:04.902Z] ---> 0b6bb53581c0 [2023-09-11T01:11:04.902Z] Step 12/12 : RUN $MAKE [2023-09-11T01:11:04.902Z] ---> Running in b5404a96d6aa [2023-09-11T01:11:04.902Z] noop [2023-09-11T01:11:04.902Z] Removing intermediate container b5404a96d6aa [2023-09-11T01:11:04.902Z] ---> 1ff010996bc6 [2023-09-11T01:11:04.902Z] Successfully built 1ff010996bc6 [2023-09-11T01:11:04.902Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:11:05.262Z] + docker inspect -f . ci-base-image-arm64 [2023-09-11T01:11:05.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:11:05.482Z] prd-ubuntu20.04-docker-arm64-4c-16g-5754 does not seem to be running inside a container [2023-09-11T01:11:05.552Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/130 -v /w/workspace/device-rest-go/130:/w/workspace/device-rest-go/130:rw,z -v /w/workspace/device-rest-go/130@tmp:/w/workspace/device-rest-go/130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-11T01:11:06.780Z] $ docker top ec9393e8b68edcfa0671952898c1d68ca8aa45cfa762fa29c003c581b2607a20 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:11:07.617Z] + go version [2023-09-11T01:11:07.617Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-11T01:11:07.634Z] $ docker stop --time=1 ec9393e8b68edcfa0671952898c1d68ca8aa45cfa762fa29c003c581b2607a20 [2023-09-11T01:11:09.286Z] $ docker rm -f --volumes ec9393e8b68edcfa0671952898c1d68ca8aa45cfa762fa29c003c581b2607a20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:11:09.837Z] + docker inspect -f . ci-base-image-arm64 [2023-09-11T01:11:09.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:11:10.025Z] prd-ubuntu20.04-docker-arm64-4c-16g-5754 does not seem to be running inside a container [2023-09-11T01:11:10.101Z] $ 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/130 -v /w/workspace/device-rest-go/130:/w/workspace/device-rest-go/130:rw,z -v /w/workspace/device-rest-go/130@tmp:/w/workspace/device-rest-go/130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-11T01:11:11.318Z] $ docker top dbfa29e9ca106c0aa9712c6288a988d874ba1d7586050c65f87dd0ea1ad5eaa7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:11:12.172Z] + git config --global --add safe.directory /w/workspace/device-rest-go/130 [Pipeline] fileExists [Pipeline] sh [2023-09-11T01:11:12.822Z] + make test [2023-09-11T01:11:12.822Z] go test ./... -coverprofile=coverage.out ./... [2023-09-11T01:11:45.069Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-11T01:14:06.814Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-11T01:14:06.814Z] ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 33.2% of statements [2023-09-11T01:14:06.814Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-11T01:14:06.814Z] go vet ./... [2023-09-11T01:14:34.732Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-11T01:14:34.732Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-11T01:14:34.732Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-11T01:14:34.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-11T01:14:34.756Z] $ docker stop --time=1 dbfa29e9ca106c0aa9712c6288a988d874ba1d7586050c65f87dd0ea1ad5eaa7 [2023-09-11T01:14:36.662Z] $ docker rm -f --volumes dbfa29e9ca106c0aa9712c6288a988d874ba1d7586050c65f87dd0ea1ad5eaa7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T01:14:37.885Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-11T01:14:37.908Z] Warning: overwriting stash ‘coverage-report’ [2023-09-11T01:14:38.381Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T01:14:38.762Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-11T01:14:39.089Z] + ls -al . [2023-09-11T01:14:39.089Z] total 184 [2023-09-11T01:14:39.089Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:11 . [2023-09-11T01:14:39.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:08 .. [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 11 01:08 .dockerignore [2023-09-11T01:14:39.089Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:08 .git [2023-09-11T01:14:39.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:08 .github [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 11 01:08 .gitignore [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 01:08 .golangci.yml [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 11 01:08 Attribution.txt [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 11 01:08 CHANGELOG.md [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 11 01:08 Dockerfile [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 01:08 GOVERNANCE.md [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 11 01:08 Jenkinsfile [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 01:08 LICENSE [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 11 01:08 Makefile [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 11 01:08 OWNERS.md [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 11 01:08 README.md [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 11 01:05 VERSION [2023-09-11T01:14:39.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:08 bin [2023-09-11T01:14:39.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:08 cmd [2023-09-11T01:14:39.089Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 11 01:14 coverage.out [2023-09-11T01:14:39.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:08 driver [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 11 01:08 go.mod [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 11 01:08 go.sum [2023-09-11T01:14:39.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:08 snap [2023-09-11T01:14:39.089Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 11 01:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:14:39.435Z] + 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=0bc3f30d539332995b04e4270d58f382a711f8a9 --label arch=arm64 --label version=3.1.0-dev.10 . [2023-09-11T01:14:39.435Z] Sending build context to Docker daemon 158.7kB [2023-09-11T01:14:39.702Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T01:14:39.702Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-11T01:14:39.702Z] ---> 1ff010996bc6 [2023-09-11T01:14:39.702Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-11T01:14:39.702Z] ---> Running in 7329129da61f [2023-09-11T01:14:39.972Z] Removing intermediate container 7329129da61f [2023-09-11T01:14:39.972Z] ---> 16375e18ce1c [2023-09-11T01:14:39.972Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T01:14:40.240Z] ---> Running in bd4e2b59ada2 [2023-09-11T01:14:40.512Z] Removing intermediate container bd4e2b59ada2 [2023-09-11T01:14:40.512Z] ---> d7f960a68d72 [2023-09-11T01:14:40.512Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-11T01:14:40.512Z] ---> Running in 7f83f2f4b96d [2023-09-11T01:14:40.783Z] Removing intermediate container 7f83f2f4b96d [2023-09-11T01:14:40.783Z] ---> e5f9cbe3d599 [2023-09-11T01:14:40.783Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T01:14:41.051Z] ---> Running in 30e4cd13597c [2023-09-11T01:14:41.318Z] Removing intermediate container 30e4cd13597c [2023-09-11T01:14:41.318Z] ---> f2e3471f43b0 [2023-09-11T01:14:41.318Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T01:14:41.318Z] ---> Running in fc01859e5ed7 [2023-09-11T01:14:42.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T01:14:43.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T01:14:44.207Z] OK: 268 MiB in 57 packages [2023-09-11T01:14:45.170Z] Removing intermediate container fc01859e5ed7 [2023-09-11T01:14:45.170Z] ---> 50a548ee64c6 [2023-09-11T01:14:45.170Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-11T01:14:45.170Z] ---> Running in 866364c9bba0 [2023-09-11T01:14:45.438Z] Removing intermediate container 866364c9bba0 [2023-09-11T01:14:45.438Z] ---> 83c23d34083a [2023-09-11T01:14:45.438Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-11T01:14:45.705Z] ---> 288b2f08dd24 [2023-09-11T01:14:45.705Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T01:14:45.975Z] ---> Running in bdc4615dd908 [2023-09-11T01:14:47.921Z] Removing intermediate container bdc4615dd908 [2023-09-11T01:14:47.921Z] ---> aba62dfc7d8c [2023-09-11T01:14:47.921Z] Step 11/25 : COPY . . [2023-09-11T01:14:48.507Z] ---> 961c88455d79 [2023-09-11T01:14:48.507Z] Step 12/25 : RUN $MAKE [2023-09-11T01:14:48.781Z] ---> Running in 2a51e5e1aecd [2023-09-11T01:14:49.750Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-11T01:17:14.319Z] Removing intermediate container 2a51e5e1aecd [2023-09-11T01:17:14.319Z] ---> f218e66406a9 [2023-09-11T01:17:14.319Z] Step 13/25 : FROM alpine:3.17 [2023-09-11T01:17:14.319Z] 3.17: Pulling from library/alpine [2023-09-11T01:17:14.319Z] 4060ece20d7a: Pulling fs layer [2023-09-11T01:17:14.319Z] 4060ece20d7a: Download complete [2023-09-11T01:17:14.319Z] 4060ece20d7a: Pull complete [2023-09-11T01:17:14.319Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-11T01:17:14.319Z] Status: Downloaded newer image for alpine:3.17 [2023-09-11T01:17:14.319Z] ---> 8650cd65339b [2023-09-11T01:17:14.319Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-11T01:17:14.319Z] ---> Running in 2be82fee9d58 [2023-09-11T01:17:14.319Z] Removing intermediate container 2be82fee9d58 [2023-09-11T01:17:14.319Z] ---> 59507768f454 [2023-09-11T01:17:14.319Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-11T01:17:14.319Z] ---> Running in cc2396de75b1 [2023-09-11T01:17:14.319Z] Removing intermediate container cc2396de75b1 [2023-09-11T01:17:14.319Z] ---> 127523711c3c [2023-09-11T01:17:14.319Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-11T01:17:14.319Z] ---> Running in 064b4e055563 [2023-09-11T01:17:14.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T01:17:14.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T01:17:14.319Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-11T01:17:14.319Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T01:17:14.319Z] OK: 8 MiB in 16 packages [2023-09-11T01:17:14.901Z] Removing intermediate container 064b4e055563 [2023-09-11T01:17:14.901Z] ---> 4d5b2a180261 [2023-09-11T01:17:14.901Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-11T01:17:15.858Z] ---> c9bf0540aeb3 [2023-09-11T01:17:15.859Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-11T01:17:16.441Z] ---> 63849d4c3186 [2023-09-11T01:17:16.441Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-11T01:17:16.713Z] ---> 3b5d5781ec3c [2023-09-11T01:17:16.713Z] Step 20/25 : EXPOSE 59986 [2023-09-11T01:17:16.982Z] ---> Running in ce5a3d72450a [2023-09-11T01:17:16.982Z] Removing intermediate container ce5a3d72450a [2023-09-11T01:17:16.982Z] ---> 6253b8b5eb9f [2023-09-11T01:17:16.982Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-11T01:17:17.250Z] ---> Running in 25c722c878ed [2023-09-11T01:17:17.516Z] Removing intermediate container 25c722c878ed [2023-09-11T01:17:17.516Z] ---> 48c26e7b4036 [2023-09-11T01:17:17.516Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-11T01:17:17.516Z] ---> Running in ffeeadec61c8 [2023-09-11T01:17:17.781Z] Removing intermediate container ffeeadec61c8 [2023-09-11T01:17:17.781Z] ---> f9dd51849cbf [2023-09-11T01:17:17.781Z] Step 23/25 : LABEL arch=arm64 [2023-09-11T01:17:17.781Z] ---> Running in 9b4b79e7d88f [2023-09-11T01:17:18.048Z] Removing intermediate container 9b4b79e7d88f [2023-09-11T01:17:18.048Z] ---> 2a4eb49323cf [2023-09-11T01:17:18.048Z] Step 24/25 : LABEL git_sha=0bc3f30d539332995b04e4270d58f382a711f8a9 [2023-09-11T01:17:18.048Z] ---> Running in cf643820cede [2023-09-11T01:17:18.313Z] Removing intermediate container cf643820cede [2023-09-11T01:17:18.313Z] ---> 010c459e63cc [2023-09-11T01:17:18.313Z] Step 25/25 : LABEL version=3.1.0-dev.10 [2023-09-11T01:17:18.313Z] ---> Running in 06345e63e314 [2023-09-11T01:17:18.579Z] Removing intermediate container 06345e63e314 [2023-09-11T01:17:18.579Z] ---> 46a4bb8f570e [2023-09-11T01:17:18.579Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-11T01:17:18.579Z] Successfully built 46a4bb8f570e [2023-09-11T01:17:18.579Z] 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-09-11T01:17:18.691Z] provisioning config files... [2023-09-11T01:17:18.704Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/130@tmp/config12841964924869747296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:17:19.033Z] ---> docker-login.sh [2023-09-11T01:17:19.033Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:17:19.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:17:19.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:17:19.298Z] Configure a credential helper to remove this warning. See [2023-09-11T01:17:19.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:17:19.298Z] [2023-09-11T01:17:19.298Z] Login Succeeded [2023-09-11T01:17:19.298Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:17:19.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:17:19.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:17:19.565Z] Configure a credential helper to remove this warning. See [2023-09-11T01:17:19.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:17:19.565Z] [2023-09-11T01:17:19.565Z] Login Succeeded [2023-09-11T01:17:19.565Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:17:19.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:17:19.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:17:19.831Z] Configure a credential helper to remove this warning. See [2023-09-11T01:17:19.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:17:19.831Z] [2023-09-11T01:17:19.831Z] Login Succeeded [2023-09-11T01:17:19.831Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:17:20.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:17:20.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:17:20.096Z] Configure a credential helper to remove this warning. See [2023-09-11T01:17:20.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:17:20.096Z] [2023-09-11T01:17:20.096Z] Login Succeeded [2023-09-11T01:17:20.096Z] docker.io [2023-09-11T01:17:20.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:17:20.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:17:20.625Z] Configure a credential helper to remove this warning. See [2023-09-11T01:17:20.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:17:20.625Z] [2023-09-11T01:17:20.625Z] Login Succeeded [2023-09-11T01:17:20.625Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:17:20.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T01:17:20.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:17:20.692Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-09-11T01:17:20.692Z] 0bc3f30d539332995b04e4270d58f382a711f8a9 [2023-09-11T01:17:20.692Z] latest [2023-09-11T01:17:20.692Z] 3.1.0-dev.10 [2023-09-11T01:17:20.692Z] 0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 [2023-09-11T01:17:20.692Z] main [2023-09-11T01:17:20.692Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:21.026Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:21.355Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0bc3f30d539332995b04e4270d58f382a711f8a9 [2023-09-11T01:17:21.356Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-11T01:17:21.356Z] 22e071cca7f0: Preparing [2023-09-11T01:17:21.356Z] 7626822a0a41: Preparing [2023-09-11T01:17:21.356Z] 9b40590abb0f: Preparing [2023-09-11T01:17:21.356Z] 52a231c20117: Preparing [2023-09-11T01:17:21.356Z] d2d9d24a8c2a: Preparing [2023-09-11T01:17:21.356Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:17:21.625Z] 7626822a0a41: Pushed [2023-09-11T01:17:21.625Z] 22e071cca7f0: Pushed [2023-09-11T01:17:21.625Z] 52a231c20117: Pushed [2023-09-11T01:17:26.939Z] 9b40590abb0f: Pushed [2023-09-11T01:17:26.939Z] 0bc3f30d539332995b04e4270d58f382a711f8a9: digest: sha256:383b434a5d77560b8240947edb19c1a2c55d0331f1838bca21205eae0b61c078 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:27.285Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:27.622Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-11T01:17:27.622Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-11T01:17:27.622Z] 22e071cca7f0: Preparing [2023-09-11T01:17:27.622Z] 7626822a0a41: Preparing [2023-09-11T01:17:27.622Z] 9b40590abb0f: Preparing [2023-09-11T01:17:27.622Z] 52a231c20117: Preparing [2023-09-11T01:17:27.622Z] d2d9d24a8c2a: Preparing [2023-09-11T01:17:27.622Z] 22e071cca7f0: Layer already exists [2023-09-11T01:17:27.622Z] 52a231c20117: Layer already exists [2023-09-11T01:17:27.622Z] 9b40590abb0f: Layer already exists [2023-09-11T01:17:27.622Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:17:27.622Z] 7626822a0a41: Layer already exists [2023-09-11T01:17:27.622Z] latest: digest: sha256:383b434a5d77560b8240947edb19c1a2c55d0331f1838bca21205eae0b61c078 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:27.969Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:28.305Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.10 [2023-09-11T01:17:28.305Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-11T01:17:28.305Z] 22e071cca7f0: Preparing [2023-09-11T01:17:28.305Z] 7626822a0a41: Preparing [2023-09-11T01:17:28.305Z] 9b40590abb0f: Preparing [2023-09-11T01:17:28.305Z] 52a231c20117: Preparing [2023-09-11T01:17:28.305Z] d2d9d24a8c2a: Preparing [2023-09-11T01:17:28.305Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:17:28.305Z] 7626822a0a41: Layer already exists [2023-09-11T01:17:28.305Z] 9b40590abb0f: Layer already exists [2023-09-11T01:17:28.305Z] 52a231c20117: Layer already exists [2023-09-11T01:17:28.305Z] 22e071cca7f0: Layer already exists [2023-09-11T01:17:28.305Z] 3.1.0-dev.10: digest: sha256:383b434a5d77560b8240947edb19c1a2c55d0331f1838bca21205eae0b61c078 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:28.642Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:28.971Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 [2023-09-11T01:17:28.971Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-11T01:17:28.971Z] 22e071cca7f0: Preparing [2023-09-11T01:17:28.971Z] 7626822a0a41: Preparing [2023-09-11T01:17:28.971Z] 9b40590abb0f: Preparing [2023-09-11T01:17:28.971Z] 52a231c20117: Preparing [2023-09-11T01:17:28.971Z] d2d9d24a8c2a: Preparing [2023-09-11T01:17:28.971Z] 22e071cca7f0: Layer already exists [2023-09-11T01:17:28.971Z] 52a231c20117: Layer already exists [2023-09-11T01:17:28.971Z] 7626822a0a41: Layer already exists [2023-09-11T01:17:28.971Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:17:28.971Z] 9b40590abb0f: Layer already exists [2023-09-11T01:17:28.971Z] 0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10: digest: sha256:383b434a5d77560b8240947edb19c1a2c55d0331f1838bca21205eae0b61c078 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:29.300Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:29.632Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-09-11T01:17:29.632Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-11T01:17:29.632Z] 22e071cca7f0: Preparing [2023-09-11T01:17:29.633Z] 7626822a0a41: Preparing [2023-09-11T01:17:29.633Z] 9b40590abb0f: Preparing [2023-09-11T01:17:29.633Z] 52a231c20117: Preparing [2023-09-11T01:17:29.633Z] d2d9d24a8c2a: Preparing [2023-09-11T01:17:29.633Z] 9b40590abb0f: Layer already exists [2023-09-11T01:17:29.633Z] 22e071cca7f0: Layer already exists [2023-09-11T01:17:29.633Z] 52a231c20117: Layer already exists [2023-09-11T01:17:29.633Z] 7626822a0a41: Layer already exists [2023-09-11T01:17:29.633Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:17:29.633Z] main: digest: sha256:383b434a5d77560b8240947edb19c1a2c55d0331f1838bca21205eae0b61c078 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T01:17:29.700Z] ===================================================== [Pipeline] echo [2023-09-11T01:17:29.711Z] taggedImages: [2023-09-11T01:17:29.711Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:0bc3f30d539332995b04e4270d58f382a711f8a9 [2023-09-11T01:17:29.711Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-11T01:17:29.712Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.10 [2023-09-11T01:17:29.712Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 [2023-09-11T01:17:29.712Z] - 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-09-11T01:17:30.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T01:17:30.077Z] [2023-09-11T01:17:30.077Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:30.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T01:17:30.400Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-11T01:17:30.400Z] 8998bd30e6a1: Pulling fs layer [2023-09-11T01:17:30.400Z] 04944245beec: Pulling fs layer [2023-09-11T01:17:30.400Z] 699f458cf7ca: Pulling fs layer [2023-09-11T01:17:30.400Z] 765212b225bb: Pulling fs layer [2023-09-11T01:17:30.400Z] f23df028b6ca: Pulling fs layer [2023-09-11T01:17:30.400Z] d65c8cfc05b1: Pulling fs layer [2023-09-11T01:17:30.400Z] 2437ff75d9bd: Pulling fs layer [2023-09-11T01:17:30.400Z] 765212b225bb: Waiting [2023-09-11T01:17:30.400Z] d65c8cfc05b1: Waiting [2023-09-11T01:17:30.400Z] 2437ff75d9bd: Waiting [2023-09-11T01:17:30.400Z] f23df028b6ca: Waiting [2023-09-11T01:17:30.400Z] 04944245beec: Verifying Checksum [2023-09-11T01:17:30.400Z] 04944245beec: Download complete [2023-09-11T01:17:30.668Z] 765212b225bb: Verifying Checksum [2023-09-11T01:17:30.668Z] 765212b225bb: Download complete [2023-09-11T01:17:30.668Z] f23df028b6ca: Verifying Checksum [2023-09-11T01:17:30.668Z] f23df028b6ca: Download complete [2023-09-11T01:17:30.668Z] d65c8cfc05b1: Verifying Checksum [2023-09-11T01:17:30.668Z] d65c8cfc05b1: Download complete [2023-09-11T01:17:30.668Z] 699f458cf7ca: Verifying Checksum [2023-09-11T01:17:30.668Z] 699f458cf7ca: Download complete [2023-09-11T01:17:31.248Z] 8998bd30e6a1: Verifying Checksum [2023-09-11T01:17:31.248Z] 8998bd30e6a1: Download complete [2023-09-11T01:17:33.182Z] 2437ff75d9bd: Verifying Checksum [2023-09-11T01:17:33.182Z] 2437ff75d9bd: Download complete [2023-09-11T01:17:34.580Z] 8998bd30e6a1: Pull complete [2023-09-11T01:17:34.844Z] 04944245beec: Pull complete [2023-09-11T01:17:36.245Z] 699f458cf7ca: Pull complete [2023-09-11T01:17:36.245Z] 765212b225bb: Pull complete [2023-09-11T01:17:36.823Z] f23df028b6ca: Pull complete [2023-09-11T01:17:37.088Z] d65c8cfc05b1: Pull complete [2023-09-11T01:17:49.371Z] 2437ff75d9bd: Pull complete [2023-09-11T01:17:49.371Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-11T01:17:49.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T01:17:49.371Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:17:49.559Z] prd-ubuntu20.04-docker-arm64-4c-16g-5754 does not seem to be running inside a container [2023-09-11T01:17:49.617Z] $ 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/130 -v /w/workspace/device-rest-go/130:/w/workspace/device-rest-go/130:rw,z -v /w/workspace/device-rest-go/130@tmp:/w/workspace/device-rest-go/130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-11T01:17:51.834Z] $ docker top 32caa81deab089f62ea8e29a1ae8bb01dc35ba0e01a0cb87d08b858e0f523219 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:17:52.324Z] ---> job-cost.sh [2023-09-11T01:17:52.595Z] lf-activate-venv: SKIPPING [2023-09-11T01:17:52.595Z] INFO: No Stack... [2023-09-11T01:17:52.861Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-11T01:17:53.815Z] INFO: Archiving Costs [Pipeline] sh [2023-09-11T01:17:54.128Z] + cat /w/workspace/device-rest-go/130/archives/cost.csv [2023-09-11T01:17:54.128Z] + cut -d, -f6 [Pipeline] lock [2023-09-11T01:17:54.161Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] [2023-09-11T01:17:54.168Z] Resource [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] did not exist. Created. [2023-09-11T01:17:54.168Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T01:17:54.492Z] /w/workspace/device-rest-go/130@tmp/durable-0a8f94f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-11T01:17:54.821Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-11T01:17:54.848Z] Warning: overwriting stash ‘stack-cost’ [2023-09-11T01:17:54.895Z] Stashed 1 file(s) [Pipeline] } [2023-09-11T01:17:54.901Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-11T01:17:54.913Z] $ docker stop --time=1 32caa81deab089f62ea8e29a1ae8bb01dc35ba0e01a0cb87d08b858e0f523219 [2023-09-11T01:17:56.373Z] $ docker rm -f --volumes 32caa81deab089f62ea8e29a1ae8bb01dc35ba0e01a0cb87d08b858e0f523219 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-11T01:17:56.776Z] provisioning config files... [2023-09-11T01:17:56.783Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8676639926042803370tmp [Pipeline] { [Pipeline] sh [2023-09-11T01:17:57.080Z] + set +x [2023-09-11T01:17:57.080Z] + curl+ -s https://codecov.io/bash [2023-09-11T01:17:57.080Z] bash -s -- [2023-09-11T01:17:57.080Z] [2023-09-11T01:17:57.080Z] _____ _ [2023-09-11T01:17:57.080Z] / ____| | | [2023-09-11T01:17:57.080Z] | | ___ __| | ___ ___ _____ __ [2023-09-11T01:17:57.080Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-11T01:17:57.080Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-11T01:17:57.080Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-11T01:17:57.080Z] Bash-1.0.6 [2023-09-11T01:17:57.080Z] [2023-09-11T01:17:57.080Z] [2023-09-11T01:17:57.080Z] ==> git version 2.25.1 found [2023-09-11T01:17:57.080Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-11T01:17:57.080Z] Release-Date: 2020-01-08 [2023-09-11T01:17:57.080Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-11T01:17:57.080Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-11T01:17:57.080Z] ==> Jenkins CI detected. [2023-09-11T01:17:57.080Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-09-11T01:17:57.080Z] project root: . [2023-09-11T01:17:57.080Z] --> token set from env [2023-09-11T01:17:57.080Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-11T01:17:57.080Z] ==> Running gcov in . (disable via -X gcov) [2023-09-11T01:17:57.080Z] ==> Python coveragepy not found [2023-09-11T01:17:57.080Z] ==> Searching for coverage reports in: [2023-09-11T01:17:57.080Z] + . [2023-09-11T01:17:57.080Z] -> Found 1 reports [2023-09-11T01:17:57.080Z] ==> Detecting git/mercurial file structure [2023-09-11T01:17:57.080Z] ==> Reading reports [2023-09-11T01:17:57.080Z] + ./coverage.out bytes=14499 [2023-09-11T01:17:57.080Z] ==> Appending adjustments [2023-09-11T01:17:57.080Z] https://docs.codecov.io/docs/fixing-reports [2023-09-11T01:17:57.339Z] + Found adjustments [2023-09-11T01:17:57.339Z] ==> Gzipping contents [2023-09-11T01:17:57.339Z] 4.0K /tmp/codecov.FScJ4L.gz [2023-09-11T01:17:57.339Z] ==> Uploading reports [2023-09-11T01:17:57.339Z] url: https://codecov.io [2023-09-11T01:17:57.339Z] query: branch=main&commit=0bc3f30d539332995b04e4270d58f382a711f8a9&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-11T01:17:57.339Z] -> Pinging Codecov [2023-09-11T01:17:57.339Z] 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=0bc3f30d539332995b04e4270d58f382a711f8a9&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-11T01:17:57.339Z] -> Uploading to [2023-09-11T01:17:57.339Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-11/4E5D53B4F1F92C436F7061BF334D961C/0bc3f30d539332995b04e4270d58f382a711f8a9/8ad3dcd2-1366-47f3-aa0a-81ec29619f42.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230911T011757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd6f6b85660af1ed5d39222cba765eb7821b43b78cb95ff3c28c866d5dda248b [2023-09-11T01:17:57.339Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-11T01:17:57.339Z] Dload Upload Total Spent Left Speed [2023-09-11T01:17:57.597Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 13260 --:--:-- --:--:-- --:--:-- 13260 [2023-09-11T01:17:57.597Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] } [2023-09-11T01:17:57.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-11T01:17:57.738Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-11T01:17:57.748Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:58.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T01:17:58.054Z] [2023-09-11T01:17:58.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:58.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T01:17:58.360Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-11T01:17:58.360Z] df9b9388f04a: Pulling fs layer [2023-09-11T01:17:58.360Z] 52dc419b0ee2: Pulling fs layer [2023-09-11T01:17:58.360Z] 25bc292e5bac: Pulling fs layer [2023-09-11T01:17:58.360Z] 114826534d7a: Pulling fs layer [2023-09-11T01:17:58.360Z] 4657fd5d0bcf: Pulling fs layer [2023-09-11T01:17:58.360Z] 6ad1cebc031e: Pulling fs layer [2023-09-11T01:17:58.360Z] 8a3aa393b2d8: Pulling fs layer [2023-09-11T01:17:58.360Z] 114826534d7a: Waiting [2023-09-11T01:17:58.360Z] 4657fd5d0bcf: Waiting [2023-09-11T01:17:58.360Z] 6ad1cebc031e: Waiting [2023-09-11T01:17:58.360Z] 8a3aa393b2d8: Waiting [2023-09-11T01:17:58.360Z] 25bc292e5bac: Verifying Checksum [2023-09-11T01:17:58.360Z] 25bc292e5bac: Download complete [2023-09-11T01:17:58.360Z] 52dc419b0ee2: Download complete [2023-09-11T01:17:58.360Z] 4657fd5d0bcf: Verifying Checksum [2023-09-11T01:17:58.360Z] 4657fd5d0bcf: Download complete [2023-09-11T01:17:58.360Z] df9b9388f04a: Download complete [2023-09-11T01:17:58.621Z] 6ad1cebc031e: Verifying Checksum [2023-09-11T01:17:58.621Z] 6ad1cebc031e: Download complete [2023-09-11T01:17:58.621Z] df9b9388f04a: Pull complete [2023-09-11T01:17:58.621Z] 52dc419b0ee2: Pull complete [2023-09-11T01:17:58.881Z] 25bc292e5bac: Pull complete [2023-09-11T01:17:59.139Z] 114826534d7a: Verifying Checksum [2023-09-11T01:17:59.139Z] 114826534d7a: Download complete [2023-09-11T01:17:59.139Z] 8a3aa393b2d8: Verifying Checksum [2023-09-11T01:17:59.139Z] 8a3aa393b2d8: Download complete [2023-09-11T01:18:02.420Z] 114826534d7a: Pull complete [2023-09-11T01:18:02.420Z] 4657fd5d0bcf: Pull complete [2023-09-11T01:18:02.678Z] 6ad1cebc031e: Pull complete [2023-09-11T01:18:05.206Z] 8a3aa393b2d8: Pull complete [2023-09-11T01:18:05.206Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-11T01:18:05.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T01:18:05.206Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:18:05.274Z] prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container [2023-09-11T01:18:05.314Z] $ 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-09-11T01:18:10.641Z] $ docker top 1dae4a5ed2d954e12cfcfc0a2dca1bb3206a8b299301c2a4a535f05048fc0693 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-11T01:18:10.688Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-09-11T01:18:10.975Z] + set -o pipefail [2023-09-11T01:18:10.976Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-09-11T01:18:16.245Z] [2023-09-11T01:18:16.245Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-09-11T01:18:16.245Z] [2023-09-11T01:18:16.245Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/5f56faa9-23b3-4622-b51b-5d618d05d024 [2023-09-11T01:18:16.245Z] [2023-09-11T01:18:16.245Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-11T01:18:16.245Z] [2023-09-11T01:18:16.245Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-11T01:18:16.245Z] [2023-09-11T01:18:16.505Z] [2023-09-11T01:18:16.505Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-11T01:18:16.505Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-11T01:18:16.505Z] More details here: https://snyk.co/ue1NS [2023-09-11T01:18:16.505Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-11T01:18:16.505Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-11T01:18:16.533Z] $ docker stop --time=1 1dae4a5ed2d954e12cfcfc0a2dca1bb3206a8b299301c2a4a535f05048fc0693 [2023-09-11T01:18:20.788Z] $ docker rm -f --volumes 1dae4a5ed2d954e12cfcfc0a2dca1bb3206a8b299301c2a4a535f05048fc0693 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T01:18:21.499Z] + git log --format=format:%s -1 0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] sh [2023-09-11T01:18:21.788Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T01:18:21.788Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:18:22.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:18:22.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:18:22.159Z] prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container [2023-09-11T01:18:22.203Z] $ 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-09-11T01:18:22.602Z] $ docker top 39c31d816cbd7cad47d93a3fb3364f52177338708b53186b9b95dc49d257dba4 -eo pid,comm [2023-09-11T01:18:22.633Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-11T01:18:22.634Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T01:18:22.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:18:22.674Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:18:22.795Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:18:22.813Z] $ docker exec 39c31d816cbd7cad47d93a3fb3364f52177338708b53186b9b95dc49d257dba4 ssh-agent [2023-09-11T01:18:22.901Z] SSH_AUTH_SOCK=/tmp/ssh-dxNNns45f6pX/agent.32 [2023-09-11T01:18:22.901Z] SSH_AGENT_PID=39 [2023-09-11T01:18:22.906Z] Running ssh-add (command line suppressed) [2023-09-11T01:18:23.007Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9336472406874674243.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9336472406874674243.key) [2023-09-11T01:18:23.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:18:23.293Z] + git semver tag [2023-09-11T01:18:23.551Z] 2023-09-11 01:18:23,566 [run_tag] DEBUG tag force:False [2023-09-11T01:18:23.809Z] 2023-09-11 01:18:23,567 [check_head_tag] DEBUG check head tag [2023-09-11T01:18:23.809Z] 2023-09-11 01:18:23,568 [execute] INFO git cat-file --batch-check [2023-09-11T01:18:23.809Z] 2023-09-11 01:18:23,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-11T01:18:23.809Z] 2023-09-11 01:18:23,574 [execute] INFO git cat-file --batch [2023-09-11T01:18:23.809Z] 2023-09-11 01:18:23,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-11T01:18:23.809Z] 2023-09-11 01:18:23,585 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-11T01:18:23.809Z] 2023-09-11 01:18:23,585 [execute] INFO git tag -a v3.1.0-dev.10 -m v3.1.0-dev.10 [2023-09-11T01:18:23.809Z] 2023-09-11 01:18:23,585 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.10', '-m', 'v3.1.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-11T01:18:23.809Z] 2023-09-11 01:18:23,591 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-11T01:18:23.809Z] 3.1.0-dev.10 [Pipeline] } [2023-09-11T01:18:23.834Z] $ docker exec --env ******** --env ******** 39c31d816cbd7cad47d93a3fb3364f52177338708b53186b9b95dc49d257dba4 ssh-agent -k [2023-09-11T01:18:23.937Z] unset SSH_AUTH_SOCK; [2023-09-11T01:18:23.937Z] unset SSH_AGENT_PID; [2023-09-11T01:18:23.938Z] echo Agent pid 39 killed; [2023-09-11T01:18:23.930Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T01:18:24.235Z] + git semver [Pipeline] } [2023-09-11T01:18:24.521Z] $ docker stop --time=1 39c31d816cbd7cad47d93a3fb3364f52177338708b53186b9b95dc49d257dba4 [2023-09-11T01:18:25.785Z] $ docker rm -f --volumes 39c31d816cbd7cad47d93a3fb3364f52177338708b53186b9b95dc49d257dba4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:18:26.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T01:18:26.171Z] [2023-09-11T01:18:26.171Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:18:26.463Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T01:18:26.463Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-11T01:18:26.463Z] ab5ef0e58194: Pulling fs layer [2023-09-11T01:18:26.463Z] 9712f1f96733: Pulling fs layer [2023-09-11T01:18:26.463Z] 63f879dbbcfc: Pulling fs layer [2023-09-11T01:18:26.463Z] 0d9ebad4ef96: Pulling fs layer [2023-09-11T01:18:26.463Z] e9a5061849ea: Pulling fs layer [2023-09-11T01:18:26.463Z] d747dcd14b5f: Pulling fs layer [2023-09-11T01:18:26.463Z] 2de7ff778b66: Pulling fs layer [2023-09-11T01:18:26.463Z] e9a5061849ea: Waiting [2023-09-11T01:18:26.463Z] d747dcd14b5f: Waiting [2023-09-11T01:18:26.463Z] 2de7ff778b66: Waiting [2023-09-11T01:18:26.463Z] 9712f1f96733: Download complete [2023-09-11T01:18:26.722Z] 63f879dbbcfc: Verifying Checksum [2023-09-11T01:18:26.723Z] 63f879dbbcfc: Download complete [2023-09-11T01:18:26.982Z] e9a5061849ea: Verifying Checksum [2023-09-11T01:18:26.982Z] e9a5061849ea: Download complete [2023-09-11T01:18:26.982Z] d747dcd14b5f: Verifying Checksum [2023-09-11T01:18:26.982Z] d747dcd14b5f: Download complete [2023-09-11T01:18:26.982Z] 0d9ebad4ef96: Verifying Checksum [2023-09-11T01:18:26.982Z] 0d9ebad4ef96: Download complete [2023-09-11T01:18:27.240Z] ab5ef0e58194: Verifying Checksum [2023-09-11T01:18:27.240Z] ab5ef0e58194: Download complete [2023-09-11T01:18:27.240Z] 2de7ff778b66: Verifying Checksum [2023-09-11T01:18:27.240Z] 2de7ff778b66: Download complete [2023-09-11T01:18:29.880Z] ab5ef0e58194: Pull complete [2023-09-11T01:18:29.880Z] 9712f1f96733: Pull complete [2023-09-11T01:18:30.445Z] 63f879dbbcfc: Pull complete [2023-09-11T01:18:33.723Z] 0d9ebad4ef96: Pull complete [2023-09-11T01:18:33.981Z] e9a5061849ea: Pull complete [2023-09-11T01:18:34.239Z] d747dcd14b5f: Pull complete [2023-09-11T01:18:35.172Z] 2de7ff778b66: Pull complete [2023-09-11T01:18:35.172Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-11T01:18:35.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T01:18:35.172Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:18:35.254Z] prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container [2023-09-11T01:18:35.294Z] $ 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-09-11T01:18:40.653Z] $ docker top d51a5964f06ea486743b3c3ac51d56c27121b8f82058444f0909bb15fbe4418b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:18:40.705Z] provisioning config files... [2023-09-11T01:18:40.713Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9043727196406300959tmp [2023-09-11T01:18:40.722Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15118101037347994933tmp [2023-09-11T01:18:40.733Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16824049528260011314tmp [Pipeline] { [Pipeline] echo [2023-09-11T01:18:40.748Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:18:41.032Z] ---> sigul-configuration.sh [2023-09-11T01:18:41.032Z] gpg: directory `/root/.gnupg' created [2023-09-11T01:18:41.032Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-11T01:18:41.032Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-11T01:18:41.032Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-11T01:18:41.032Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-11T01:18:41.032Z] gpg: CAST5 encrypted data [2023-09-11T01:18:41.032Z] gpg: encrypted with 1 passphrase [2023-09-11T01:18:41.032Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-11T01:18:41.320Z] + mkdir /home/jenkins [2023-09-11T01:18:41.320Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-11T01:18:41.617Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-11T01:18:41.624Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:18:41.906Z] ---> sigul-install.sh [2023-09-11T01:18:41.906Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-11T01:18:42.191Z] + git tag --list [2023-09-11T01:18:42.191Z] v1.0.0 [2023-09-11T01:18:42.191Z] v1.1.0 [2023-09-11T01:18:42.191Z] v1.1.1 [2023-09-11T01:18:42.191Z] v1.1.2 [2023-09-11T01:18:42.191Z] v1.2.0 [2023-09-11T01:18:42.191Z] v1.2.1 [2023-09-11T01:18:42.191Z] v2.0.0 [2023-09-11T01:18:42.191Z] v2.1.0 [2023-09-11T01:18:42.191Z] v2.1.1 [2023-09-11T01:18:42.191Z] v2.2.0 [2023-09-11T01:18:42.191Z] v2.3.0 [2023-09-11T01:18:42.191Z] v3.0 [2023-09-11T01:18:42.191Z] v3.0.0 [2023-09-11T01:18:42.191Z] v3.1.0-dev.1 [2023-09-11T01:18:42.191Z] v3.1.0-dev.10 [2023-09-11T01:18:42.191Z] v3.1.0-dev.2 [2023-09-11T01:18:42.191Z] v3.1.0-dev.3 [2023-09-11T01:18:42.191Z] v3.1.0-dev.4 [2023-09-11T01:18:42.191Z] v3.1.0-dev.5 [2023-09-11T01:18:42.191Z] v3.1.0-dev.6 [2023-09-11T01:18:42.191Z] v3.1.0-dev.7 [2023-09-11T01:18:42.191Z] v3.1.0-dev.8 [2023-09-11T01:18:42.191Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-11T01:18:42.477Z] + lftools sign git-tag v3.1.0-dev.10 [2023-09-11T01:18:43.045Z] Signing Git tag with Sigul... [2023-09-11T01:18:43.045Z] Signing v3.1.0-dev.10 [Pipeline] echo [2023-09-11T01:18:43.311Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:18:43.594Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-11T01:18:43.601Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-11T01:18:43.636Z] $ docker stop --time=1 d51a5964f06ea486743b3c3ac51d56c27121b8f82058444f0909bb15fbe4418b [2023-09-11T01:18:44.935Z] $ docker rm -f --volumes d51a5964f06ea486743b3c3ac51d56c27121b8f82058444f0909bb15fbe4418b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-11T01:18:45.326Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T01:18:45.326Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:18:45.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:18:45.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:18:45.697Z] prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container [2023-09-11T01:18:45.748Z] $ 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-09-11T01:18:46.076Z] $ docker top 72b3f885482d3fb800d247d3ce30f493a0c544dc49cb0b6e0e7b4214a34ee222 -eo pid,comm [2023-09-11T01:18:46.105Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-11T01:18:46.105Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T01:18:46.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:18:46.143Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:18:46.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:18:46.274Z] $ docker exec 72b3f885482d3fb800d247d3ce30f493a0c544dc49cb0b6e0e7b4214a34ee222 ssh-agent [2023-09-11T01:18:46.373Z] SSH_AUTH_SOCK=/tmp/ssh-dBALfiDlRMOm/agent.32 [2023-09-11T01:18:46.373Z] SSH_AGENT_PID=38 [2023-09-11T01:18:46.378Z] Running ssh-add (command line suppressed) [2023-09-11T01:18:46.493Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4040742807816961175.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4040742807816961175.key) [2023-09-11T01:18:46.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:18:46.778Z] + git semver bump pre [2023-09-11T01:18:47.038Z] 2023-09-11 01:18:46,973 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-11T01:18:47.038Z] 2023-09-11 01:18:46,973 [bump_version] DEBUG bumping version:3.1.0-dev.10 on axis:pre with prefix:dev [2023-09-11T01:18:47.038Z] 2023-09-11 01:18:46,973 [bump_version] DEBUG bumped version:3.1.0-dev.11 [2023-09-11T01:18:47.038Z] 2023-09-11 01:18:46,973 [write_version] DEBUG write version:3.1.0-dev.11 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-09-11T01:18:47.038Z] 2023-09-11 01:18:46,973 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-11T01:18:47.038Z] 2023-09-11 01:18:46,973 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-11T01:18:47.038Z] 2023-09-11 01:18:46,975 [execute] INFO git cat-file --batch-check [2023-09-11T01:18:47.038Z] 2023-09-11 01:18:46,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T01:18:47.038Z] 2023-09-11 01:18:46,980 [execute] INFO git cat-file --batch [2023-09-11T01:18:47.038Z] 2023-09-11 01:18:46,980 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T01:18:47.038Z] 2023-09-11 01:18:46,985 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-11T01:18:47.038Z] 3.1.0-dev.11 [Pipeline] } [2023-09-11T01:18:47.063Z] $ docker exec --env ******** --env ******** 72b3f885482d3fb800d247d3ce30f493a0c544dc49cb0b6e0e7b4214a34ee222 ssh-agent -k [2023-09-11T01:18:47.162Z] unset SSH_AUTH_SOCK; [2023-09-11T01:18:47.162Z] unset SSH_AGENT_PID; [2023-09-11T01:18:47.163Z] echo Agent pid 38 killed; [2023-09-11T01:18:47.155Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T01:18:47.468Z] + git semver [Pipeline] } [2023-09-11T01:18:47.755Z] $ docker stop --time=1 72b3f885482d3fb800d247d3ce30f493a0c544dc49cb0b6e0e7b4214a34ee222 [2023-09-11T01:18:49.011Z] $ docker rm -f --volumes 72b3f885482d3fb800d247d3ce30f493a0c544dc49cb0b6e0e7b4214a34ee222 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T01:18:49.334Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T01:18:49.334Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:18:49.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:18:49.642Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:18:49.714Z] prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container [2023-09-11T01:18:49.764Z] $ 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-09-11T01:18:50.097Z] $ docker top 5afe0eb471df2ae46f6fc833fbc0429b8ad74ce97f6cd0553052234dab709680 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T01:18:50.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:18:50.169Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:18:50.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:18:50.291Z] $ docker exec 5afe0eb471df2ae46f6fc833fbc0429b8ad74ce97f6cd0553052234dab709680 ssh-agent [2023-09-11T01:18:50.387Z] SSH_AUTH_SOCK=/tmp/ssh-bRTSqeWZMWhc/agent.32 [2023-09-11T01:18:50.387Z] SSH_AGENT_PID=38 [2023-09-11T01:18:50.393Z] Running ssh-add (command line suppressed) [2023-09-11T01:18:50.514Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11929510977071225772.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11929510977071225772.key) [2023-09-11T01:18:50.511Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:18:50.800Z] + git semver push [2023-09-11T01:18:51.088Z] 2023-09-11 01:18:51,005 [run_push] DEBUG push [2023-09-11T01:18:51.088Z] 2023-09-11 01:18:51,006 [execute] INFO git cat-file --batch-check [2023-09-11T01:18:51.088Z] 2023-09-11 01:18:51,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T01:18:51.088Z] 2023-09-11 01:18:51,010 [execute] INFO git rev-list cf47de288f542579d37a992d0befccc6ccb48c2f -- [2023-09-11T01:18:51.088Z] 2023-09-11 01:18:51,010 [execute] DEBUG Popen(['git', 'rev-list', 'cf47de288f542579d37a992d0befccc6ccb48c2f', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-11T01:18:51.088Z] 2023-09-11 01:18:51,019 [execute] INFO git fetch -v origin [2023-09-11T01:18:51.088Z] 2023-09-11 01:18:51,020 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-11T01:18:51.707Z] 2023-09-11 01:18:51,469 [run_push] DEBUG no remote changes detected [2023-09-11T01:18:51.707Z] 2023-09-11 01:18:51,469 [execute] INFO git push origin semver [2023-09-11T01:18:51.707Z] 2023-09-11 01:18:51,469 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-11T01:18:52.342Z] 2023-09-11 01:18:52,289 [run_push] DEBUG push all version tags [2023-09-11T01:18:52.342Z] 2023-09-11 01:18:52,290 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-11T01:18:52.342Z] 2023-09-11 01:18:52,290 [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-09-11T01:18:53.280Z] 2023-09-11 01:18:53,107 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-11T01:18:53.280Z] 3.1.0-dev.11 [Pipeline] } [2023-09-11T01:18:53.305Z] $ docker exec --env ******** --env ******** 5afe0eb471df2ae46f6fc833fbc0429b8ad74ce97f6cd0553052234dab709680 ssh-agent -k [2023-09-11T01:18:53.392Z] unset SSH_AUTH_SOCK; [2023-09-11T01:18:53.392Z] unset SSH_AGENT_PID; [2023-09-11T01:18:53.392Z] echo Agent pid 38 killed; [2023-09-11T01:18:53.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T01:18:53.701Z] + git semver [Pipeline] } [2023-09-11T01:18:53.989Z] $ docker stop --time=1 5afe0eb471df2ae46f6fc833fbc0429b8ad74ce97f6cd0553052234dab709680 [2023-09-11T01:18:55.239Z] $ docker rm -f --volumes 5afe0eb471df2ae46f6fc833fbc0429b8ad74ce97f6cd0553052234dab709680 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-11T01:18:55.813Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-09-11T01:18:55.813Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-11T01:18:55.813Z] total 16 [2023-09-11T01:18:55.813Z] drwxr-xr-x 3 root root 4096 Sep 11 01:08 . [2023-09-11T01:18:55.813Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 01:18 .. [2023-09-11T01:18:55.813Z] drwxr-xr-x 2 root root 4096 Sep 11 01:08 cost [2023-09-11T01:18:55.813Z] -rw-r--r-- 1 root root 86 Sep 11 01:08 cost.csv [2023-09-11T01:18:55.813Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-11T01:18:55.813Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-11T01:18:55.813Z] total 16 [2023-09-11T01:18:55.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 01:08 . [2023-09-11T01:18:55.813Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 01:18 .. [2023-09-11T01:18:55.813Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 01:08 cost [2023-09-11T01:18:55.813Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 11 01:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:18:56.102Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:18:56.963Z] ---> package-listing.sh [2023-09-11T01:18:56.963Z] ++ facter osfamily [2023-09-11T01:18:56.963Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-11T01:18:57.222Z] + OS_FAMILY=debian [2023-09-11T01:18:57.222Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-09-11T01:18:57.222Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-11T01:18:57.222Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-11T01:18:57.222Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-11T01:18:57.222Z] + PACKAGES=/tmp/packages_start.txt [2023-09-11T01:18:57.222Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-11T01:18:57.222Z] + PACKAGES=/tmp/packages_end.txt [2023-09-11T01:18:57.222Z] + case "${OS_FAMILY}" in [2023-09-11T01:18:57.222Z] + dpkg -l [2023-09-11T01:18:57.222Z] + grep '^ii' [2023-09-11T01:18:57.222Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-11T01:18:57.222Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-11T01:18:57.222Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-11T01:18:57.222Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-11T01:18:57.222Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-09-11T01:18:57.222Z] + 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-09-11T01:18:57.231Z] 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-09-11T01:18:57.506Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:18:58.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T01:18:58.065Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:18:58.137Z] prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container [2023-09-11T01:18:58.183Z] $ 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-09-11T01:18:58.460Z] $ docker top 6a6a59163d91ff38b41faa37e65a5d8b69d1b3ad7244212a842b4d5baeb8bfa5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:18:58.784Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-11T01:18:59.071Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-11T01:18:59.355Z] + ls /var/log/sa-host [2023-09-11T01:18:59.355Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:18:59.414Z] provisioning config files... [2023-09-11T01:18:59.422Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10941771772119355819tmp [Pipeline] { [Pipeline] echo [2023-09-11T01:18:59.438Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:18:59.722Z] ---> create-netrc.sh [Pipeline] } [2023-09-11T01:18:59.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:19:00.051Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-11T01:19:00.059Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:19:00.335Z] ---> sudo-logs.sh [2023-09-11T01:19:00.335Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-11T01:19:00.359Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:19:00.639Z] ---> job-cost.sh [2023-09-11T01:19:00.639Z] lf-activate-venv: SKIPPING [2023-09-11T01:19:00.639Z] DEBUG: total: 0.2199999988079071 [2023-09-11T01:19:00.639Z] INFO: Retrieving Stack Cost... [2023-09-11T01:19:00.898Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-11T01:19:01.466Z] INFO: Archiving Costs [Pipeline] echo [2023-09-11T01:19:01.477Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:19:01.825Z] ---> logs-deploy.sh [2023-09-11T01:19:01.825Z] lf-activate-venv: SKIPPING [2023-09-11T01:19:01.825Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/130 [2023-09-11T01:19:01.825Z] INFO: archiving workspace using pattern(s): [2023-09-11T01:19:02.758Z] Archives upload complete. [2023-09-11T01:19:02.758Z] INFO: archiving logs to Nexus