Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d 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-ssh2180576410423963861.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7283700519367741743.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10692586807211386903.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5019433012786384413.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-ssh4367060107754960991.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.18 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 ‘prd-centos7-blackbox-4c-2g-2429’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-2430’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-2742’ is offline ‘prd-ubuntu20.04-docker-8c-8g-2746’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-2743’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-2745’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2748 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 > 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 Avoid second fetch Checking out Revision 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (main) Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#238)" > git config core.sparsecheckout # timeout=10 > git checkout -f 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 > git rev-list --no-walk 6fa13eb64575055365d964780e4ff33f2e866ca2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-17T17:32:28.833Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-17T17:32:28.893Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-17T17:32:28.909Z] ========================================================= [2023-01-17T17:32:28.909Z] EdgeX Global Pipelines Version Info [2023-01-17T17:32:28.909Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:32:29.640Z] ------------------- [2023-01-17T17:32:29.640Z] stable info: [2023-01-17T17:32:29.640Z] ------------------- [2023-01-17T17:32:29.640Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-17T17:32:29.640Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T17:32:29.640Z] Message: update stable to v1.0.244 [2023-01-17T17:32:30.211Z] ------------------- [2023-01-17T17:32:30.211Z] experimental info: [2023-01-17T17:32:30.211Z] ------------------- [2023-01-17T17:32:30.211Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-17T17:32:30.211Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T17:32:30.211Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-17T17:32:30.383Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-17T17:32:30.393Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-17T17:32:30.407Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-17T17:32:30.420Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-17T17:32:30.437Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-17T17:32:30.452Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-17T17:32:30.462Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-17T17:32:30.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-17T17:32:30.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-17T17:32:30.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-17T17:32:30.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-17T17:32:30.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-17T17:32:30.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-17T17:32:30.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-17T17:32:30.544Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T17:32:30.552Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T17:32:30.560Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T17:32:30.569Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T17:32:30.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-17T17:32:30.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-17T17:32:30.604Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-17T17:32:30.616Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-17T17:32:30.627Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-17T17:32:30.637Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-17T17:32:30.648Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-17T17:32:30.659Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-17T17:32:30.673Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-17T17:32:30.685Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-17T17:32:30.701Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-17T17:32:30.715Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-17T17:32:30.725Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] echo [2023-01-17T17:32:30.738Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d8e6f5 [Pipeline] echo [2023-01-17T17:32:30.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:32:30.795Z] provisioning config files... [2023-01-17T17:32:30.809Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12589097367271248718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:32:31.113Z] ---> docker-login.sh [2023-01-17T17:32:31.113Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:32:31.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:31.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:31.691Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:31.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:31.691Z] [2023-01-17T17:32:31.691Z] Login Succeeded [2023-01-17T17:32:31.691Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:32:31.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:31.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:31.953Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:31.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:31.953Z] [2023-01-17T17:32:31.953Z] Login Succeeded [2023-01-17T17:32:31.953Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:32:31.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:31.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:31.953Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:31.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:31.953Z] [2023-01-17T17:32:31.953Z] Login Succeeded [2023-01-17T17:32:31.953Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:32:32.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:32.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:32.215Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:32.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:32.215Z] [2023-01-17T17:32:32.215Z] Login Succeeded [2023-01-17T17:32:32.215Z] docker.io [2023-01-17T17:32:32.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:32.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:32.477Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:32.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:32.477Z] [2023-01-17T17:32:32.477Z] Login Succeeded [2023-01-17T17:32:32.477Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:32:32.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-17T17:32:32.849Z] + git rev-list -1 --merges 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d~1..7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] echo [2023-01-17T17:32:32.912Z] -----------> git rev-list -1 --merges 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d~1..7d8e6f5ecbf08d53345d5c199887d0d319da1d2d 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [false] [Pipeline] sh [2023-01-17T17:32:33.207Z] + git log --format=format:%s -1 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] echo [2023-01-17T17:32:33.220Z] ========================================================= [2023-01-17T17:32:33.220Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-17T17:32:33.220Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:32:33.534Z] + git log --format=format:%s -1 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] echo [2023-01-17T17:32:33.546Z] [semverPrep] GIT_COMMIT: 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d, Commit Message: refactor(snap)!: Drop the support for legacy snap env options (#238) [Pipeline] echo [2023-01-17T17:32:33.555Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-17T17:32:33.890Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:32:33.890Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-17T17:32:33.890Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-17T17:32:33.890Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-17T17:32:33.890Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-17T17:32:33.890Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-17T17:32:33.890Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:32:34.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:32:34.243Z] [2023-01-17T17:32:34.243Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:32:34.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:32:34.548Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-17T17:32:34.548Z] b85a868b505f: Pulling fs layer [2023-01-17T17:32:34.548Z] e2be974225ed: Pulling fs layer [2023-01-17T17:32:34.548Z] 339a4e72a1f5: Pulling fs layer [2023-01-17T17:32:34.548Z] 988bab9f4d93: Pulling fs layer [2023-01-17T17:32:34.548Z] 1469e6f7b9e6: Pulling fs layer [2023-01-17T17:32:34.548Z] eaf3925da568: Pulling fs layer [2023-01-17T17:32:34.548Z] bab4dde63d76: Pulling fs layer [2023-01-17T17:32:34.548Z] bde34c3a00c8: Pulling fs layer [2023-01-17T17:32:34.548Z] b352a97aabf1: Pulling fs layer [2023-01-17T17:32:34.548Z] 4872d77fe225: Pulling fs layer [2023-01-17T17:32:34.548Z] 5851b861e8e6: Pulling fs layer [2023-01-17T17:32:34.548Z] bab4dde63d76: Waiting [2023-01-17T17:32:34.548Z] bde34c3a00c8: Waiting [2023-01-17T17:32:34.548Z] b352a97aabf1: Waiting [2023-01-17T17:32:34.548Z] 4872d77fe225: Waiting [2023-01-17T17:32:34.548Z] 5851b861e8e6: Waiting [2023-01-17T17:32:34.548Z] 988bab9f4d93: Waiting [2023-01-17T17:32:34.548Z] 1469e6f7b9e6: Waiting [2023-01-17T17:32:34.548Z] eaf3925da568: Waiting [2023-01-17T17:32:34.814Z] e2be974225ed: Download complete [2023-01-17T17:32:34.814Z] 988bab9f4d93: Download complete [2023-01-17T17:32:35.075Z] 339a4e72a1f5: Verifying Checksum [2023-01-17T17:32:35.075Z] 339a4e72a1f5: Download complete [2023-01-17T17:32:35.075Z] eaf3925da568: Verifying Checksum [2023-01-17T17:32:35.075Z] eaf3925da568: Download complete [2023-01-17T17:32:35.075Z] b85a868b505f: Download complete [2023-01-17T17:32:35.075Z] bde34c3a00c8: Verifying Checksum [2023-01-17T17:32:35.075Z] bde34c3a00c8: Download complete [2023-01-17T17:32:35.075Z] 1469e6f7b9e6: Verifying Checksum [2023-01-17T17:32:35.075Z] 1469e6f7b9e6: Download complete [2023-01-17T17:32:35.075Z] 4872d77fe225: Verifying Checksum [2023-01-17T17:32:35.075Z] 4872d77fe225: Download complete [2023-01-17T17:32:35.075Z] 5851b861e8e6: Verifying Checksum [2023-01-17T17:32:35.075Z] 5851b861e8e6: Download complete [2023-01-17T17:32:35.075Z] b352a97aabf1: Verifying Checksum [2023-01-17T17:32:35.075Z] b352a97aabf1: Download complete [2023-01-17T17:32:35.648Z] bab4dde63d76: Verifying Checksum [2023-01-17T17:32:35.648Z] bab4dde63d76: Download complete [2023-01-17T17:32:36.217Z] b85a868b505f: Pull complete [2023-01-17T17:32:36.475Z] e2be974225ed: Pull complete [2023-01-17T17:32:37.049Z] 339a4e72a1f5: Pull complete [2023-01-17T17:32:37.049Z] 988bab9f4d93: Pull complete [2023-01-17T17:32:37.309Z] 1469e6f7b9e6: Pull complete [2023-01-17T17:32:37.567Z] eaf3925da568: Pull complete [2023-01-17T17:32:39.470Z] bab4dde63d76: Pull complete [2023-01-17T17:32:39.470Z] bde34c3a00c8: Pull complete [2023-01-17T17:32:39.470Z] b352a97aabf1: Pull complete [2023-01-17T17:32:39.728Z] 4872d77fe225: Pull complete [2023-01-17T17:32:39.728Z] 5851b861e8e6: Pull complete [2023-01-17T17:32:39.728Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-17T17:32:39.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:32:39.728Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:32:39.810Z] prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container [2023-01-17T17:32:39.842Z] $ 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-01-17T17:32:41.947Z] $ docker top fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 -eo pid,comm [2023-01-17T17:32:42.003Z] 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-01-17T17:32:42.003Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:32:42.031Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:32:42.031Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:32:42.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:32:42.156Z] $ docker exec fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 ssh-agent [2023-01-17T17:32:42.267Z] SSH_AUTH_SOCK=/tmp/ssh-B1EFAOdmFUmz/agent.31 [2023-01-17T17:32:42.267Z] SSH_AGENT_PID=37 [2023-01-17T17:32:42.274Z] Running ssh-add (command line suppressed) [2023-01-17T17:32:42.393Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7922323715846191932.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7922323715846191932.key) [2023-01-17T17:32:42.404Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:32:42.695Z] + git tag --points-at HEAD [Pipeline] } [2023-01-17T17:32:42.711Z] $ docker exec --env ******** --env ******** fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 ssh-agent -k [2023-01-17T17:32:42.817Z] unset SSH_AUTH_SOCK; [2023-01-17T17:32:42.817Z] unset SSH_AGENT_PID; [2023-01-17T17:32:42.817Z] echo Agent pid 37 killed; [2023-01-17T17:32:42.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-17T17:32:42.847Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:32:42.847Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:32:42.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:32:42.970Z] $ docker exec fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 ssh-agent [2023-01-17T17:32:43.075Z] SSH_AUTH_SOCK=/tmp/ssh-oFxPFCixYquB/agent.69 [2023-01-17T17:32:43.075Z] SSH_AGENT_PID=75 [2023-01-17T17:32:43.080Z] Running ssh-add (command line suppressed) [2023-01-17T17:32:43.186Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8037036680588028467.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8037036680588028467.key) [2023-01-17T17:32:43.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:32:43.482Z] + git semver init [2023-01-17T17:32:43.740Z] 2023-01-17 17:32:43,668 [run_init] DEBUG init version:0.0.0 force:False [2023-01-17T17:32:43.740Z] 2023-01-17 17:32:43,669 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-01-17T17:32:43.740Z] 2023-01-17 17:32:43,669 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-01-17T17:32:43.740Z] 2023-01-17 17:32:43,669 [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-01-17T17:32:45.117Z] 2023-01-17 17:32:44,694 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-01-17T17:32:45.117Z] 2023-01-17 17:32:44,695 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-01-17T17:32:45.117Z] 2023-01-17 17:32:44,695 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-17T17:32:45.117Z] 2023-01-17 17:32:44,695 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-17T17:32:45.117Z] 3.0.0-dev.6 [Pipeline] } [2023-01-17T17:32:45.132Z] $ docker exec --env ******** --env ******** fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 ssh-agent -k [2023-01-17T17:32:45.227Z] unset SSH_AUTH_SOCK; [2023-01-17T17:32:45.227Z] unset SSH_AGENT_PID; [2023-01-17T17:32:45.227Z] echo Agent pid 75 killed; [2023-01-17T17:32:45.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:32:45.543Z] + git semver [Pipeline] } [2023-01-17T17:32:45.819Z] $ docker stop --time=1 fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 [2023-01-17T17:32:47.155Z] $ docker rm -f --volumes fb2947b178fafe7cbb2821f5e92f27eb274b6b80a02bf4f1907c88ecda1a4fe4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:32:47.552Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-17T17:32:47.776Z] Stashed 1 file(s) [Pipeline] echo [2023-01-17T17:32:47.778Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [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-01-17T17:32:47.917Z] provisioning config files... [2023-01-17T17:32:47.927Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10463529273086307560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:32:48.222Z] ---> docker-login.sh [2023-01-17T17:32:48.222Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:32:48.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:48.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:48.222Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:48.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:48.222Z] [2023-01-17T17:32:48.222Z] Login Succeeded [2023-01-17T17:32:48.222Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:32:48.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:48.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:48.494Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:48.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:48.494Z] [2023-01-17T17:32:48.494Z] Login Succeeded [2023-01-17T17:32:48.494Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:32:48.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:48.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:48.494Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:48.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:48.494Z] [2023-01-17T17:32:48.494Z] Login Succeeded [2023-01-17T17:32:48.494Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:32:48.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:48.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:48.494Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:48.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:48.494Z] [2023-01-17T17:32:48.494Z] Login Succeeded [2023-01-17T17:32:48.494Z] docker.io [2023-01-17T17:32:48.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:49.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:49.013Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:49.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:49.013Z] [2023-01-17T17:32:49.013Z] Login Succeeded [2023-01-17T17:32:49.013Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:32:49.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T17:32:49.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:32:49.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:32:49.121Z] ========================================================= [2023-01-17T17:32:49.121Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-17T17:32:49.121Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:32:49.441Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-17T17:32:49.441Z] Sending build context to Docker daemon 10.79MB [2023-01-17T17:32:49.441Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:32:49.441Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-17T17:32:49.710Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-17T17:32:49.710Z] 213ec9aee27d: Pulling fs layer [2023-01-17T17:32:49.710Z] 4583459ba037: Pulling fs layer [2023-01-17T17:32:49.710Z] 93c1e223e6f2: Pulling fs layer [2023-01-17T17:32:49.710Z] 53926ce57604: Pulling fs layer [2023-01-17T17:32:49.710Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-17T17:32:49.710Z] 22ff95d597cd: Pulling fs layer [2023-01-17T17:32:49.710Z] 12d6caf4c0d1: Pulling fs layer [2023-01-17T17:32:49.710Z] 96b7cbca73a9: Pulling fs layer [2023-01-17T17:32:49.710Z] a7acece74701: Pulling fs layer [2023-01-17T17:32:49.710Z] 53926ce57604: Waiting [2023-01-17T17:32:49.710Z] 21b2b0c7a3f4: Waiting [2023-01-17T17:32:49.710Z] 22ff95d597cd: Waiting [2023-01-17T17:32:49.710Z] 12d6caf4c0d1: Waiting [2023-01-17T17:32:49.710Z] a7acece74701: Waiting [2023-01-17T17:32:49.710Z] 96b7cbca73a9: Waiting [2023-01-17T17:32:49.710Z] 93c1e223e6f2: Download complete [2023-01-17T17:32:49.710Z] 4583459ba037: Download complete [2023-01-17T17:32:49.710Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-17T17:32:49.710Z] 21b2b0c7a3f4: Download complete [2023-01-17T17:32:49.710Z] 22ff95d597cd: Verifying Checksum [2023-01-17T17:32:49.710Z] 22ff95d597cd: Download complete [2023-01-17T17:32:49.710Z] 213ec9aee27d: Verifying Checksum [2023-01-17T17:32:49.710Z] 213ec9aee27d: Download complete [2023-01-17T17:32:49.710Z] 12d6caf4c0d1: Download complete [2023-01-17T17:32:49.986Z] 213ec9aee27d: Pull complete [2023-01-17T17:32:49.986Z] 4583459ba037: Pull complete [2023-01-17T17:32:50.274Z] 93c1e223e6f2: Pull complete [2023-01-17T17:32:51.344Z] a7acece74701: Verifying Checksum [2023-01-17T17:32:51.344Z] a7acece74701: Download complete [2023-01-17T17:32:51.344Z] 53926ce57604: Verifying Checksum [2023-01-17T17:32:51.344Z] 53926ce57604: Download complete [2023-01-17T17:32:51.608Z] 96b7cbca73a9: Verifying Checksum [2023-01-17T17:32:51.608Z] 96b7cbca73a9: Download complete [2023-01-17T17:32:55.794Z] 53926ce57604: Pull complete [2023-01-17T17:32:55.794Z] 21b2b0c7a3f4: Pull complete [2023-01-17T17:32:55.794Z] 22ff95d597cd: Pull complete [2023-01-17T17:32:55.794Z] 12d6caf4c0d1: Pull complete [2023-01-17T17:32:58.324Z] 96b7cbca73a9: Pull complete [2023-01-17T17:32:58.890Z] a7acece74701: Pull complete [2023-01-17T17:32:58.890Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-17T17:32:58.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-17T17:32:58.890Z] ---> db6d94c90886 [2023-01-17T17:32:58.890Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:33:02.181Z] ---> Running in dfc33a22eafd [2023-01-17T17:33:02.181Z] Removing intermediate container dfc33a22eafd [2023-01-17T17:33:02.181Z] ---> fb096443da00 [2023-01-17T17:33:02.181Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:33:02.181Z] ---> Running in 9a552dc42b9b [2023-01-17T17:33:02.443Z] Removing intermediate container 9a552dc42b9b [2023-01-17T17:33:02.443Z] ---> 4cf765a3ba77 [2023-01-17T17:33:02.443Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-17T17:33:02.443Z] ---> Running in 99825ff36d75 [2023-01-17T17:33:02.703Z] Removing intermediate container 99825ff36d75 [2023-01-17T17:33:02.703Z] ---> 20b4aff7560f [2023-01-17T17:33:02.703Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:33:02.871Z] Still waiting to schedule task [2023-01-17T17:33:02.872Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2745’ [2023-01-17T17:33:02.966Z] ---> Running in cc8485a158d3 [2023-01-17T17:33:02.966Z] Removing intermediate container cc8485a158d3 [2023-01-17T17:33:02.966Z] ---> 17468e7eabba [2023-01-17T17:33:02.966Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:33:02.966Z] ---> Running in 164b9e134495 [2023-01-17T17:33:03.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:33:03.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:33:03.795Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-17T17:33:03.795Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-17T17:33:03.795Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-17T17:33:03.795Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-17T17:33:03.795Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:33:03.795Z] OK: 216 MiB in 55 packages [2023-01-17T17:33:04.371Z] Removing intermediate container 164b9e134495 [2023-01-17T17:33:04.371Z] ---> 4daf45f0415c [2023-01-17T17:33:04.371Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-17T17:33:04.634Z] ---> Running in 2127abad5230 [2023-01-17T17:33:04.634Z] Removing intermediate container 2127abad5230 [2023-01-17T17:33:04.634Z] ---> 04047743185d [2023-01-17T17:33:04.634Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-17T17:33:04.892Z] ---> 89e651b4514d [2023-01-17T17:33:04.892Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:33:04.892Z] ---> Running in cec405ce2d7a [2023-01-17T17:33:26.837Z] Removing intermediate container cec405ce2d7a [2023-01-17T17:33:26.837Z] ---> 05e0233dbf72 [2023-01-17T17:33:26.837Z] Step 11/12 : COPY . . [2023-01-17T17:33:26.837Z] ---> 569ed6006c60 [2023-01-17T17:33:26.837Z] Step 12/12 : RUN $MAKE [2023-01-17T17:33:26.837Z] ---> Running in 5bf42ad3c2a8 [2023-01-17T17:33:27.098Z] noop [2023-01-17T17:33:27.357Z] Removing intermediate container 5bf42ad3c2a8 [2023-01-17T17:33:27.357Z] ---> 355c4254e73d [2023-01-17T17:33:27.357Z] Successfully built 355c4254e73d [2023-01-17T17:33:27.357Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:27.670Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T17:33:27.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:33:27.739Z] prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container [2023-01-17T17:33:27.767Z] $ 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-01-17T17:33:28.148Z] $ docker top d63f5e46212fa50839a40cbd1895120e80cdc307280bb085ff01fe3c8ab04a46 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:33:28.494Z] + go version [2023-01-17T17:33:28.494Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-17T17:33:28.512Z] $ docker stop --time=1 d63f5e46212fa50839a40cbd1895120e80cdc307280bb085ff01fe3c8ab04a46 [2023-01-17T17:33:29.796Z] $ docker rm -f --volumes d63f5e46212fa50839a40cbd1895120e80cdc307280bb085ff01fe3c8ab04a46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:30.226Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T17:33:30.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:33:30.296Z] prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container [2023-01-17T17:33:30.331Z] $ 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-01-17T17:33:30.689Z] $ docker top eba3ad16b8ea988a2549da2624e90a22e7c627d7183a42417cd901c06d440a9d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:33:31.028Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-01-17T17:33:31.319Z] + make test [2023-01-17T17:33:31.319Z] go test ./... -coverprofile=coverage.out ./... [2023-01-17T17:33:31.578Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-17T17:33:41.547Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-17T17:33:41.547Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2023-01-17T17:33:49.671Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-17T17:33:49.671Z] go vet ./... [2023-01-17T17:33:52.952Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-17T17:33:52.952Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-17T17:33:52.952Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-17T17:33:52.964Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-17T17:33:52.979Z] $ docker stop --time=1 eba3ad16b8ea988a2549da2624e90a22e7c627d7183a42417cd901c06d440a9d [2023-01-17T17:33:55.539Z] $ docker rm -f --volumes eba3ad16b8ea988a2549da2624e90a22e7c627d7183a42417cd901c06d440a9d [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:33:55.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-17T17:33:56.034Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-17T17:33:56.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-17T17:33:56.757Z] + ls -al . [2023-01-17T17:33:56.758Z] total 188 [2023-01-17T17:33:56.758Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 17:33 . [2023-01-17T17:33:56.758Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:32 .. [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 17 17:32 .dockerignore [2023-01-17T17:33:56.758Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:33 .git [2023-01-17T17:33:56.758Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:32 .github [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 17 17:32 .gitignore [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:32 .golangci.yml [2023-01-17T17:33:56.758Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:32 .semver [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 17 17:32 Attribution.txt [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 17 17:32 CHANGELOG.md [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 17 17:32 Dockerfile [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:32 GOVERNANCE.md [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 17 17:32 Jenkinsfile [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:32 LICENSE [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 17 17:32 Makefile [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 17:32 OWNERS.md [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 17 17:32 README.md [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:32 VERSION [2023-01-17T17:33:56.758Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:32 bin [2023-01-17T17:33:56.758Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:32 cmd [2023-01-17T17:33:56.758Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 17 17:33 coverage.out [2023-01-17T17:33:56.758Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:32 driver [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 17 17:32 go.mod [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 17 17:32 go.sum [2023-01-17T17:33:56.758Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:32 snap [2023-01-17T17:33:56.758Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 17 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:57.059Z] + 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=7d8e6f5ecbf08d53345d5c199887d0d319da1d2d --label arch=amd64 --label version=3.0.0-dev.6 . [2023-01-17T17:33:57.059Z] Sending build context to Docker daemon 10.8MB [2023-01-17T17:33:57.059Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:33:57.059Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-17T17:33:57.059Z] ---> 355c4254e73d [2023-01-17T17:33:57.059Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:33:57.318Z] ---> Running in 56406c5cc175 [2023-01-17T17:33:57.318Z] Removing intermediate container 56406c5cc175 [2023-01-17T17:33:57.318Z] ---> fa3b15ff77fc [2023-01-17T17:33:57.318Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:33:57.318Z] ---> Running in da9cec4e23fc [2023-01-17T17:33:57.578Z] Removing intermediate container da9cec4e23fc [2023-01-17T17:33:57.578Z] ---> ef0ad879b75a [2023-01-17T17:33:57.578Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-17T17:33:57.578Z] ---> Running in 2b81167efb27 [2023-01-17T17:33:57.578Z] Removing intermediate container 2b81167efb27 [2023-01-17T17:33:57.578Z] ---> cdd7fca33dde [2023-01-17T17:33:57.578Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:33:57.578Z] ---> Running in 4f68b2d1e7fd [2023-01-17T17:33:57.838Z] Removing intermediate container 4f68b2d1e7fd [2023-01-17T17:33:57.838Z] ---> dcfe4ac613c0 [2023-01-17T17:33:57.838Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:33:57.838Z] ---> Running in 1e47602ce761 [2023-01-17T17:33:58.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:33:58.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:33:58.358Z] OK: 216 MiB in 55 packages [2023-01-17T17:33:58.930Z] Removing intermediate container 1e47602ce761 [2023-01-17T17:33:58.930Z] ---> 5c03d9b87388 [2023-01-17T17:33:58.930Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-17T17:33:58.930Z] ---> Running in f73d197127fa [2023-01-17T17:33:58.930Z] Removing intermediate container f73d197127fa [2023-01-17T17:33:58.930Z] ---> 5a4599e14fdb [2023-01-17T17:33:58.930Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-17T17:33:59.193Z] ---> 578234d973f9 [2023-01-17T17:33:59.193Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:33:59.193Z] ---> Running in 3f27e8cac797 [2023-01-17T17:33:59.760Z] Removing intermediate container 3f27e8cac797 [2023-01-17T17:33:59.760Z] ---> a3c1a4d356e2 [2023-01-17T17:33:59.760Z] Step 11/25 : COPY . . [2023-01-17T17:34:00.186Z] ---> 2eaf15f2dcc0 [2023-01-17T17:34:00.186Z] Step 12/25 : RUN $MAKE [2023-01-17T17:34:00.186Z] ---> Running in a38aa67ff3fe [2023-01-17T17:34:00.446Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-01-17T17:34:22.575Z] Removing intermediate container a38aa67ff3fe [2023-01-17T17:34:22.575Z] ---> 9d8e9dd5d415 [2023-01-17T17:34:22.575Z] Step 13/25 : FROM alpine:3.16 [2023-01-17T17:34:22.575Z] 3.16: Pulling from library/alpine [2023-01-17T17:34:22.575Z] ca7dd9ec2225: Pulling fs layer [2023-01-17T17:34:22.575Z] ca7dd9ec2225: Verifying Checksum [2023-01-17T17:34:22.575Z] ca7dd9ec2225: Download complete [2023-01-17T17:34:22.575Z] ca7dd9ec2225: Pull complete [2023-01-17T17:34:22.575Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-17T17:34:22.575Z] Status: Downloaded newer image for alpine:3.16 [2023-01-17T17:34:22.575Z] ---> bfe296a52501 [2023-01-17T17:34:22.575Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-17T17:34:22.833Z] ---> Running in 767da8529351 [2023-01-17T17:34:23.092Z] Removing intermediate container 767da8529351 [2023-01-17T17:34:23.092Z] ---> d40605eb79ac [2023-01-17T17:34:23.092Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-17T17:34:23.350Z] ---> Running in 8397fb998487 [2023-01-17T17:34:23.350Z] Removing intermediate container 8397fb998487 [2023-01-17T17:34:23.350Z] ---> 6c2d8aff5fcf [2023-01-17T17:34:23.350Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-17T17:34:23.350Z] ---> Running in 1089ecc2ce6a [2023-01-17T17:34:23.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:34:23.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:34:24.122Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-17T17:34:24.122Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:34:24.122Z] OK: 6 MiB in 15 packages [2023-01-17T17:34:24.691Z] Removing intermediate container 1089ecc2ce6a [2023-01-17T17:34:24.691Z] ---> 85a898730d72 [2023-01-17T17:34:24.691Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-17T17:34:25.258Z] ---> a15a6a65feb9 [2023-01-17T17:34:25.258Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-17T17:34:25.258Z] ---> 0c0d86f7fa6b [2023-01-17T17:34:25.258Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-17T17:34:25.522Z] ---> 98b3dc05d251 [2023-01-17T17:34:25.522Z] Step 20/25 : EXPOSE 59986 [2023-01-17T17:34:25.522Z] ---> Running in 51012ea238c2 [2023-01-17T17:34:25.522Z] Removing intermediate container 51012ea238c2 [2023-01-17T17:34:25.522Z] ---> c3c7fd96fd4d [2023-01-17T17:34:25.522Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-17T17:34:25.522Z] ---> Running in ba552203121e [2023-01-17T17:34:25.522Z] Removing intermediate container ba552203121e [2023-01-17T17:34:25.522Z] ---> 412b557258b9 [2023-01-17T17:34:25.522Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-17T17:34:25.782Z] ---> Running in f6833c34a867 [2023-01-17T17:34:25.782Z] Removing intermediate container f6833c34a867 [2023-01-17T17:34:25.782Z] ---> 7fca478fd67c [2023-01-17T17:34:25.782Z] Step 23/25 : LABEL arch=amd64 [2023-01-17T17:34:25.782Z] ---> Running in d36c11db8f15 [2023-01-17T17:34:25.782Z] Removing intermediate container d36c11db8f15 [2023-01-17T17:34:25.782Z] ---> 996946a88485 [2023-01-17T17:34:25.782Z] Step 24/25 : LABEL git_sha=7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [2023-01-17T17:34:26.040Z] ---> Running in b4afe983cd89 [2023-01-17T17:34:26.040Z] Removing intermediate container b4afe983cd89 [2023-01-17T17:34:26.041Z] ---> 0fc9ecbc0955 [2023-01-17T17:34:26.041Z] Step 25/25 : LABEL version=3.0.0-dev.6 [2023-01-17T17:34:26.041Z] ---> Running in 02ab8aaa49ff [2023-01-17T17:34:26.315Z] Removing intermediate container 02ab8aaa49ff [2023-01-17T17:34:26.315Z] ---> aa2f2fca1e96 [2023-01-17T17:34:26.315Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-17T17:34:26.315Z] Successfully built aa2f2fca1e96 [2023-01-17T17:34:26.573Z] 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-01-17T17:34:26.677Z] provisioning config files... [2023-01-17T17:34:26.686Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config918969703451705888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:34:26.982Z] ---> docker-login.sh [2023-01-17T17:34:26.982Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:34:26.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:26.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:26.982Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:26.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:26.982Z] [2023-01-17T17:34:26.982Z] Login Succeeded [2023-01-17T17:34:26.982Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:34:26.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:26.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:26.982Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:26.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:26.982Z] [2023-01-17T17:34:26.982Z] Login Succeeded [2023-01-17T17:34:26.982Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:34:27.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:27.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:27.241Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:27.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:27.241Z] [2023-01-17T17:34:27.241Z] Login Succeeded [2023-01-17T17:34:27.241Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:34:27.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:27.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:27.241Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:27.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:27.241Z] [2023-01-17T17:34:27.241Z] Login Succeeded [2023-01-17T17:34:27.241Z] docker.io [2023-01-17T17:34:27.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:27.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:27.500Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:27.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:27.500Z] [2023-01-17T17:34:27.500Z] Login Succeeded [2023-01-17T17:34:27.500Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:34:27.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:34:27.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:34:27.585Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-01-17T17:34:27.585Z] 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [2023-01-17T17:34:27.585Z] latest [2023-01-17T17:34:27.585Z] 3.0.0-dev.6 [2023-01-17T17:34:27.585Z] 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 [2023-01-17T17:34:27.585Z] main [2023-01-17T17:34:27.585Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:27.899Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:28.213Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [2023-01-17T17:34:28.213Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-01-17T17:34:28.213Z] 5a4142678dd6: Preparing [2023-01-17T17:34:28.213Z] 1b36f662e3d9: Preparing [2023-01-17T17:34:28.213Z] a65a96879c4c: Preparing [2023-01-17T17:34:28.213Z] a013c76add79: Preparing [2023-01-17T17:34:28.213Z] e5e13b0c77cb: Preparing [2023-01-17T17:34:28.213Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:34:28.213Z] 1b36f662e3d9: Pushed [2023-01-17T17:34:28.213Z] 5a4142678dd6: Pushed [2023-01-17T17:34:28.213Z] a013c76add79: Pushed [2023-01-17T17:34:30.750Z] a65a96879c4c: Pushed [2023-01-17T17:34:30.750Z] 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d: digest: sha256:ce085235544f88853de280b3a91c8bed224915b7d62ec1996f5e3c49ec1e1523 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:31.072Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:31.385Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-01-17T17:34:31.385Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-01-17T17:34:31.385Z] 5a4142678dd6: Preparing [2023-01-17T17:34:31.385Z] 1b36f662e3d9: Preparing [2023-01-17T17:34:31.385Z] a65a96879c4c: Preparing [2023-01-17T17:34:31.385Z] a013c76add79: Preparing [2023-01-17T17:34:31.385Z] e5e13b0c77cb: Preparing [2023-01-17T17:34:31.385Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:34:31.385Z] a65a96879c4c: Layer already exists [2023-01-17T17:34:31.385Z] a013c76add79: Layer already exists [2023-01-17T17:34:31.385Z] 5a4142678dd6: Layer already exists [2023-01-17T17:34:31.385Z] 1b36f662e3d9: Layer already exists [2023-01-17T17:34:31.385Z] latest: digest: sha256:ce085235544f88853de280b3a91c8bed224915b7d62ec1996f5e3c49ec1e1523 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:31.700Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:32.015Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.6 [2023-01-17T17:34:32.015Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-01-17T17:34:32.015Z] 5a4142678dd6: Preparing [2023-01-17T17:34:32.015Z] 1b36f662e3d9: Preparing [2023-01-17T17:34:32.015Z] a65a96879c4c: Preparing [2023-01-17T17:34:32.015Z] a013c76add79: Preparing [2023-01-17T17:34:32.015Z] e5e13b0c77cb: Preparing [2023-01-17T17:34:32.015Z] a013c76add79: Layer already exists [2023-01-17T17:34:32.015Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:34:32.015Z] 1b36f662e3d9: Layer already exists [2023-01-17T17:34:32.015Z] 5a4142678dd6: Layer already exists [2023-01-17T17:34:32.015Z] a65a96879c4c: Layer already exists [2023-01-17T17:34:32.015Z] 3.0.0-dev.6: digest: sha256:ce085235544f88853de280b3a91c8bed224915b7d62ec1996f5e3c49ec1e1523 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:32.329Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:32.646Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 [2023-01-17T17:34:32.646Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-01-17T17:34:32.646Z] 5a4142678dd6: Preparing [2023-01-17T17:34:32.646Z] 1b36f662e3d9: Preparing [2023-01-17T17:34:32.646Z] a65a96879c4c: Preparing [2023-01-17T17:34:32.646Z] a013c76add79: Preparing [2023-01-17T17:34:32.646Z] e5e13b0c77cb: Preparing [2023-01-17T17:34:32.646Z] 5a4142678dd6: Layer already exists [2023-01-17T17:34:32.646Z] a65a96879c4c: Layer already exists [2023-01-17T17:34:32.646Z] a013c76add79: Layer already exists [2023-01-17T17:34:32.646Z] 1b36f662e3d9: Layer already exists [2023-01-17T17:34:32.646Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:34:32.646Z] 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6: digest: sha256:ce085235544f88853de280b3a91c8bed224915b7d62ec1996f5e3c49ec1e1523 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:32.961Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:33.353Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-01-17T17:34:33.353Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-01-17T17:34:33.353Z] 5a4142678dd6: Preparing [2023-01-17T17:34:33.353Z] 1b36f662e3d9: Preparing [2023-01-17T17:34:33.353Z] a65a96879c4c: Preparing [2023-01-17T17:34:33.353Z] a013c76add79: Preparing [2023-01-17T17:34:33.353Z] e5e13b0c77cb: Preparing [2023-01-17T17:34:33.353Z] a013c76add79: Layer already exists [2023-01-17T17:34:34.318Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:34:34.318Z] 5a4142678dd6: Layer already exists [2023-01-17T17:34:34.577Z] a65a96879c4c: Layer already exists [2023-01-17T17:34:34.577Z] 1b36f662e3d9: Layer already exists [2023-01-17T17:34:35.513Z] main: digest: sha256:ce085235544f88853de280b3a91c8bed224915b7d62ec1996f5e3c49ec1e1523 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:34:35.565Z] ===================================================== [Pipeline] echo [2023-01-17T17:34:35.575Z] taggedImages: [2023-01-17T17:34:35.575Z] - nexus3.edgexfoundry.org:10004/device-rest:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [2023-01-17T17:34:35.575Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-01-17T17:34:35.575Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.6 [2023-01-17T17:34:35.575Z] - nexus3.edgexfoundry.org:10004/device-rest:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 [2023-01-17T17:34:35.575Z] - 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-01-17T17:34:35.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:34:35.930Z] [2023-01-17T17:34:35.930Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:36.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:34:36.230Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-17T17:34:36.230Z] 5eb5b503b376: Pulling fs layer [2023-01-17T17:34:36.230Z] 5c69ac0246d0: Pulling fs layer [2023-01-17T17:34:36.230Z] ec43610c2a17: Pulling fs layer [2023-01-17T17:34:36.230Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-17T17:34:36.230Z] 33b1e0a273af: Pulling fs layer [2023-01-17T17:34:36.230Z] 5d3b04190fa2: Pulling fs layer [2023-01-17T17:34:36.230Z] 2f39f015ded8: Pulling fs layer [2023-01-17T17:34:36.230Z] 3a2ae6a8a46f: Waiting [2023-01-17T17:34:36.230Z] 33b1e0a273af: Waiting [2023-01-17T17:34:36.230Z] 5d3b04190fa2: Waiting [2023-01-17T17:34:36.230Z] 2f39f015ded8: Waiting [2023-01-17T17:34:36.230Z] 5c69ac0246d0: Verifying Checksum [2023-01-17T17:34:36.230Z] 5c69ac0246d0: Download complete [2023-01-17T17:34:36.230Z] 3a2ae6a8a46f: Download complete [2023-01-17T17:34:36.494Z] ec43610c2a17: Verifying Checksum [2023-01-17T17:34:36.494Z] ec43610c2a17: Download complete [2023-01-17T17:34:36.494Z] 33b1e0a273af: Verifying Checksum [2023-01-17T17:34:36.494Z] 33b1e0a273af: Download complete [2023-01-17T17:34:36.494Z] 5d3b04190fa2: Download complete [2023-01-17T17:34:36.764Z] 5eb5b503b376: Verifying Checksum [2023-01-17T17:34:36.764Z] 5eb5b503b376: Download complete [2023-01-17T17:34:38.160Z] 5eb5b503b376: Pull complete [2023-01-17T17:34:38.160Z] 5c69ac0246d0: Pull complete [2023-01-17T17:34:39.095Z] ec43610c2a17: Pull complete [2023-01-17T17:34:39.095Z] 3a2ae6a8a46f: Pull complete [2023-01-17T17:34:39.095Z] 33b1e0a273af: Pull complete [2023-01-17T17:34:39.353Z] 5d3b04190fa2: Pull complete [2023-01-17T17:34:43.540Z] 2f39f015ded8: Pull complete [2023-01-17T17:34:43.540Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-17T17:34:43.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:34:43.540Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:34:43.630Z] prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container [2023-01-17T17:34:43.663Z] $ 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-01-17T17:34:46.907Z] $ docker top e7c99caa24d162655818398734fe024fe89ea8984a9d0205d3f17a6a81b19390 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:34:47.285Z] ---> job-cost.sh [2023-01-17T17:34:47.285Z] lf-activate-venv: SKIPPING [2023-01-17T17:34:47.285Z] INFO: No Stack... [2023-01-17T17:34:47.851Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T17:34:48.110Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T17:34:48.398Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-01-17T17:34:48.398Z] + cut -d, -f6 [Pipeline] lock [2023-01-17T17:34:48.413Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] [2023-01-17T17:34:48.422Z] Resource [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] did not exist. Created. [2023-01-17T17:34:48.422Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T17:34:48.717Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-17T17:34:48.748Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T17:34:48.760Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T17:34:48.779Z] $ docker stop --time=1 e7c99caa24d162655818398734fe024fe89ea8984a9d0205d3f17a6a81b19390 [2023-01-17T17:34:49.958Z] $ docker rm -f --volumes e7c99caa24d162655818398734fe024fe89ea8984a9d0205d3f17a6a81b19390 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-17T17:35:23.593Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2754 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-01-17T17:35:23.608Z] Running in /w/workspace/device-rest-go/78 [Pipeline] { [Pipeline] checkout [2023-01-17T17:35:23.640Z] The recommended git tool is: git [2023-01-17T17:35:30.451Z] using credential edgex-jenkins-ssh [2023-01-17T17:35:30.471Z] Cloning the remote Git repository [2023-01-17T17:35:30.540Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-17T17:35:30.644Z] > git init /w/workspace/device-rest-go/78 # timeout=10 [2023-01-17T17:35:30.859Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-17T17:35:30.861Z] > git --version # timeout=10 [2023-01-17T17:35:30.889Z] > git --version # 'git version 2.25.1' [2023-01-17T17:35:30.891Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-17T17:35:30.966Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T17:35:33.864Z] Avoid second fetch [2023-01-17T17:35:33.864Z] Checking out Revision 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (main) [2023-01-17T17:35:32.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-17T17:35:32.901Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T17:35:33.883Z] > git config core.sparsecheckout # timeout=10 [2023-01-17T17:35:33.901Z] > git checkout -f 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 [2023-01-17T17:35:34.503Z] Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#238)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:35:35.429Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-17T17:35:35.429Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T17:35:35.429Z] Dload Upload Total Spent Left Speed [2023-01-17T17:35:35.429Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-01-17T17:35:36.127Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-17T17:35:36.459Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-17T17:35:36.459Z] + sudo tee /etc/docker/daemon.new [2023-01-17T17:35:36.459Z] { [2023-01-17T17:35:36.459Z] "registry-mirrors": [ [2023-01-17T17:35:36.459Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-17T17:35:36.459Z] ], [2023-01-17T17:35:36.459Z] "bip": "10.250.0.254/24", [2023-01-17T17:35:36.459Z] "hosts": [ [2023-01-17T17:35:36.459Z] "tcp://0.0.0.0:5555", [2023-01-17T17:35:36.459Z] "unix:///var/run/docker.sock" [2023-01-17T17:35:36.459Z] ], [2023-01-17T17:35:36.459Z] "mtu": 1458, [2023-01-17T17:35:36.459Z] "selinux-enabled": true, [2023-01-17T17:35:36.459Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-17T17:35:36.459Z] } [Pipeline] sh [2023-01-17T17:35:36.801Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-17T17:35:37.144Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:35:55.495Z] provisioning config files... [2023-01-17T17:35:55.534Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/78@tmp/config6834280538572108804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:35:55.920Z] ---> docker-login.sh [2023-01-17T17:35:55.920Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:35:56.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:35:56.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:35:56.516Z] Configure a credential helper to remove this warning. See [2023-01-17T17:35:56.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:35:56.516Z] [2023-01-17T17:35:56.516Z] Login Succeeded [2023-01-17T17:35:56.516Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:35:56.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:35:57.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:35:57.064Z] Configure a credential helper to remove this warning. See [2023-01-17T17:35:57.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:35:57.064Z] [2023-01-17T17:35:57.064Z] Login Succeeded [2023-01-17T17:35:57.064Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:35:57.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:35:57.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:35:57.336Z] Configure a credential helper to remove this warning. See [2023-01-17T17:35:57.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:35:57.336Z] [2023-01-17T17:35:57.336Z] Login Succeeded [2023-01-17T17:35:57.336Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:35:57.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:35:57.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:35:57.931Z] Configure a credential helper to remove this warning. See [2023-01-17T17:35:57.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:35:57.931Z] [2023-01-17T17:35:57.931Z] Login Succeeded [2023-01-17T17:35:57.931Z] docker.io [2023-01-17T17:35:58.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:35:58.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:35:58.474Z] Configure a credential helper to remove this warning. See [2023-01-17T17:35:58.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:35:58.474Z] [2023-01-17T17:35:58.474Z] Login Succeeded [2023-01-17T17:35:58.474Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:35:58.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T17:35:58.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:35:58.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:35:58.876Z] ========================================================= [2023-01-17T17:35:58.876Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-17T17:35:58.876Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:35:59.238Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-17T17:35:59.238Z] Sending build context to Docker daemon 127kB [2023-01-17T17:35:59.514Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:35:59.514Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-17T17:35:59.790Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-17T17:35:59.790Z] 9b18e9b68314: Pulling fs layer [2023-01-17T17:35:59.790Z] 35d82f9e3411: Pulling fs layer [2023-01-17T17:35:59.790Z] e16973657156: Pulling fs layer [2023-01-17T17:35:59.790Z] fc693d55d65f: Pulling fs layer [2023-01-17T17:35:59.790Z] 7e9fc2657dce: Pulling fs layer [2023-01-17T17:35:59.790Z] dda99020689f: Pulling fs layer [2023-01-17T17:35:59.790Z] db1c61fa0a46: Pulling fs layer [2023-01-17T17:35:59.790Z] 891c053d2c06: Pulling fs layer [2023-01-17T17:35:59.790Z] fc693d55d65f: Waiting [2023-01-17T17:35:59.790Z] 7e9fc2657dce: Waiting [2023-01-17T17:35:59.790Z] dda99020689f: Waiting [2023-01-17T17:35:59.790Z] db1c61fa0a46: Waiting [2023-01-17T17:35:59.790Z] 891c053d2c06: Waiting [2023-01-17T17:35:59.790Z] e16973657156: Verifying Checksum [2023-01-17T17:35:59.790Z] e16973657156: Download complete [2023-01-17T17:36:00.070Z] 35d82f9e3411: Verifying Checksum [2023-01-17T17:36:00.070Z] 35d82f9e3411: Download complete [2023-01-17T17:36:00.070Z] 7e9fc2657dce: Verifying Checksum [2023-01-17T17:36:00.070Z] 7e9fc2657dce: Download complete [2023-01-17T17:36:00.070Z] dda99020689f: Verifying Checksum [2023-01-17T17:36:00.070Z] 9b18e9b68314: Verifying Checksum [2023-01-17T17:36:00.070Z] 9b18e9b68314: Download complete [2023-01-17T17:36:00.070Z] dda99020689f: Download complete [2023-01-17T17:36:01.537Z] 9b18e9b68314: Pull complete [2023-01-17T17:36:01.537Z] 891c053d2c06: Verifying Checksum [2023-01-17T17:36:01.537Z] 891c053d2c06: Download complete [2023-01-17T17:36:02.148Z] 35d82f9e3411: Pull complete [2023-01-17T17:36:02.429Z] e16973657156: Pull complete [2023-01-17T17:36:03.033Z] db1c61fa0a46: Verifying Checksum [2023-01-17T17:36:03.033Z] db1c61fa0a46: Download complete [2023-01-17T17:36:03.630Z] fc693d55d65f: Verifying Checksum [2023-01-17T17:36:03.630Z] fc693d55d65f: Download complete [2023-01-17T17:36:16.048Z] fc693d55d65f: Pull complete [2023-01-17T17:36:16.048Z] 7e9fc2657dce: Pull complete [2023-01-17T17:36:16.048Z] dda99020689f: Pull complete [2023-01-17T17:36:22.767Z] db1c61fa0a46: Pull complete [2023-01-17T17:36:25.399Z] 891c053d2c06: Pull complete [2023-01-17T17:36:25.399Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-17T17:36:25.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-17T17:36:25.399Z] ---> f96f9c87975a [2023-01-17T17:36:25.399Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:36:25.995Z] ---> Running in 4ee7b24b7380 [2023-01-17T17:36:26.268Z] Removing intermediate container 4ee7b24b7380 [2023-01-17T17:36:26.268Z] ---> 76b35528882d [2023-01-17T17:36:26.268Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:36:26.541Z] ---> Running in e0394b75d2e5 [2023-01-17T17:36:26.814Z] Removing intermediate container e0394b75d2e5 [2023-01-17T17:36:26.814Z] ---> b40c199aa7a8 [2023-01-17T17:36:26.814Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-17T17:36:26.814Z] ---> Running in 1ec18f86747c [2023-01-17T17:36:27.086Z] Removing intermediate container 1ec18f86747c [2023-01-17T17:36:27.086Z] ---> 0261e8157a8e [2023-01-17T17:36:27.086Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:36:27.356Z] ---> Running in 4e22565b06a5 [2023-01-17T17:36:27.636Z] Removing intermediate container 4e22565b06a5 [2023-01-17T17:36:27.636Z] ---> 63091ff0a8e5 [2023-01-17T17:36:27.636Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:36:27.636Z] ---> Running in c18ffde95b2b [2023-01-17T17:36:29.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:36:29.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:36:30.771Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-17T17:36:30.771Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-17T17:36:30.771Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-17T17:36:30.771Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-17T17:36:30.771Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:36:30.771Z] OK: 226 MiB in 55 packages [2023-01-17T17:36:32.223Z] Removing intermediate container c18ffde95b2b [2023-01-17T17:36:32.223Z] ---> fd6461327ab6 [2023-01-17T17:36:32.223Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-17T17:36:32.223Z] ---> Running in 4b99edb15d71 [2023-01-17T17:36:32.494Z] Removing intermediate container 4b99edb15d71 [2023-01-17T17:36:32.494Z] ---> 812848facfac [2023-01-17T17:36:32.494Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-17T17:36:33.088Z] ---> 6a71a3402548 [2023-01-17T17:36:33.088Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:36:33.369Z] ---> Running in c37b6db64ca9 [2023-01-17T17:37:41.396Z] Removing intermediate container c37b6db64ca9 [2023-01-17T17:37:41.396Z] ---> 528a80ddb801 [2023-01-17T17:37:41.396Z] Step 11/12 : COPY . . [2023-01-17T17:37:41.396Z] ---> 5fc4e6e4a843 [2023-01-17T17:37:41.396Z] Step 12/12 : RUN $MAKE [2023-01-17T17:37:41.396Z] ---> Running in e866b6b0d26b [2023-01-17T17:37:41.396Z] noop [2023-01-17T17:37:41.396Z] Removing intermediate container e866b6b0d26b [2023-01-17T17:37:41.396Z] ---> b87c8caf2b78 [2023-01-17T17:37:41.396Z] Successfully built b87c8caf2b78 [2023-01-17T17:37:41.396Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:37:41.749Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T17:37:41.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:37:41.965Z] prd-ubuntu20.04-docker-arm64-4c-16g-2754 does not seem to be running inside a container [2023-01-17T17:37:42.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/78 -v /w/workspace/device-rest-go/78:/w/workspace/device-rest-go/78:rw,z -v /w/workspace/device-rest-go/78@tmp:/w/workspace/device-rest-go/78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-17T17:37:43.333Z] $ docker top c76002011d42db6a12ec44f794e230d65beb6772267829a0b7d109947d485d49 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:37:44.187Z] + go version [2023-01-17T17:37:44.187Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-17T17:37:44.216Z] $ docker stop --time=1 c76002011d42db6a12ec44f794e230d65beb6772267829a0b7d109947d485d49 [2023-01-17T17:37:45.854Z] $ docker rm -f --volumes c76002011d42db6a12ec44f794e230d65beb6772267829a0b7d109947d485d49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:37:46.379Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T17:37:46.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:37:46.578Z] prd-ubuntu20.04-docker-arm64-4c-16g-2754 does not seem to be running inside a container [2023-01-17T17:37:46.668Z] $ 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/78 -v /w/workspace/device-rest-go/78:/w/workspace/device-rest-go/78:rw,z -v /w/workspace/device-rest-go/78@tmp:/w/workspace/device-rest-go/78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-17T17:37:47.907Z] $ docker top 61edccda390720955a551efd95e78acc52c13ca0981be6446bcc9cb64016f410 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:37:48.776Z] + git config --global --add safe.directory /w/workspace/device-rest-go/78 [Pipeline] fileExists [Pipeline] sh [2023-01-17T17:37:49.439Z] + make test [2023-01-17T17:37:49.439Z] go test ./... -coverprofile=coverage.out ./... [2023-01-17T17:37:51.415Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-17T17:39:28.154Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-17T17:39:28.154Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements [2023-01-17T17:39:28.760Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-17T17:39:28.760Z] go vet ./... [2023-01-17T17:40:07.715Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-17T17:40:07.716Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-17T17:40:07.716Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-17T17:40:07.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-17T17:40:07.759Z] $ docker stop --time=1 61edccda390720955a551efd95e78acc52c13ca0981be6446bcc9cb64016f410 [2023-01-17T17:40:10.044Z] $ docker rm -f --volumes 61edccda390720955a551efd95e78acc52c13ca0981be6446bcc9cb64016f410 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:40:11.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-17T17:40:11.191Z] Warning: overwriting stash ‘coverage-report’ [2023-01-17T17:40:11.934Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:40:12.345Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-17T17:40:12.706Z] + ls -al . [2023-01-17T17:40:12.706Z] total 184 [2023-01-17T17:40:12.706Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:37 . [2023-01-17T17:40:12.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:35 .. [2023-01-17T17:40:12.706Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 17 17:35 .dockerignore [2023-01-17T17:40:12.706Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:35 .git [2023-01-17T17:40:12.706Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:35 .github [2023-01-17T17:40:12.706Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 17 17:35 .gitignore [2023-01-17T17:40:12.706Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:35 .golangci.yml [2023-01-17T17:40:12.706Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 17 17:35 Attribution.txt [2023-01-17T17:40:12.707Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 17 17:35 CHANGELOG.md [2023-01-17T17:40:12.707Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 17 17:35 Dockerfile [2023-01-17T17:40:12.707Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:35 GOVERNANCE.md [2023-01-17T17:40:12.707Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 17 17:35 Jenkinsfile [2023-01-17T17:40:12.707Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:35 LICENSE [2023-01-17T17:40:12.707Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 17 17:35 Makefile [2023-01-17T17:40:12.707Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 17:35 OWNERS.md [2023-01-17T17:40:12.707Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 17 17:35 README.md [2023-01-17T17:40:12.707Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:32 VERSION [2023-01-17T17:40:12.707Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:35 bin [2023-01-17T17:40:12.707Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:35 cmd [2023-01-17T17:40:12.707Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 17 17:39 coverage.out [2023-01-17T17:40:12.707Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:35 driver [2023-01-17T17:40:12.707Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 17 17:35 go.mod [2023-01-17T17:40:12.707Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 17 17:35 go.sum [2023-01-17T17:40:12.707Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:35 snap [2023-01-17T17:40:12.707Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 17 17:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:40:13.063Z] + 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=7d8e6f5ecbf08d53345d5c199887d0d319da1d2d --label arch=arm64 --label version=3.0.0-dev.6 . [2023-01-17T17:40:13.063Z] Sending build context to Docker daemon 137.2kB [2023-01-17T17:40:13.336Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:40:13.336Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-17T17:40:13.336Z] ---> b87c8caf2b78 [2023-01-17T17:40:13.336Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:40:13.614Z] ---> Running in 9a6f59e64dcf [2023-01-17T17:40:15.583Z] Removing intermediate container 9a6f59e64dcf [2023-01-17T17:40:15.583Z] ---> aa16dc1eb026 [2023-01-17T17:40:15.583Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:40:15.583Z] ---> Running in 762475eace99 [2023-01-17T17:40:15.858Z] Removing intermediate container 762475eace99 [2023-01-17T17:40:15.858Z] ---> 80af13a9d392 [2023-01-17T17:40:15.858Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-17T17:40:15.858Z] ---> Running in 7bc60081ac46 [2023-01-17T17:40:16.131Z] Removing intermediate container 7bc60081ac46 [2023-01-17T17:40:16.131Z] ---> 64c23fec3087 [2023-01-17T17:40:16.131Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:40:16.399Z] ---> Running in f99aa1f40473 [2023-01-17T17:40:16.670Z] Removing intermediate container f99aa1f40473 [2023-01-17T17:40:16.670Z] ---> 1370cf154725 [2023-01-17T17:40:16.670Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:40:16.670Z] ---> Running in 8d2bc008ec71 [2023-01-17T17:40:18.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:40:18.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:40:19.798Z] OK: 226 MiB in 55 packages [2023-01-17T17:40:20.794Z] Removing intermediate container 8d2bc008ec71 [2023-01-17T17:40:20.794Z] ---> 5e691494d6b7 [2023-01-17T17:40:20.794Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-17T17:40:20.794Z] ---> Running in ae2122d5d7eb [2023-01-17T17:40:21.389Z] Removing intermediate container ae2122d5d7eb [2023-01-17T17:40:21.389Z] ---> 09783f173cb1 [2023-01-17T17:40:21.389Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-17T17:40:21.988Z] ---> 92b241562cb2 [2023-01-17T17:40:21.988Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:40:22.265Z] ---> Running in fcbd2e12927e [2023-01-17T17:40:25.627Z] Removing intermediate container fcbd2e12927e [2023-01-17T17:40:25.627Z] ---> 3ca07bd639d3 [2023-01-17T17:40:25.627Z] Step 11/25 : COPY . . [2023-01-17T17:40:25.627Z] ---> 2f35679e213b [2023-01-17T17:40:25.627Z] Step 12/25 : RUN $MAKE [2023-01-17T17:40:25.895Z] ---> Running in 7581a5970d73 [2023-01-17T17:40:27.324Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-01-17T17:43:04.301Z] Removing intermediate container 7581a5970d73 [2023-01-17T17:43:04.301Z] ---> d8565bdfd8a7 [2023-01-17T17:43:04.301Z] Step 13/25 : FROM alpine:3.16 [2023-01-17T17:43:04.301Z] 3.16: Pulling from library/alpine [2023-01-17T17:43:04.301Z] 6875df1f5354: Pulling fs layer [2023-01-17T17:43:04.301Z] 6875df1f5354: Verifying Checksum [2023-01-17T17:43:04.301Z] 6875df1f5354: Download complete [2023-01-17T17:43:04.301Z] 6875df1f5354: Pull complete [2023-01-17T17:43:04.301Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-17T17:43:04.301Z] Status: Downloaded newer image for alpine:3.16 [2023-01-17T17:43:04.301Z] ---> 2b4661558fb8 [2023-01-17T17:43:04.301Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-17T17:43:04.301Z] ---> Running in 5a53a6e7b7ec [2023-01-17T17:43:04.301Z] Removing intermediate container 5a53a6e7b7ec [2023-01-17T17:43:04.301Z] ---> 1c5531152605 [2023-01-17T17:43:04.301Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-17T17:43:04.301Z] ---> Running in 1b3942ea7879 [2023-01-17T17:43:04.301Z] Removing intermediate container 1b3942ea7879 [2023-01-17T17:43:04.301Z] ---> c8adf5b9545f [2023-01-17T17:43:04.301Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-17T17:43:04.301Z] ---> Running in 3cafc91a43b9 [2023-01-17T17:43:04.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:43:04.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:43:05.734Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-17T17:43:05.734Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:43:05.734Z] OK: 5 MiB in 15 packages [2023-01-17T17:43:06.739Z] Removing intermediate container 3cafc91a43b9 [2023-01-17T17:43:06.740Z] ---> d08f9aa34c8a [2023-01-17T17:43:06.740Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-17T17:43:08.778Z] ---> 117fcea1ccf3 [2023-01-17T17:43:08.779Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-17T17:43:09.049Z] ---> c5bbc301869b [2023-01-17T17:43:09.049Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-17T17:43:09.653Z] ---> c942bc200a18 [2023-01-17T17:43:09.653Z] Step 20/25 : EXPOSE 59986 [2023-01-17T17:43:09.653Z] ---> Running in 4e0487723ff5 [2023-01-17T17:43:09.923Z] Removing intermediate container 4e0487723ff5 [2023-01-17T17:43:09.923Z] ---> e4accd374f2b [2023-01-17T17:43:09.923Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-17T17:43:09.923Z] ---> Running in 54985860af76 [2023-01-17T17:43:10.513Z] Removing intermediate container 54985860af76 [2023-01-17T17:43:10.513Z] ---> b361ee21192e [2023-01-17T17:43:10.513Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-17T17:43:10.513Z] ---> Running in ad6e0c2b61bf [2023-01-17T17:43:10.801Z] Removing intermediate container ad6e0c2b61bf [2023-01-17T17:43:10.801Z] ---> c5097b7c6af2 [2023-01-17T17:43:10.801Z] Step 23/25 : LABEL arch=arm64 [2023-01-17T17:43:10.801Z] ---> Running in 890c4ed87393 [2023-01-17T17:43:11.075Z] Removing intermediate container 890c4ed87393 [2023-01-17T17:43:11.075Z] ---> 3c85f992c330 [2023-01-17T17:43:11.075Z] Step 24/25 : LABEL git_sha=7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [2023-01-17T17:43:11.075Z] ---> Running in dc1328a2f0d2 [2023-01-17T17:43:11.678Z] Removing intermediate container dc1328a2f0d2 [2023-01-17T17:43:11.678Z] ---> f4aecdb5cd47 [2023-01-17T17:43:11.678Z] Step 25/25 : LABEL version=3.0.0-dev.6 [2023-01-17T17:43:11.678Z] ---> Running in 15318eca7521 [2023-01-17T17:43:12.055Z] Removing intermediate container 15318eca7521 [2023-01-17T17:43:12.055Z] ---> 8a735a50449e [2023-01-17T17:43:12.055Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-17T17:43:12.055Z] Successfully built 8a735a50449e [2023-01-17T17:43:12.055Z] 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-01-17T17:43:12.170Z] provisioning config files... [2023-01-17T17:43:12.188Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/78@tmp/config16370240317751943878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:43:12.552Z] ---> docker-login.sh [2023-01-17T17:43:12.552Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:43:12.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:43:12.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:43:12.821Z] Configure a credential helper to remove this warning. See [2023-01-17T17:43:12.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:43:12.821Z] [2023-01-17T17:43:12.821Z] Login Succeeded [2023-01-17T17:43:12.821Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:43:13.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:43:13.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:43:13.363Z] Configure a credential helper to remove this warning. See [2023-01-17T17:43:13.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:43:13.363Z] [2023-01-17T17:43:13.363Z] Login Succeeded [2023-01-17T17:43:13.363Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:43:13.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:43:13.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:43:13.632Z] Configure a credential helper to remove this warning. See [2023-01-17T17:43:13.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:43:13.632Z] [2023-01-17T17:43:13.632Z] Login Succeeded [2023-01-17T17:43:13.632Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:43:13.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:43:14.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:43:14.183Z] Configure a credential helper to remove this warning. See [2023-01-17T17:43:14.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:43:14.183Z] [2023-01-17T17:43:14.183Z] Login Succeeded [2023-01-17T17:43:14.183Z] docker.io [2023-01-17T17:43:14.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:43:14.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:43:14.733Z] Configure a credential helper to remove this warning. See [2023-01-17T17:43:14.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:43:14.733Z] [2023-01-17T17:43:14.733Z] Login Succeeded [2023-01-17T17:43:14.733Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:43:14.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:43:14.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:43:14.803Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-01-17T17:43:14.803Z] 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [2023-01-17T17:43:14.803Z] latest [2023-01-17T17:43:14.803Z] 3.0.0-dev.6 [2023-01-17T17:43:14.803Z] 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 [2023-01-17T17:43:14.803Z] main [2023-01-17T17:43:14.803Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:15.174Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:15.537Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [2023-01-17T17:43:15.537Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-01-17T17:43:15.537Z] bdfd3614728b: Preparing [2023-01-17T17:43:15.537Z] 0b82065ea780: Preparing [2023-01-17T17:43:15.537Z] fd8f910cb7d0: Preparing [2023-01-17T17:43:15.537Z] 1454fc760f04: Preparing [2023-01-17T17:43:15.537Z] 17bec77d7fdc: Preparing [2023-01-17T17:43:15.805Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:43:15.805Z] 0b82065ea780: Pushed [2023-01-17T17:43:15.805Z] bdfd3614728b: Pushed [2023-01-17T17:43:15.805Z] 1454fc760f04: Pushed [2023-01-17T17:43:21.171Z] fd8f910cb7d0: Pushed [2023-01-17T17:43:21.438Z] 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d: digest: sha256:280b437b43eee99ed3b55ee1cc2a0e7d2422a1bf4c2622b586bb855dc26f0ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:21.809Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:22.163Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-01-17T17:43:22.163Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-01-17T17:43:22.163Z] bdfd3614728b: Preparing [2023-01-17T17:43:22.163Z] 0b82065ea780: Preparing [2023-01-17T17:43:22.163Z] fd8f910cb7d0: Preparing [2023-01-17T17:43:22.163Z] 1454fc760f04: Preparing [2023-01-17T17:43:22.163Z] 17bec77d7fdc: Preparing [2023-01-17T17:43:22.163Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:43:22.163Z] 0b82065ea780: Layer already exists [2023-01-17T17:43:22.163Z] fd8f910cb7d0: Layer already exists [2023-01-17T17:43:22.163Z] 1454fc760f04: Layer already exists [2023-01-17T17:43:22.163Z] bdfd3614728b: Layer already exists [2023-01-17T17:43:22.430Z] latest: digest: sha256:280b437b43eee99ed3b55ee1cc2a0e7d2422a1bf4c2622b586bb855dc26f0ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:22.796Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:23.160Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.6 [2023-01-17T17:43:23.160Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-01-17T17:43:23.160Z] bdfd3614728b: Preparing [2023-01-17T17:43:23.160Z] 0b82065ea780: Preparing [2023-01-17T17:43:23.160Z] fd8f910cb7d0: Preparing [2023-01-17T17:43:23.160Z] 1454fc760f04: Preparing [2023-01-17T17:43:23.160Z] 17bec77d7fdc: Preparing [2023-01-17T17:43:23.160Z] fd8f910cb7d0: Layer already exists [2023-01-17T17:43:23.160Z] 0b82065ea780: Layer already exists [2023-01-17T17:43:23.160Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:43:23.160Z] 1454fc760f04: Layer already exists [2023-01-17T17:43:23.160Z] bdfd3614728b: Layer already exists [2023-01-17T17:43:23.429Z] 3.0.0-dev.6: digest: sha256:280b437b43eee99ed3b55ee1cc2a0e7d2422a1bf4c2622b586bb855dc26f0ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:23.802Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:24.159Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 [2023-01-17T17:43:24.159Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-01-17T17:43:24.159Z] bdfd3614728b: Preparing [2023-01-17T17:43:24.159Z] 0b82065ea780: Preparing [2023-01-17T17:43:24.159Z] fd8f910cb7d0: Preparing [2023-01-17T17:43:24.159Z] 1454fc760f04: Preparing [2023-01-17T17:43:24.159Z] 17bec77d7fdc: Preparing [2023-01-17T17:43:24.159Z] fd8f910cb7d0: Layer already exists [2023-01-17T17:43:24.159Z] bdfd3614728b: Layer already exists [2023-01-17T17:43:24.159Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:43:24.159Z] 0b82065ea780: Layer already exists [2023-01-17T17:43:24.159Z] 1454fc760f04: Layer already exists [2023-01-17T17:43:24.428Z] 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6: digest: sha256:280b437b43eee99ed3b55ee1cc2a0e7d2422a1bf4c2622b586bb855dc26f0ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:24.794Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:25.156Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-01-17T17:43:25.156Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-01-17T17:43:25.156Z] bdfd3614728b: Preparing [2023-01-17T17:43:25.156Z] 0b82065ea780: Preparing [2023-01-17T17:43:25.156Z] fd8f910cb7d0: Preparing [2023-01-17T17:43:25.156Z] 1454fc760f04: Preparing [2023-01-17T17:43:25.156Z] 17bec77d7fdc: Preparing [2023-01-17T17:43:25.156Z] bdfd3614728b: Layer already exists [2023-01-17T17:43:25.156Z] fd8f910cb7d0: Layer already exists [2023-01-17T17:43:25.156Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:43:25.156Z] 1454fc760f04: Layer already exists [2023-01-17T17:43:25.156Z] 0b82065ea780: Layer already exists [2023-01-17T17:43:25.426Z] main: digest: sha256:280b437b43eee99ed3b55ee1cc2a0e7d2422a1bf4c2622b586bb855dc26f0ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:43:25.490Z] ===================================================== [Pipeline] echo [2023-01-17T17:43:25.499Z] taggedImages: [2023-01-17T17:43:25.499Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [2023-01-17T17:43:25.499Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-01-17T17:43:25.499Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.6 [2023-01-17T17:43:25.499Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7d8e6f5ecbf08d53345d5c199887d0d319da1d2d-3.0.0-dev.6 [2023-01-17T17:43:25.499Z] - 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-01-17T17:43:25.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:43:25.870Z] [2023-01-17T17:43:25.870Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:26.223Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:43:26.223Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-17T17:43:26.223Z] 8998bd30e6a1: Pulling fs layer [2023-01-17T17:43:26.223Z] 04944245beec: Pulling fs layer [2023-01-17T17:43:26.223Z] 699f458cf7ca: Pulling fs layer [2023-01-17T17:43:26.223Z] 765212b225bb: Pulling fs layer [2023-01-17T17:43:26.223Z] f23df028b6ca: Pulling fs layer [2023-01-17T17:43:26.223Z] d65c8cfc05b1: Pulling fs layer [2023-01-17T17:43:26.223Z] 2437ff75d9bd: Pulling fs layer [2023-01-17T17:43:26.223Z] 765212b225bb: Waiting [2023-01-17T17:43:26.223Z] f23df028b6ca: Waiting [2023-01-17T17:43:26.223Z] d65c8cfc05b1: Waiting [2023-01-17T17:43:26.223Z] 2437ff75d9bd: Waiting [2023-01-17T17:43:26.493Z] 04944245beec: Verifying Checksum [2023-01-17T17:43:26.493Z] 04944245beec: Download complete [2023-01-17T17:43:26.493Z] 765212b225bb: Verifying Checksum [2023-01-17T17:43:26.493Z] 765212b225bb: Download complete [2023-01-17T17:43:26.493Z] f23df028b6ca: Download complete [2023-01-17T17:43:26.493Z] d65c8cfc05b1: Verifying Checksum [2023-01-17T17:43:26.493Z] d65c8cfc05b1: Download complete [2023-01-17T17:43:26.763Z] 699f458cf7ca: Verifying Checksum [2023-01-17T17:43:26.763Z] 699f458cf7ca: Download complete [2023-01-17T17:43:27.031Z] 8998bd30e6a1: Verifying Checksum [2023-01-17T17:43:27.031Z] 8998bd30e6a1: Download complete [2023-01-17T17:43:29.625Z] 2437ff75d9bd: Verifying Checksum [2023-01-17T17:43:29.625Z] 2437ff75d9bd: Download complete [2023-01-17T17:43:31.569Z] 8998bd30e6a1: Pull complete [2023-01-17T17:43:31.837Z] 04944245beec: Pull complete [2023-01-17T17:43:33.254Z] 699f458cf7ca: Pull complete [2023-01-17T17:43:33.524Z] 765212b225bb: Pull complete [2023-01-17T17:43:34.486Z] f23df028b6ca: Pull complete [2023-01-17T17:43:34.753Z] d65c8cfc05b1: Pull complete [2023-01-17T17:43:49.754Z] 2437ff75d9bd: Pull complete [2023-01-17T17:43:49.754Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-17T17:43:49.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:43:49.754Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:43:49.965Z] prd-ubuntu20.04-docker-arm64-4c-16g-2754 does not seem to be running inside a container [2023-01-17T17:43:50.057Z] $ 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/78 -v /w/workspace/device-rest-go/78:/w/workspace/device-rest-go/78:rw,z -v /w/workspace/device-rest-go/78@tmp:/w/workspace/device-rest-go/78@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:arm64 cat [2023-01-17T17:43:52.985Z] $ docker top 3bafd16d6754d2fef5ec2e3c8a2786a696a682a082a07c5bf614f8a1917b23b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:43:53.844Z] ---> job-cost.sh [2023-01-17T17:43:53.844Z] lf-activate-venv: SKIPPING [2023-01-17T17:43:53.844Z] INFO: No Stack... [2023-01-17T17:43:54.801Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-17T17:43:55.767Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T17:43:56.450Z] + cat /w/workspace/device-rest-go/78/archives/cost.csv [2023-01-17T17:43:56.450Z] + cut -d, -f6 [Pipeline] lock [2023-01-17T17:43:56.496Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] [2023-01-17T17:43:56.501Z] Resource [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] did not exist. Created. [2023-01-17T17:43:56.501Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T17:43:57.181Z] /w/workspace/device-rest-go/78@tmp/durable-97d8ed36/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-17T17:43:57.861Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-17T17:43:57.882Z] Warning: overwriting stash ‘stack-cost’ [2023-01-17T17:43:57.943Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T17:43:57.952Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T17:43:57.986Z] $ docker stop --time=1 3bafd16d6754d2fef5ec2e3c8a2786a696a682a082a07c5bf614f8a1917b23b4 [2023-01-17T17:43:59.508Z] $ docker rm -f --volumes 3bafd16d6754d2fef5ec2e3c8a2786a696a682a082a07c5bf614f8a1917b23b4 [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-01-17T17:43:59.877Z] provisioning config files... [2023-01-17T17:43:59.883Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9837042563178426357tmp [Pipeline] { [Pipeline] sh [2023-01-17T17:44:00.173Z] + set +x [2023-01-17T17:44:00.173Z] + curl -s https://codecov.io/bash [2023-01-17T17:44:00.173Z] + bash -s -- [2023-01-17T17:44:00.173Z] [2023-01-17T17:44:00.173Z] _____ _ [2023-01-17T17:44:00.173Z] / ____| | | [2023-01-17T17:44:00.173Z] | | ___ __| | ___ ___ _____ __ [2023-01-17T17:44:00.173Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-17T17:44:00.173Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-17T17:44:00.173Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-17T17:44:00.174Z] Bash-1.0.6 [2023-01-17T17:44:00.174Z] [2023-01-17T17:44:00.174Z] [2023-01-17T17:44:00.174Z] ==> git version 2.25.1 found [2023-01-17T17:44:00.174Z] ==> 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-01-17T17:44:00.174Z] Release-Date: 2020-01-08 [2023-01-17T17:44:00.174Z] 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-01-17T17:44:00.174Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-17T17:44:00.174Z] ==> Jenkins CI detected. [2023-01-17T17:44:00.174Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-01-17T17:44:00.174Z] project root: . [2023-01-17T17:44:00.174Z] --> token set from env [2023-01-17T17:44:00.174Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-17T17:44:00.174Z] ==> Running gcov in . (disable via -X gcov) [2023-01-17T17:44:00.174Z] ==> Python coveragepy not found [2023-01-17T17:44:00.174Z] ==> Searching for coverage reports in: [2023-01-17T17:44:00.174Z] + . [2023-01-17T17:44:00.174Z] -> Found 1 reports [2023-01-17T17:44:00.174Z] ==> Detecting git/mercurial file structure [2023-01-17T17:44:00.174Z] ==> Reading reports [2023-01-17T17:44:00.174Z] + ./coverage.out bytes=9355 [2023-01-17T17:44:00.174Z] ==> Appending adjustments [2023-01-17T17:44:00.174Z] https://docs.codecov.io/docs/fixing-reports [2023-01-17T17:44:00.432Z] + Found adjustments [2023-01-17T17:44:00.432Z] ==> Gzipping contents [2023-01-17T17:44:00.432Z] 4.0K /tmp/codecov.WWFp5n.gz [2023-01-17T17:44:00.432Z] ==> Uploading reports [2023-01-17T17:44:00.432Z] url: https://codecov.io [2023-01-17T17:44:00.432Z] query: branch=main&commit=7d8e6f5ecbf08d53345d5c199887d0d319da1d2d&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-17T17:44:00.432Z] -> Pinging Codecov [2023-01-17T17:44:00.432Z] 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=7d8e6f5ecbf08d53345d5c199887d0d319da1d2d&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-17T17:44:00.690Z] -> Uploading to [2023-01-17T17:44:00.690Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-17/4E5D53B4F1F92C436F7061BF334D961C/7d8e6f5ecbf08d53345d5c199887d0d319da1d2d/fece4ec5-4f05-4e07-9eb7-d3242cb94ff5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T174400Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d76011bd26344cce46e6abb3f51075995104626dfaacb838272566015adfb822 [2023-01-17T17:44:00.690Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T17:44:00.690Z] Dload Upload Total Spent Left Speed [2023-01-17T17:44:00.948Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1713 0 0 100 1713 0 6588 --:--:-- --:--:-- --:--:-- 6588 [2023-01-17T17:44:00.948Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] } [2023-01-17T17:44:00.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-17T17:44:01.082Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-17T17:44:01.091Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:01.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:44:01.389Z] [2023-01-17T17:44:01.389Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:01.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:44:01.689Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-17T17:44:01.689Z] df9b9388f04a: Pulling fs layer [2023-01-17T17:44:01.689Z] 52dc419b0ee2: Pulling fs layer [2023-01-17T17:44:01.689Z] 25bc292e5bac: Pulling fs layer [2023-01-17T17:44:01.689Z] 114826534d7a: Pulling fs layer [2023-01-17T17:44:01.689Z] 4657fd5d0bcf: Pulling fs layer [2023-01-17T17:44:01.689Z] 6ad1cebc031e: Pulling fs layer [2023-01-17T17:44:01.689Z] 8a3aa393b2d8: Pulling fs layer [2023-01-17T17:44:01.689Z] 114826534d7a: Waiting [2023-01-17T17:44:01.689Z] 4657fd5d0bcf: Waiting [2023-01-17T17:44:01.689Z] 8a3aa393b2d8: Waiting [2023-01-17T17:44:01.689Z] 25bc292e5bac: Verifying Checksum [2023-01-17T17:44:01.689Z] 25bc292e5bac: Download complete [2023-01-17T17:44:01.689Z] 52dc419b0ee2: Download complete [2023-01-17T17:44:01.689Z] 4657fd5d0bcf: Verifying Checksum [2023-01-17T17:44:01.689Z] 4657fd5d0bcf: Download complete [2023-01-17T17:44:01.953Z] df9b9388f04a: Verifying Checksum [2023-01-17T17:44:01.953Z] df9b9388f04a: Download complete [2023-01-17T17:44:01.953Z] df9b9388f04a: Pull complete [2023-01-17T17:44:01.953Z] 52dc419b0ee2: Pull complete [2023-01-17T17:44:02.222Z] 25bc292e5bac: Pull complete [2023-01-17T17:44:02.222Z] 6ad1cebc031e: Verifying Checksum [2023-01-17T17:44:02.222Z] 6ad1cebc031e: Download complete [2023-01-17T17:44:02.821Z] 114826534d7a: Verifying Checksum [2023-01-17T17:44:02.821Z] 114826534d7a: Download complete [2023-01-17T17:44:03.387Z] 8a3aa393b2d8: Verifying Checksum [2023-01-17T17:44:03.387Z] 8a3aa393b2d8: Download complete [2023-01-17T17:44:06.668Z] 114826534d7a: Pull complete [2023-01-17T17:44:06.668Z] 4657fd5d0bcf: Pull complete [2023-01-17T17:44:06.668Z] 6ad1cebc031e: Pull complete [2023-01-17T17:44:09.949Z] 8a3aa393b2d8: Pull complete [2023-01-17T17:44:09.949Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-17T17:44:09.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:44:09.950Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:44:10.022Z] prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container [2023-01-17T17:44:10.051Z] $ 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-01-17T17:44:12.141Z] $ docker top e21122fc5ecbab022bccbb9851f893bd9f3f6d0944d5ed864a87670007e7300a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-17T17:44:12.203Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-01-17T17:44:12.478Z] + set -o pipefail [2023-01-17T17:44:12.478Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-01-17T17:44:19.049Z] [2023-01-17T17:44:19.049Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-01-17T17:44:19.049Z] [2023-01-17T17:44:19.049Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/0850816c-94bc-4572-b765-d4328c63ea64 [2023-01-17T17:44:19.049Z] [2023-01-17T17:44:19.049Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-01-17T17:44:19.049Z] [2023-01-17T17:44:19.049Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-17T17:44:19.049Z] [2023-01-17T17:44:19.049Z] [2023-01-17T17:44:19.049Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-17T17:44:19.049Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-17T17:44:19.049Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-17T17:44:19.061Z] $ docker stop --time=1 e21122fc5ecbab022bccbb9851f893bd9f3f6d0944d5ed864a87670007e7300a [2023-01-17T17:44:21.289Z] $ docker rm -f --volumes e21122fc5ecbab022bccbb9851f893bd9f3f6d0944d5ed864a87670007e7300a [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-01-17T17:44:21.964Z] + git log --format=format:%s -1 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d [Pipeline] sh [2023-01-17T17:44:22.254Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:44:22.254Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:22.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:44:22.553Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:44:22.620Z] prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container [2023-01-17T17:44:22.647Z] $ 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-01-17T17:44:23.056Z] $ docker top 467bdae1f05bcd66ff9dd42b37d304d61546ad4169d53195c6e620983941bfd0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:44:23.141Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:44:23.141Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:44:23.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:44:23.245Z] $ docker exec 467bdae1f05bcd66ff9dd42b37d304d61546ad4169d53195c6e620983941bfd0 ssh-agent [2023-01-17T17:44:23.344Z] SSH_AUTH_SOCK=/tmp/ssh-NhfRteGaDANb/agent.32 [2023-01-17T17:44:23.344Z] SSH_AGENT_PID=39 [2023-01-17T17:44:23.348Z] Running ssh-add (command line suppressed) [2023-01-17T17:44:23.450Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6551850674318720996.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6551850674318720996.key) [2023-01-17T17:44:23.461Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:44:23.745Z] + git semver tag [2023-01-17T17:44:24.004Z] 2023-01-17 17:44:23,922 [run_tag] DEBUG tag force:False [2023-01-17T17:44:24.004Z] 2023-01-17 17:44:23,923 [check_head_tag] DEBUG check head tag [2023-01-17T17:44:24.004Z] 2023-01-17 17:44:23,923 [execute] INFO git cat-file --batch-check [2023-01-17T17:44:24.004Z] 2023-01-17 17:44:23,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-01-17T17:44:24.004Z] 2023-01-17 17:44:23,929 [execute] INFO git cat-file --batch [2023-01-17T17:44:24.004Z] 2023-01-17 17:44:23,929 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-01-17T17:44:24.004Z] 2023-01-17 17:44:23,946 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-17T17:44:24.004Z] 2023-01-17 17:44:23,946 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 [2023-01-17T17:44:24.004Z] 2023-01-17 17:44:23,947 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:44:24.004Z] 2023-01-17 17:44:23,952 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-17T17:44:24.004Z] 3.0.0-dev.6 [Pipeline] } [2023-01-17T17:44:24.014Z] $ docker exec --env ******** --env ******** 467bdae1f05bcd66ff9dd42b37d304d61546ad4169d53195c6e620983941bfd0 ssh-agent -k [2023-01-17T17:44:24.113Z] unset SSH_AUTH_SOCK; [2023-01-17T17:44:24.114Z] unset SSH_AGENT_PID; [2023-01-17T17:44:24.114Z] echo Agent pid 39 killed; [2023-01-17T17:44:24.121Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:44:24.427Z] + git semver [Pipeline] } [2023-01-17T17:44:24.697Z] $ docker stop --time=1 467bdae1f05bcd66ff9dd42b37d304d61546ad4169d53195c6e620983941bfd0 [2023-01-17T17:44:25.972Z] $ docker rm -f --volumes 467bdae1f05bcd66ff9dd42b37d304d61546ad4169d53195c6e620983941bfd0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:26.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:44:26.361Z] [2023-01-17T17:44:26.361Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:26.660Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:44:26.660Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-17T17:44:26.660Z] ab5ef0e58194: Pulling fs layer [2023-01-17T17:44:26.660Z] 9712f1f96733: Pulling fs layer [2023-01-17T17:44:26.660Z] 63f879dbbcfc: Pulling fs layer [2023-01-17T17:44:26.660Z] 0d9ebad4ef96: Pulling fs layer [2023-01-17T17:44:26.661Z] e9a5061849ea: Pulling fs layer [2023-01-17T17:44:26.661Z] d747dcd14b5f: Pulling fs layer [2023-01-17T17:44:26.661Z] 2de7ff778b66: Pulling fs layer [2023-01-17T17:44:26.661Z] e9a5061849ea: Waiting [2023-01-17T17:44:26.661Z] 2de7ff778b66: Waiting [2023-01-17T17:44:26.661Z] 0d9ebad4ef96: Waiting [2023-01-17T17:44:26.661Z] 9712f1f96733: Verifying Checksum [2023-01-17T17:44:26.661Z] 9712f1f96733: Download complete [2023-01-17T17:44:27.658Z] 63f879dbbcfc: Verifying Checksum [2023-01-17T17:44:27.658Z] 63f879dbbcfc: Download complete [2023-01-17T17:44:27.978Z] 0d9ebad4ef96: Verifying Checksum [2023-01-17T17:44:27.978Z] 0d9ebad4ef96: Download complete [2023-01-17T17:44:27.978Z] d747dcd14b5f: Download complete [2023-01-17T17:44:27.978Z] ab5ef0e58194: Verifying Checksum [2023-01-17T17:44:27.978Z] ab5ef0e58194: Download complete [2023-01-17T17:44:27.978Z] e9a5061849ea: Verifying Checksum [2023-01-17T17:44:27.978Z] e9a5061849ea: Download complete [2023-01-17T17:44:28.233Z] 2de7ff778b66: Verifying Checksum [2023-01-17T17:44:28.233Z] 2de7ff778b66: Download complete [2023-01-17T17:44:30.755Z] ab5ef0e58194: Pull complete [2023-01-17T17:44:30.755Z] 9712f1f96733: Pull complete [2023-01-17T17:44:31.320Z] 63f879dbbcfc: Pull complete [2023-01-17T17:44:35.501Z] 0d9ebad4ef96: Pull complete [2023-01-17T17:44:35.501Z] e9a5061849ea: Pull complete [2023-01-17T17:44:35.501Z] d747dcd14b5f: Pull complete [2023-01-17T17:44:36.432Z] 2de7ff778b66: Pull complete [2023-01-17T17:44:36.432Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-17T17:44:36.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:44:36.432Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:44:36.509Z] prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container [2023-01-17T17:44:36.535Z] $ 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-01-17T17:44:38.989Z] $ docker top 94027e247582ab1f75ff0c44f85059a12cd6319f9871c500db669d22aabd8428 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:44:39.055Z] provisioning config files... [2023-01-17T17:44:39.064Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14466580086809840151tmp [2023-01-17T17:44:39.074Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13046655960815982708tmp [2023-01-17T17:44:39.083Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5431742881191655553tmp [Pipeline] { [Pipeline] echo [2023-01-17T17:44:39.098Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:39.378Z] ---> sigul-configuration.sh [2023-01-17T17:44:39.378Z] gpg: directory `/root/.gnupg' created [2023-01-17T17:44:39.378Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-17T17:44:39.378Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-17T17:44:39.378Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-17T17:44:39.378Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-17T17:44:39.378Z] gpg: CAST5 encrypted data [2023-01-17T17:44:39.378Z] gpg: encrypted with 1 passphrase [2023-01-17T17:44:39.378Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-17T17:44:39.664Z] + mkdir /home/jenkins [2023-01-17T17:44:39.664Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-17T17:44:39.943Z] + 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-01-17T17:44:39.951Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:40.235Z] ---> sigul-install.sh [2023-01-17T17:44:40.235Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-17T17:44:40.517Z] + git tag --list [2023-01-17T17:44:40.518Z] v1.0.0 [2023-01-17T17:44:40.518Z] v1.1.0 [2023-01-17T17:44:40.518Z] v1.1.1 [2023-01-17T17:44:40.518Z] v1.1.2 [2023-01-17T17:44:40.518Z] v1.2.0 [2023-01-17T17:44:40.518Z] v1.2.1 [2023-01-17T17:44:40.518Z] v2.0.0 [2023-01-17T17:44:40.518Z] v2.1.0 [2023-01-17T17:44:40.518Z] v2.1.1 [2023-01-17T17:44:40.518Z] v2.1.1-dev.1 [2023-01-17T17:44:40.518Z] v2.1.1-dev.2 [2023-01-17T17:44:40.518Z] v2.1.1-dev.3 [2023-01-17T17:44:40.518Z] v2.2.0 [2023-01-17T17:44:40.518Z] v2.2.1-dev.1 [2023-01-17T17:44:40.518Z] v2.2.1-dev.2 [2023-01-17T17:44:40.518Z] v2.2.1-dev.3 [2023-01-17T17:44:40.518Z] v2.2.1-dev.4 [2023-01-17T17:44:40.518Z] v2.2.1-dev.5 [2023-01-17T17:44:40.518Z] v2.2.1-dev.6 [2023-01-17T17:44:40.518Z] v2.2.1-dev.7 [2023-01-17T17:44:40.518Z] v2.2.1-dev.8 [2023-01-17T17:44:40.518Z] v2.2.1-dev.9 [2023-01-17T17:44:40.518Z] v2.3.0 [2023-01-17T17:44:40.518Z] v2.3.0-dev.10 [2023-01-17T17:44:40.518Z] v2.3.0-dev.11 [2023-01-17T17:44:40.518Z] v2.3.0-dev.12 [2023-01-17T17:44:40.518Z] v2.3.0-dev.13 [2023-01-17T17:44:40.518Z] v2.3.0-dev.14 [2023-01-17T17:44:40.518Z] v2.3.0-dev.15 [2023-01-17T17:44:40.518Z] v2.3.0-dev.16 [2023-01-17T17:44:40.518Z] v2.3.0-dev.17 [2023-01-17T17:44:40.518Z] v2.3.0-dev.18 [2023-01-17T17:44:40.518Z] v2.3.0-dev.19 [2023-01-17T17:44:40.518Z] v2.3.0-dev.20 [2023-01-17T17:44:40.518Z] v2.3.0-dev.21 [2023-01-17T17:44:40.518Z] v2.3.0-dev.22 [2023-01-17T17:44:40.518Z] v2.3.0-dev.23 [2023-01-17T17:44:40.518Z] v2.3.0-dev.24 [2023-01-17T17:44:40.518Z] v2.3.0-dev.25 [2023-01-17T17:44:40.518Z] v2.3.0-dev.9 [2023-01-17T17:44:40.518Z] v3.0.0-dev.1 [2023-01-17T17:44:40.518Z] v3.0.0-dev.2 [2023-01-17T17:44:40.518Z] v3.0.0-dev.3 [2023-01-17T17:44:40.518Z] v3.0.0-dev.4 [2023-01-17T17:44:40.518Z] v3.0.0-dev.5 [2023-01-17T17:44:40.518Z] v3.0.0-dev.6 [Pipeline] sh [2023-01-17T17:44:40.805Z] + lftools sign git-tag v3.0.0-dev.6 [2023-01-17T17:44:41.390Z] Signing Git tag with Sigul... [2023-01-17T17:44:41.390Z] Signing v3.0.0-dev.6 [Pipeline] echo [2023-01-17T17:44:41.657Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:41.940Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-17T17:44:41.947Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-17T17:44:41.963Z] $ docker stop --time=1 94027e247582ab1f75ff0c44f85059a12cd6319f9871c500db669d22aabd8428 [2023-01-17T17:44:43.249Z] $ docker rm -f --volumes 94027e247582ab1f75ff0c44f85059a12cd6319f9871c500db669d22aabd8428 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-17T17:44:43.643Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:44:43.643Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:43.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:44:43.945Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:44:44.012Z] prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container [2023-01-17T17:44:44.043Z] $ 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-01-17T17:44:44.359Z] $ docker top ff4ab2ec2a020b35a20276af37b2dc67a43b939f8afb40095e0d66e53e01629e -eo pid,comm [2023-01-17T17:44:44.408Z] 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-01-17T17:44:44.408Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:44:44.446Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:44:44.446Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:44:44.572Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:44:44.576Z] $ docker exec ff4ab2ec2a020b35a20276af37b2dc67a43b939f8afb40095e0d66e53e01629e ssh-agent [2023-01-17T17:44:44.677Z] SSH_AUTH_SOCK=/tmp/ssh-iHmnvwhW4k0v/agent.32 [2023-01-17T17:44:44.677Z] SSH_AGENT_PID=38 [2023-01-17T17:44:44.682Z] Running ssh-add (command line suppressed) [2023-01-17T17:44:44.788Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7875867954848234318.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7875867954848234318.key) [2023-01-17T17:44:44.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:44:45.080Z] + git semver bump pre [2023-01-17T17:44:45.339Z] 2023-01-17 17:44:45,260 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-17T17:44:45.339Z] 2023-01-17 17:44:45,260 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev [2023-01-17T17:44:45.339Z] 2023-01-17 17:44:45,260 [bump_version] DEBUG bumped version:3.0.0-dev.7 [2023-01-17T17:44:45.339Z] 2023-01-17 17:44:45,260 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-01-17T17:44:45.339Z] 2023-01-17 17:44:45,260 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-17T17:44:45.339Z] 2023-01-17 17:44:45,261 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-17T17:44:45.339Z] 2023-01-17 17:44:45,262 [execute] INFO git cat-file --batch-check [2023-01-17T17:44:45.339Z] 2023-01-17 17:44:45,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:44:45.339Z] 2023-01-17 17:44:45,268 [execute] INFO git cat-file --batch [2023-01-17T17:44:45.339Z] 2023-01-17 17:44:45,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:44:45.339Z] 2023-01-17 17:44:45,274 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-17T17:44:45.339Z] 3.0.0-dev.7 [Pipeline] } [2023-01-17T17:44:45.349Z] $ docker exec --env ******** --env ******** ff4ab2ec2a020b35a20276af37b2dc67a43b939f8afb40095e0d66e53e01629e ssh-agent -k [2023-01-17T17:44:45.443Z] unset SSH_AUTH_SOCK; [2023-01-17T17:44:45.444Z] unset SSH_AGENT_PID; [2023-01-17T17:44:45.444Z] echo Agent pid 38 killed; [2023-01-17T17:44:45.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:44:45.760Z] + git semver [Pipeline] } [2023-01-17T17:44:46.036Z] $ docker stop --time=1 ff4ab2ec2a020b35a20276af37b2dc67a43b939f8afb40095e0d66e53e01629e [2023-01-17T17:44:47.356Z] $ docker rm -f --volumes ff4ab2ec2a020b35a20276af37b2dc67a43b939f8afb40095e0d66e53e01629e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:44:47.693Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:44:47.693Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:47.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:44:47.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:44:48.064Z] prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container [2023-01-17T17:44:48.092Z] $ 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-01-17T17:44:48.454Z] $ docker top 882ed3cfccb05641189d75b8a3b616b84e56e5f63fc3249fdd83f0e2ac4cbe56 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:44:48.537Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:44:48.537Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:44:48.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:44:48.649Z] $ docker exec 882ed3cfccb05641189d75b8a3b616b84e56e5f63fc3249fdd83f0e2ac4cbe56 ssh-agent [2023-01-17T17:44:48.743Z] SSH_AUTH_SOCK=/tmp/ssh-AUAfbaYDL5ec/agent.31 [2023-01-17T17:44:48.743Z] SSH_AGENT_PID=37 [2023-01-17T17:44:48.747Z] Running ssh-add (command line suppressed) [2023-01-17T17:44:48.848Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18033475403508321574.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18033475403508321574.key) [2023-01-17T17:44:48.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:44:49.147Z] + git semver push [2023-01-17T17:44:49.406Z] 2023-01-17 17:44:49,321 [run_push] DEBUG push [2023-01-17T17:44:49.406Z] 2023-01-17 17:44:49,321 [execute] INFO git cat-file --batch-check [2023-01-17T17:44:49.406Z] 2023-01-17 17:44:49,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:44:49.406Z] 2023-01-17 17:44:49,325 [execute] INFO git rev-list 76d518e39a57e31c6d4f23a74ea85586387e6440 -- [2023-01-17T17:44:49.406Z] 2023-01-17 17:44:49,326 [execute] DEBUG Popen(['git', 'rev-list', '76d518e39a57e31c6d4f23a74ea85586387e6440', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:44:49.406Z] 2023-01-17 17:44:49,334 [execute] INFO git fetch -v origin [2023-01-17T17:44:49.406Z] 2023-01-17 17:44:49,334 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-17T17:44:49.971Z] 2023-01-17 17:44:49,863 [run_push] DEBUG no remote changes detected [2023-01-17T17:44:49.971Z] 2023-01-17 17:44:49,863 [execute] INFO git push origin semver [2023-01-17T17:44:49.971Z] 2023-01-17 17:44:49,863 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:44:50.955Z] 2023-01-17 17:44:50,741 [run_push] DEBUG push all version tags [2023-01-17T17:44:50.955Z] 2023-01-17 17:44:50,741 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-17T17:44:50.955Z] 2023-01-17 17:44:50,742 [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-01-17T17:44:51.595Z] 2023-01-17 17:44:51,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-17T17:44:51.595Z] 3.0.0-dev.7 [Pipeline] } [2023-01-17T17:44:51.611Z] $ docker exec --env ******** --env ******** 882ed3cfccb05641189d75b8a3b616b84e56e5f63fc3249fdd83f0e2ac4cbe56 ssh-agent -k [2023-01-17T17:44:51.706Z] unset SSH_AUTH_SOCK; [2023-01-17T17:44:51.706Z] unset SSH_AGENT_PID; [2023-01-17T17:44:51.707Z] echo Agent pid 37 killed; [2023-01-17T17:44:51.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:44:52.041Z] + git semver [Pipeline] } [2023-01-17T17:44:52.315Z] $ docker stop --time=1 882ed3cfccb05641189d75b8a3b616b84e56e5f63fc3249fdd83f0e2ac4cbe56 [2023-01-17T17:44:53.557Z] $ docker rm -f --volumes 882ed3cfccb05641189d75b8a3b616b84e56e5f63fc3249fdd83f0e2ac4cbe56 [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-01-17T17:44:54.068Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-01-17T17:44:54.068Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-01-17T17:44:54.068Z] total 16 [2023-01-17T17:44:54.068Z] drwxr-xr-x 3 root root 4096 Jan 17 17:34 . [2023-01-17T17:44:54.068Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:44 .. [2023-01-17T17:44:54.068Z] drwxr-xr-x 2 root root 4096 Jan 17 17:34 cost [2023-01-17T17:44:54.068Z] -rw-r--r-- 1 root root 85 Jan 17 17:34 cost.csv [2023-01-17T17:44:54.068Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-01-17T17:44:54.068Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-01-17T17:44:54.068Z] total 16 [2023-01-17T17:44:54.068Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:34 . [2023-01-17T17:44:54.068Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:44 .. [2023-01-17T17:44:54.068Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 17:34 cost [2023-01-17T17:44:54.068Z] -rw-r--r-- 1 jenkins jenkins 85 Jan 17 17:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:54.359Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:55.221Z] ---> package-listing.sh [2023-01-17T17:44:55.221Z] ++ facter osfamily [2023-01-17T17:44:55.221Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-17T17:44:55.482Z] + OS_FAMILY=debian [2023-01-17T17:44:55.482Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-01-17T17:44:55.482Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-17T17:44:55.482Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-17T17:44:55.482Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-17T17:44:55.482Z] + PACKAGES=/tmp/packages_start.txt [2023-01-17T17:44:55.482Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-01-17T17:44:55.482Z] + PACKAGES=/tmp/packages_end.txt [2023-01-17T17:44:55.482Z] + case "${OS_FAMILY}" in [2023-01-17T17:44:55.482Z] + dpkg -l [2023-01-17T17:44:55.482Z] + grep '^ii' [2023-01-17T17:44:55.482Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-17T17:44:55.482Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-17T17:44:55.482Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-17T17:44:55.482Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-01-17T17:44:55.482Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-01-17T17:44:55.482Z] + 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-01-17T17:44:55.493Z] 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-01-17T17:44:55.769Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:56.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:44:56.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:44:56.400Z] prd-ubuntu20.04-docker-8c-8g-2748 does not seem to be running inside a container [2023-01-17T17:44:56.433Z] $ 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-01-17T17:44:56.654Z] $ docker top 9234b9487c39b7ea1514c96748959cefb3e3d761d31ef7d81cea518585afdf42 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:44:56.994Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-17T17:44:57.280Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-17T17:44:57.564Z] + ls /var/log/sa-host [2023-01-17T17:44:57.564Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:44:57.632Z] provisioning config files... [2023-01-17T17:44:57.639Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8089683236640403929tmp [Pipeline] { [Pipeline] echo [2023-01-17T17:44:57.650Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:57.930Z] ---> create-netrc.sh [Pipeline] } [2023-01-17T17:44:57.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:58.254Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-17T17:44:58.264Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:58.546Z] ---> sudo-logs.sh [2023-01-17T17:44:58.546Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-17T17:44:58.571Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:58.855Z] ---> job-cost.sh [2023-01-17T17:44:58.855Z] lf-activate-venv: SKIPPING [2023-01-17T17:44:58.855Z] DEBUG: total: 0.2199999988079071 [2023-01-17T17:44:58.855Z] INFO: Retrieving Stack Cost... [2023-01-17T17:44:59.112Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T17:44:59.677Z] INFO: Archiving Costs [Pipeline] echo [2023-01-17T17:44:59.689Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:59.969Z] ---> logs-deploy.sh [2023-01-17T17:44:59.969Z] lf-activate-venv: SKIPPING [2023-01-17T17:44:59.969Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/78 [2023-01-17T17:44:59.969Z] INFO: archiving workspace using pattern(s): [2023-01-17T17:45:00.905Z] Archives upload complete. [2023-01-17T17:45:00.905Z] INFO: archiving logs to Nexus