Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 401106fad354fe4e00d3a8593bef2b7e60417552 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-ssh3326831585640359795.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh716124945024514478.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh9311457800138395623.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh18175832525779807113.key Verifying host key using known hosts file > 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-ssh12879713442830506692.key Verifying host key using known hosts file > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6937 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 401106fad354fe4e00d3a8593bef2b7e60417552 (main) Commit message: "Merge pull request #216 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.34" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 401106fad354fe4e00d3a8593bef2b7e60417552 # timeout=10 > git rev-list --no-walk fa2594666deb171bc078c2a791882f5db0311ade # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T20:44:01.284Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T20:44:01.341Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T20:44:01.356Z] ========================================================= [2022-10-03T20:44:01.356Z] EdgeX Global Pipelines Version Info [2022-10-03T20:44:01.356Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:44:02.066Z] ------------------- [2022-10-03T20:44:02.066Z] stable info: [2022-10-03T20:44:02.066Z] ------------------- [2022-10-03T20:44:02.066Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T20:44:02.066Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T20:44:02.066Z] Message: update stable to v1.0.239 [2022-10-03T20:44:02.637Z] ------------------- [2022-10-03T20:44:02.637Z] experimental info: [2022-10-03T20:44:02.637Z] ------------------- [2022-10-03T20:44:02.637Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T20:44:02.637Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T20:44:02.637Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T20:44:02.793Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-03T20:44:02.805Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-03T20:44:02.816Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T20:44:02.826Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T20:44:02.839Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T20:44:02.848Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T20:44:02.857Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T20:44:02.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T20:44:02.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T20:44:02.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T20:44:02.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T20:44:02.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-03T20:44:02.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T20:44:02.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T20:44:02.956Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T20:44:02.970Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T20:44:02.981Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T20:44:02.993Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T20:44:03.009Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T20:44:03.023Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T20:44:03.039Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-03T20:44:03.050Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-03T20:44:03.063Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T20:44:03.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T20:44:03.085Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T20:44:03.100Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T20:44:03.111Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T20:44:03.123Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-10-03T20:44:03.136Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-10-03T20:44:03.147Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-10-03T20:44:03.158Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] echo [2022-10-03T20:44:03.170Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 401106f [Pipeline] echo [2022-10-03T20:44:03.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T20:44:03.233Z] provisioning config files... [2022-10-03T20:44:03.247Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13023147735725987391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:44:03.547Z] ---> docker-login.sh [2022-10-03T20:44:03.547Z] nexus3.edgexfoundry.org:10001 [2022-10-03T20:44:03.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:44:04.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:44:04.068Z] Configure a credential helper to remove this warning. See [2022-10-03T20:44:04.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:44:04.068Z] [2022-10-03T20:44:04.068Z] Login Succeeded [2022-10-03T20:44:04.068Z] nexus3.edgexfoundry.org:10002 [2022-10-03T20:44:04.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:44:04.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:44:04.068Z] Configure a credential helper to remove this warning. See [2022-10-03T20:44:04.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:44:04.068Z] [2022-10-03T20:44:04.068Z] Login Succeeded [2022-10-03T20:44:04.068Z] nexus3.edgexfoundry.org:10003 [2022-10-03T20:44:04.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:44:04.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:44:04.328Z] Configure a credential helper to remove this warning. See [2022-10-03T20:44:04.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:44:04.328Z] [2022-10-03T20:44:04.328Z] Login Succeeded [2022-10-03T20:44:04.328Z] nexus3.edgexfoundry.org:10004 [2022-10-03T20:44:04.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:44:04.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:44:04.328Z] Configure a credential helper to remove this warning. See [2022-10-03T20:44:04.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:44:04.328Z] [2022-10-03T20:44:04.328Z] Login Succeeded [2022-10-03T20:44:04.328Z] docker.io [2022-10-03T20:44:04.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:44:04.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:44:04.897Z] Configure a credential helper to remove this warning. See [2022-10-03T20:44:04.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:44:04.897Z] [2022-10-03T20:44:04.897Z] Login Succeeded [2022-10-03T20:44:04.897Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T20:44:04.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T20:44:05.277Z] + git rev-list -1 --merges 401106fad354fe4e00d3a8593bef2b7e60417552~1..401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] echo [2022-10-03T20:44:05.318Z] -----------> git rev-list -1 --merges 401106fad354fe4e00d3a8593bef2b7e60417552~1..401106fad354fe4e00d3a8593bef2b7e60417552 401106fad354fe4e00d3a8593bef2b7e60417552 [2022-10-03T20:44:05.318Z] 401106fad354fe4e00d3a8593bef2b7e60417552 [false] [Pipeline] sh [2022-10-03T20:44:05.606Z] + git log --format=format:%s -1 401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] echo [2022-10-03T20:44:05.620Z] ========================================================= [2022-10-03T20:44:05.620Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T20:44:05.620Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T20:44:05.938Z] + git log --format=format:%s -1 401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] echo [2022-10-03T20:44:05.949Z] [semverPrep] GIT_COMMIT: 401106fad354fe4e00d3a8593bef2b7e60417552, Commit Message: Merge pull request #216 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.34 [Pipeline] echo [2022-10-03T20:44:05.960Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T20:44:06.310Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T20:44:06.310Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T20:44:06.310Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T20:44:06.310Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T20:44:06.310Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T20:44:06.310Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T20:44:06.310Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:44:06.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T20:44:06.715Z] [2022-10-03T20:44:06.715Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:44:07.016Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T20:44:07.016Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T20:44:07.016Z] b85a868b505f: Pulling fs layer [2022-10-03T20:44:07.016Z] e2be974225ed: Pulling fs layer [2022-10-03T20:44:07.016Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T20:44:07.016Z] 988bab9f4d93: Pulling fs layer [2022-10-03T20:44:07.016Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T20:44:07.016Z] eaf3925da568: Pulling fs layer [2022-10-03T20:44:07.016Z] bab4dde63d76: Pulling fs layer [2022-10-03T20:44:07.016Z] bde34c3a00c8: Pulling fs layer [2022-10-03T20:44:07.016Z] b352a97aabf1: Pulling fs layer [2022-10-03T20:44:07.016Z] 4872d77fe225: Pulling fs layer [2022-10-03T20:44:07.016Z] 5851b861e8e6: Pulling fs layer [2022-10-03T20:44:07.016Z] bab4dde63d76: Waiting [2022-10-03T20:44:07.016Z] bde34c3a00c8: Waiting [2022-10-03T20:44:07.016Z] b352a97aabf1: Waiting [2022-10-03T20:44:07.016Z] 4872d77fe225: Waiting [2022-10-03T20:44:07.016Z] 5851b861e8e6: Waiting [2022-10-03T20:44:07.016Z] 988bab9f4d93: Waiting [2022-10-03T20:44:07.016Z] 1469e6f7b9e6: Waiting [2022-10-03T20:44:07.016Z] eaf3925da568: Waiting [2022-10-03T20:44:07.016Z] e2be974225ed: Verifying Checksum [2022-10-03T20:44:07.016Z] e2be974225ed: Download complete [2022-10-03T20:44:07.016Z] 988bab9f4d93: Verifying Checksum [2022-10-03T20:44:07.016Z] 988bab9f4d93: Download complete [2022-10-03T20:44:07.276Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T20:44:07.276Z] 1469e6f7b9e6: Download complete [2022-10-03T20:44:07.276Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T20:44:07.276Z] 339a4e72a1f5: Download complete [2022-10-03T20:44:07.276Z] eaf3925da568: Verifying Checksum [2022-10-03T20:44:07.276Z] eaf3925da568: Download complete [2022-10-03T20:44:07.276Z] bde34c3a00c8: Verifying Checksum [2022-10-03T20:44:07.276Z] bde34c3a00c8: Download complete [2022-10-03T20:44:07.276Z] b352a97aabf1: Download complete [2022-10-03T20:44:07.276Z] 4872d77fe225: Verifying Checksum [2022-10-03T20:44:07.276Z] 5851b861e8e6: Download complete [2022-10-03T20:44:07.276Z] b85a868b505f: Verifying Checksum [2022-10-03T20:44:07.276Z] b85a868b505f: Download complete [2022-10-03T20:44:07.535Z] bab4dde63d76: Verifying Checksum [2022-10-03T20:44:07.535Z] bab4dde63d76: Download complete [2022-10-03T20:44:08.912Z] b85a868b505f: Pull complete [2022-10-03T20:44:08.912Z] e2be974225ed: Pull complete [2022-10-03T20:44:09.171Z] 339a4e72a1f5: Pull complete [2022-10-03T20:44:09.429Z] 988bab9f4d93: Pull complete [2022-10-03T20:44:09.688Z] 1469e6f7b9e6: Pull complete [2022-10-03T20:44:09.688Z] eaf3925da568: Pull complete [2022-10-03T20:44:11.606Z] bab4dde63d76: Pull complete [2022-10-03T20:44:11.606Z] bde34c3a00c8: Pull complete [2022-10-03T20:44:11.866Z] b352a97aabf1: Pull complete [2022-10-03T20:44:11.866Z] 4872d77fe225: Pull complete [2022-10-03T20:44:12.132Z] 5851b861e8e6: Pull complete [2022-10-03T20:44:12.132Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T20:44:12.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T20:44:12.132Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:44:12.221Z] prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container [2022-10-03T20:44:12.252Z] $ 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 [2022-10-03T20:44:13.751Z] $ docker top 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 -eo pid,comm [2022-10-03T20:44:13.812Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-03T20:44:13.812Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T20:44:13.846Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T20:44:13.846Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T20:44:13.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T20:44:13.975Z] $ docker exec 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 ssh-agent [2022-10-03T20:44:14.093Z] SSH_AUTH_SOCK=/tmp/ssh-8tZ12rahqszD/agent.33 [2022-10-03T20:44:14.093Z] SSH_AGENT_PID=39 [2022-10-03T20:44:14.100Z] Running ssh-add (command line suppressed) [2022-10-03T20:44:14.214Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8383018511803152872.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8383018511803152872.key) [2022-10-03T20:44:14.226Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T20:44:14.520Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T20:44:14.535Z] $ docker exec --env ******** --env ******** 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 ssh-agent -k [2022-10-03T20:44:14.631Z] unset SSH_AUTH_SOCK; [2022-10-03T20:44:14.632Z] unset SSH_AGENT_PID; [2022-10-03T20:44:14.632Z] echo Agent pid 39 killed; [2022-10-03T20:44:14.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T20:44:14.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T20:44:14.662Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T20:44:14.785Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T20:44:14.789Z] $ docker exec 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 ssh-agent [2022-10-03T20:44:14.914Z] SSH_AUTH_SOCK=/tmp/ssh-Ua6x9FzBzSrU/agent.71 [2022-10-03T20:44:14.914Z] SSH_AGENT_PID=77 [2022-10-03T20:44:14.919Z] Running ssh-add (command line suppressed) [2022-10-03T20:44:15.040Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3557249793251440192.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3557249793251440192.key) [2022-10-03T20:44:15.053Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T20:44:15.335Z] + git semver init [2022-10-03T20:44:15.594Z] 2022-10-03 20:44:15,529 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T20:44:15.594Z] 2022-10-03 20:44:15,529 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-10-03T20:44:15.594Z] 2022-10-03 20:44:15,530 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-10-03T20:44:15.594Z] 2022-10-03 20:44:15,530 [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) [2022-10-03T20:44:16.978Z] 2022-10-03 20:44:16,709 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-10-03T20:44:16.978Z] 2022-10-03 20:44:16,709 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-10-03T20:44:16.978Z] 2022-10-03 20:44:16,709 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-03T20:44:16.978Z] 2022-10-03 20:44:16,710 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-03T20:44:16.978Z] 2.3.0-dev.17 [Pipeline] } [2022-10-03T20:44:16.988Z] $ docker exec --env ******** --env ******** 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 ssh-agent -k [2022-10-03T20:44:17.095Z] unset SSH_AUTH_SOCK; [2022-10-03T20:44:17.096Z] unset SSH_AGENT_PID; [2022-10-03T20:44:17.096Z] echo Agent pid 77 killed; [2022-10-03T20:44:17.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T20:44:17.409Z] + git semver [Pipeline] } [2022-10-03T20:44:17.683Z] $ docker stop --time=1 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 [2022-10-03T20:44:19.054Z] $ docker rm -f 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T20:44:19.397Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T20:44:19.571Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T20:44:19.574Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.17 [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 [2022-10-03T20:44:19.714Z] provisioning config files... [2022-10-03T20:44:19.723Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7038170755223125992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:44:20.019Z] ---> docker-login.sh [2022-10-03T20:44:20.019Z] nexus3.edgexfoundry.org:10001 [2022-10-03T20:44:20.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:44:20.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:44:20.019Z] Configure a credential helper to remove this warning. See [2022-10-03T20:44:20.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:44:20.019Z] [2022-10-03T20:44:20.019Z] Login Succeeded [2022-10-03T20:44:20.019Z] nexus3.edgexfoundry.org:10002 [2022-10-03T20:44:20.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:44:20.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:44:20.019Z] Configure a credential helper to remove this warning. See [2022-10-03T20:44:20.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:44:20.019Z] [2022-10-03T20:44:20.019Z] Login Succeeded [2022-10-03T20:44:20.019Z] nexus3.edgexfoundry.org:10003 [2022-10-03T20:44:20.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:44:20.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:44:20.278Z] Configure a credential helper to remove this warning. See [2022-10-03T20:44:20.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:44:20.278Z] [2022-10-03T20:44:20.278Z] Login Succeeded [2022-10-03T20:44:20.278Z] nexus3.edgexfoundry.org:10004 [2022-10-03T20:44:20.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:44:20.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:44:20.278Z] Configure a credential helper to remove this warning. See [2022-10-03T20:44:20.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:44:20.278Z] [2022-10-03T20:44:20.278Z] Login Succeeded [2022-10-03T20:44:20.278Z] docker.io [2022-10-03T20:44:20.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:44:20.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:44:20.808Z] Configure a credential helper to remove this warning. See [2022-10-03T20:44:20.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:44:20.808Z] [2022-10-03T20:44:20.808Z] Login Succeeded [2022-10-03T20:44:20.808Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T20:44:20.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T20:44:20.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:44:20.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:44:20.899Z] ========================================================= [2022-10-03T20:44:20.899Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T20:44:20.899Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:44:21.211Z] + 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 . [2022-10-03T20:44:21.211Z] Sending build context to Docker daemon 10.72MB [2022-10-03T20:44:21.211Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T20:44:21.211Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T20:44:21.211Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T20:44:21.211Z] 2408cc74d12b: Pulling fs layer [2022-10-03T20:44:21.211Z] ea60b727a1ce: Pulling fs layer [2022-10-03T20:44:21.211Z] 30c4a7721957: Pulling fs layer [2022-10-03T20:44:21.211Z] 370296b7ddb6: Pulling fs layer [2022-10-03T20:44:21.211Z] 7c6cee850709: Pulling fs layer [2022-10-03T20:44:21.211Z] aa9baa53a306: Pulling fs layer [2022-10-03T20:44:21.211Z] 8b309c321861: Pulling fs layer [2022-10-03T20:44:21.211Z] d8d76fd02f46: Pulling fs layer [2022-10-03T20:44:21.211Z] fa31f396de31: Pulling fs layer [2022-10-03T20:44:21.211Z] 7c6cee850709: Waiting [2022-10-03T20:44:21.211Z] 370296b7ddb6: Waiting [2022-10-03T20:44:21.211Z] aa9baa53a306: Waiting [2022-10-03T20:44:21.211Z] d8d76fd02f46: Waiting [2022-10-03T20:44:21.211Z] fa31f396de31: Waiting [2022-10-03T20:44:21.211Z] 8b309c321861: Waiting [2022-10-03T20:44:21.211Z] 30c4a7721957: Verifying Checksum [2022-10-03T20:44:21.211Z] 30c4a7721957: Download complete [2022-10-03T20:44:21.472Z] ea60b727a1ce: Verifying Checksum [2022-10-03T20:44:21.472Z] ea60b727a1ce: Download complete [2022-10-03T20:44:21.472Z] 7c6cee850709: Download complete [2022-10-03T20:44:21.472Z] aa9baa53a306: Download complete [2022-10-03T20:44:21.472Z] 2408cc74d12b: Verifying Checksum [2022-10-03T20:44:21.472Z] 2408cc74d12b: Download complete [2022-10-03T20:44:21.472Z] 8b309c321861: Verifying Checksum [2022-10-03T20:44:21.472Z] 8b309c321861: Download complete [2022-10-03T20:44:21.472Z] 2408cc74d12b: Pull complete [2022-10-03T20:44:21.732Z] ea60b727a1ce: Pull complete [2022-10-03T20:44:21.732Z] 30c4a7721957: Pull complete [2022-10-03T20:44:21.989Z] fa31f396de31: Verifying Checksum [2022-10-03T20:44:21.989Z] fa31f396de31: Download complete [2022-10-03T20:44:21.989Z] d8d76fd02f46: Verifying Checksum [2022-10-03T20:44:22.246Z] 370296b7ddb6: Verifying Checksum [2022-10-03T20:44:22.246Z] 370296b7ddb6: Download complete [2022-10-03T20:44:26.431Z] 370296b7ddb6: Pull complete [2022-10-03T20:44:26.431Z] 7c6cee850709: Pull complete [2022-10-03T20:44:26.431Z] aa9baa53a306: Pull complete [2022-10-03T20:44:26.431Z] 8b309c321861: Pull complete [2022-10-03T20:44:28.329Z] d8d76fd02f46: Pull complete [2022-10-03T20:44:28.897Z] fa31f396de31: Pull complete [2022-10-03T20:44:29.158Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T20:44:29.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T20:44:29.158Z] ---> cef68f9685f8 [2022-10-03T20:44:29.158Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T20:44:31.068Z] ---> Running in e7b455c03107 [2022-10-03T20:44:31.068Z] Removing intermediate container e7b455c03107 [2022-10-03T20:44:31.068Z] ---> a071bcef2d63 [2022-10-03T20:44:31.068Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T20:44:31.329Z] ---> Running in 4bcfd5b08d0e [2022-10-03T20:44:31.329Z] Removing intermediate container 4bcfd5b08d0e [2022-10-03T20:44:31.329Z] ---> dc2e59c675e1 [2022-10-03T20:44:31.329Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T20:44:31.329Z] ---> Running in 23a7ab78a781 [2022-10-03T20:44:31.595Z] Removing intermediate container 23a7ab78a781 [2022-10-03T20:44:31.595Z] ---> 7a4a3e6e2653 [2022-10-03T20:44:31.595Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T20:44:31.595Z] ---> Running in c86770a660ee [2022-10-03T20:44:31.595Z] Removing intermediate container c86770a660ee [2022-10-03T20:44:31.595Z] ---> 69f68daf84a5 [2022-10-03T20:44:31.595Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T20:44:31.854Z] ---> Running in 9f44047868de [2022-10-03T20:44:32.422Z] Removing intermediate container 9f44047868de [2022-10-03T20:44:32.422Z] ---> 7902c45908a1 [2022-10-03T20:44:32.422Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T20:44:32.422Z] ---> Running in cd4473c6d8c3 [2022-10-03T20:44:32.681Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T20:44:33.615Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T20:44:33.875Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T20:44:33.875Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T20:44:34.133Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T20:44:34.133Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T20:44:34.133Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T20:44:34.133Z] OK: 216 MiB in 55 packages [2022-10-03T20:44:34.675Z] Still waiting to schedule task [2022-10-03T20:44:34.676Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-03T20:44:34.702Z] Removing intermediate container cd4473c6d8c3 [2022-10-03T20:44:34.702Z] ---> 1910e6f6af40 [2022-10-03T20:44:34.702Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-03T20:44:34.702Z] ---> Running in ea8ea6b0528b [2022-10-03T20:44:34.961Z] Removing intermediate container ea8ea6b0528b [2022-10-03T20:44:34.961Z] ---> 32bdb42ec390 [2022-10-03T20:44:34.961Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T20:44:34.961Z] ---> 766a18da2c42 [2022-10-03T20:44:34.961Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T20:44:35.221Z] ---> Running in 86fb876431ae [2022-10-03T20:44:53.320Z] Removing intermediate container 86fb876431ae [2022-10-03T20:44:53.320Z] ---> d6ca072efaff [2022-10-03T20:44:53.320Z] Step 12/13 : COPY . . [2022-10-03T20:44:53.320Z] ---> fd2b0334b95f [2022-10-03T20:44:53.320Z] Step 13/13 : RUN $MAKE [2022-10-03T20:44:53.320Z] ---> Running in 71134a558b2f [2022-10-03T20:44:53.320Z] noop [2022-10-03T20:44:53.320Z] Removing intermediate container 71134a558b2f [2022-10-03T20:44:53.320Z] ---> ead9f3df4c32 [2022-10-03T20:44:53.320Z] Successfully built ead9f3df4c32 [2022-10-03T20:44:53.320Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:44:53.625Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T20:44:53.625Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:44:53.690Z] prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container [2022-10-03T20:44:53.715Z] $ 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 [2022-10-03T20:44:54.092Z] $ docker top 61c9f556d4a3dfc15e0e5db24f7eb32cc0e88c7dd87b18a0f5f603e174527d1d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:44:54.426Z] + go version [2022-10-03T20:44:54.426Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T20:44:54.438Z] $ docker stop --time=1 61c9f556d4a3dfc15e0e5db24f7eb32cc0e88c7dd87b18a0f5f603e174527d1d [2022-10-03T20:44:55.749Z] $ docker rm -f 61c9f556d4a3dfc15e0e5db24f7eb32cc0e88c7dd87b18a0f5f603e174527d1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:44:56.148Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T20:44:56.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:44:56.215Z] prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container [2022-10-03T20:44:56.245Z] $ 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 [2022-10-03T20:44:56.617Z] $ docker top 7310c461ed628ba99af1688c89bdd0b5fa2fb7130f59be805b3107de0ca64c20 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:44:56.960Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2022-10-03T20:44:57.256Z] + make test [2022-10-03T20:44:57.256Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T20:44:57.514Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-03T20:45:09.732Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-03T20:45:09.732Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-10-03T20:45:16.300Z] 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." [2022-10-03T20:45:16.300Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T20:45:19.588Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T20:45:19.588Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T20:45:19.588Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T20:45:19.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T20:45:19.616Z] $ docker stop --time=1 7310c461ed628ba99af1688c89bdd0b5fa2fb7130f59be805b3107de0ca64c20 [2022-10-03T20:45:21.503Z] $ docker rm -f 7310c461ed628ba99af1688c89bdd0b5fa2fb7130f59be805b3107de0ca64c20 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T20:45:21.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T20:45:21.967Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T20:45:22.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T20:45:22.738Z] + ls -al . [2022-10-03T20:45:22.738Z] total 180 [2022-10-03T20:45:22.738Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 20:44 . [2022-10-03T20:45:22.738Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:43 .. [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 3 20:44 .dockerignore [2022-10-03T20:45:22.738Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:45 .git [2022-10-03T20:45:22.738Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:44 .github [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 20:44 .gitignore [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 20:44 .golangci.yml [2022-10-03T20:45:22.738Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:44 .semver [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 3 20:44 Attribution.txt [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 3 20:44 CHANGELOG.md [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 3 20:44 Dockerfile [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 20:44 GOVERNANCE.md [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 20:44 Jenkinsfile [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 20:44 LICENSE [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 3 20:44 Makefile [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 20:44 OWNERS.md [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 3 20:44 README.md [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 20:44 VERSION [2022-10-03T20:45:22.738Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:44 bin [2022-10-03T20:45:22.738Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:44 cmd [2022-10-03T20:45:22.738Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 3 20:45 coverage.out [2022-10-03T20:45:22.738Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:44 driver [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 3 20:44 go.mod [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 20:44 go.sum [2022-10-03T20:45:22.738Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:44 snap [2022-10-03T20:45:22.738Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 3 20:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:23.067Z] + 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=401106fad354fe4e00d3a8593bef2b7e60417552 --label arch=amd64 --label version=2.3.0-dev.17 . [2022-10-03T20:45:23.067Z] Sending build context to Docker daemon 10.73MB [2022-10-03T20:45:23.067Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T20:45:23.067Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-03T20:45:23.067Z] ---> ead9f3df4c32 [2022-10-03T20:45:23.067Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-03T20:45:23.326Z] ---> Running in 78d035eece8c [2022-10-03T20:45:23.584Z] Removing intermediate container 78d035eece8c [2022-10-03T20:45:23.584Z] ---> 67923983856a [2022-10-03T20:45:23.584Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T20:45:23.584Z] ---> Running in e06560513f42 [2022-10-03T20:45:23.842Z] Removing intermediate container e06560513f42 [2022-10-03T20:45:23.842Z] ---> 89aa47e957e3 [2022-10-03T20:45:23.842Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T20:45:23.842Z] ---> Running in 5da07c19d9e2 [2022-10-03T20:45:23.842Z] Removing intermediate container 5da07c19d9e2 [2022-10-03T20:45:23.842Z] ---> 2932d8f32e3f [2022-10-03T20:45:23.842Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T20:45:23.842Z] ---> Running in 82a69c412eef [2022-10-03T20:45:24.102Z] Removing intermediate container 82a69c412eef [2022-10-03T20:45:24.102Z] ---> 1e9f7613eb84 [2022-10-03T20:45:24.102Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T20:45:24.102Z] ---> Running in eb55222a591e [2022-10-03T20:45:24.673Z] Removing intermediate container eb55222a591e [2022-10-03T20:45:24.673Z] ---> 0d78e83b5847 [2022-10-03T20:45:24.673Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T20:45:24.673Z] ---> Running in c734cdfef6fd [2022-10-03T20:45:24.937Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T20:45:25.876Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T20:45:26.135Z] OK: 216 MiB in 55 packages [2022-10-03T20:45:26.394Z] Removing intermediate container c734cdfef6fd [2022-10-03T20:45:26.394Z] ---> 65d3297b64aa [2022-10-03T20:45:26.394Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-03T20:45:26.394Z] ---> Running in 6948bea4bbce [2022-10-03T20:45:26.653Z] Removing intermediate container 6948bea4bbce [2022-10-03T20:45:26.653Z] ---> b38d89f43dfb [2022-10-03T20:45:26.653Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-03T20:45:26.653Z] ---> e6a0c2ec6542 [2022-10-03T20:45:26.653Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T20:45:26.913Z] ---> Running in 36874a1770b1 [2022-10-03T20:45:27.487Z] Removing intermediate container 36874a1770b1 [2022-10-03T20:45:27.487Z] ---> b68124b0d498 [2022-10-03T20:45:27.487Z] Step 12/26 : COPY . . [2022-10-03T20:45:28.055Z] ---> 21dea8f50dc7 [2022-10-03T20:45:28.055Z] Step 13/26 : RUN $MAKE [2022-10-03T20:45:28.055Z] ---> Running in 23474fb53d30 [2022-10-03T20:45:28.314Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-03T20:45:50.283Z] Removing intermediate container 23474fb53d30 [2022-10-03T20:45:50.283Z] ---> b5655257f5ba [2022-10-03T20:45:50.283Z] Step 14/26 : FROM alpine:3.16 [2022-10-03T20:45:50.283Z] 3.16: Pulling from library/alpine [2022-10-03T20:45:50.283Z] 213ec9aee27d: Pulling fs layer [2022-10-03T20:45:50.283Z] 213ec9aee27d: Verifying Checksum [2022-10-03T20:45:50.283Z] 213ec9aee27d: Download complete [2022-10-03T20:45:50.283Z] 213ec9aee27d: Pull complete [2022-10-03T20:45:50.283Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T20:45:50.283Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T20:45:50.283Z] ---> 9c6f07244728 [2022-10-03T20:45:50.283Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-03T20:45:50.283Z] ---> Running in 16728453102b [2022-10-03T20:45:50.283Z] Removing intermediate container 16728453102b [2022-10-03T20:45:50.283Z] ---> ed53a12ef1d1 [2022-10-03T20:45:50.283Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-03T20:45:50.283Z] ---> Running in f1763f204cf3 [2022-10-03T20:45:50.283Z] Removing intermediate container f1763f204cf3 [2022-10-03T20:45:50.283Z] ---> 248d2c186286 [2022-10-03T20:45:50.283Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T20:45:50.283Z] ---> Running in b4241ef0be1b [2022-10-03T20:45:50.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T20:45:50.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T20:45:50.283Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T20:45:50.283Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T20:45:50.283Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T20:45:50.283Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T20:45:50.283Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T20:45:50.283Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T20:45:50.283Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T20:45:50.283Z] OK: 8 MiB in 20 packages [2022-10-03T20:45:50.283Z] Removing intermediate container b4241ef0be1b [2022-10-03T20:45:50.283Z] ---> 95c341059048 [2022-10-03T20:45:50.283Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-03T20:45:50.875Z] ---> a2093608df19 [2022-10-03T20:45:50.875Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-03T20:45:50.875Z] ---> bea6f844bfcf [2022-10-03T20:45:50.875Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-03T20:45:51.150Z] ---> 0901624f56c7 [2022-10-03T20:45:51.150Z] Step 21/26 : EXPOSE 59986 [2022-10-03T20:45:51.150Z] ---> Running in f355ffecb840 [2022-10-03T20:45:51.150Z] Removing intermediate container f355ffecb840 [2022-10-03T20:45:51.150Z] ---> d51d03f7b71f [2022-10-03T20:45:51.150Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-03T20:45:51.150Z] ---> Running in 6de4afca102e [2022-10-03T20:45:51.429Z] Removing intermediate container 6de4afca102e [2022-10-03T20:45:51.429Z] ---> f8d423d25e40 [2022-10-03T20:45:51.429Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-03T20:45:51.429Z] ---> Running in 31d131394bca [2022-10-03T20:45:51.429Z] Removing intermediate container 31d131394bca [2022-10-03T20:45:51.429Z] ---> 437384d8d445 [2022-10-03T20:45:51.429Z] Step 24/26 : LABEL arch=amd64 [2022-10-03T20:45:51.713Z] ---> Running in cd0a2eec083f [2022-10-03T20:45:51.713Z] Removing intermediate container cd0a2eec083f [2022-10-03T20:45:51.713Z] ---> 37cef249efaf [2022-10-03T20:45:51.713Z] Step 25/26 : LABEL git_sha=401106fad354fe4e00d3a8593bef2b7e60417552 [2022-10-03T20:45:51.713Z] ---> Running in 13a4ab59a037 [2022-10-03T20:45:51.713Z] Removing intermediate container 13a4ab59a037 [2022-10-03T20:45:51.713Z] ---> d06de6f75793 [2022-10-03T20:45:51.713Z] Step 26/26 : LABEL version=2.3.0-dev.17 [2022-10-03T20:45:51.974Z] ---> Running in 69c5f0b7323f [2022-10-03T20:45:51.974Z] Removing intermediate container 69c5f0b7323f [2022-10-03T20:45:51.974Z] ---> 86da95c618d7 [2022-10-03T20:45:51.974Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T20:45:51.974Z] Successfully built 86da95c618d7 [2022-10-03T20:45:51.974Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T20:45:52.074Z] provisioning config files... [2022-10-03T20:45:52.083Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6030132136341183026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:45:52.372Z] ---> docker-login.sh [2022-10-03T20:45:52.372Z] nexus3.edgexfoundry.org:10001 [2022-10-03T20:45:52.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:45:52.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:45:52.372Z] Configure a credential helper to remove this warning. See [2022-10-03T20:45:52.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:45:52.372Z] [2022-10-03T20:45:52.372Z] Login Succeeded [2022-10-03T20:45:52.372Z] nexus3.edgexfoundry.org:10002 [2022-10-03T20:45:52.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:45:52.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:45:52.372Z] Configure a credential helper to remove this warning. See [2022-10-03T20:45:52.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:45:52.372Z] [2022-10-03T20:45:52.372Z] Login Succeeded [2022-10-03T20:45:52.372Z] nexus3.edgexfoundry.org:10003 [2022-10-03T20:45:52.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:45:52.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:45:52.631Z] Configure a credential helper to remove this warning. See [2022-10-03T20:45:52.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:45:52.631Z] [2022-10-03T20:45:52.631Z] Login Succeeded [2022-10-03T20:45:52.631Z] nexus3.edgexfoundry.org:10004 [2022-10-03T20:45:52.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:45:52.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:45:52.631Z] Configure a credential helper to remove this warning. See [2022-10-03T20:45:52.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:45:52.631Z] [2022-10-03T20:45:52.631Z] Login Succeeded [2022-10-03T20:45:52.631Z] docker.io [2022-10-03T20:45:52.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:45:53.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:45:53.151Z] Configure a credential helper to remove this warning. See [2022-10-03T20:45:53.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:45:53.151Z] [2022-10-03T20:45:53.151Z] Login Succeeded [2022-10-03T20:45:53.151Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T20:45:53.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-03T20:45:53.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:45:53.197Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-10-03T20:45:53.197Z] 401106fad354fe4e00d3a8593bef2b7e60417552 [2022-10-03T20:45:53.197Z] latest [2022-10-03T20:45:53.197Z] 2.3.0-dev.17 [2022-10-03T20:45:53.197Z] 401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 [2022-10-03T20:45:53.197Z] main [2022-10-03T20:45:53.197Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:53.505Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:53.806Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:401106fad354fe4e00d3a8593bef2b7e60417552 [2022-10-03T20:45:53.806Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-03T20:45:53.806Z] de219d93148f: Preparing [2022-10-03T20:45:53.806Z] 2c642d55c7f0: Preparing [2022-10-03T20:45:53.806Z] adef61966ce7: Preparing [2022-10-03T20:45:53.806Z] bfc3f619453f: Preparing [2022-10-03T20:45:53.806Z] 994393dc58e7: Preparing [2022-10-03T20:45:53.806Z] 994393dc58e7: Layer already exists [2022-10-03T20:45:53.806Z] de219d93148f: Pushed [2022-10-03T20:45:53.806Z] 2c642d55c7f0: Pushed [2022-10-03T20:45:54.064Z] bfc3f619453f: Pushed [2022-10-03T20:45:56.597Z] adef61966ce7: Pushed [2022-10-03T20:45:56.597Z] 401106fad354fe4e00d3a8593bef2b7e60417552: digest: sha256:0cdb27094e7fc5021a0c2d8286f8ff3eee1c85c7805e532eec4a2fb23d949ec4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:56.902Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:57.205Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-10-03T20:45:57.205Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-03T20:45:57.205Z] de219d93148f: Preparing [2022-10-03T20:45:57.205Z] 2c642d55c7f0: Preparing [2022-10-03T20:45:57.205Z] adef61966ce7: Preparing [2022-10-03T20:45:57.205Z] bfc3f619453f: Preparing [2022-10-03T20:45:57.205Z] 994393dc58e7: Preparing [2022-10-03T20:45:57.205Z] de219d93148f: Layer already exists [2022-10-03T20:45:57.205Z] 994393dc58e7: Layer already exists [2022-10-03T20:45:57.205Z] adef61966ce7: Layer already exists [2022-10-03T20:45:57.205Z] 2c642d55c7f0: Layer already exists [2022-10-03T20:45:57.205Z] bfc3f619453f: Layer already exists [2022-10-03T20:45:57.205Z] latest: digest: sha256:0cdb27094e7fc5021a0c2d8286f8ff3eee1c85c7805e532eec4a2fb23d949ec4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:57.509Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:57.807Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.17 [2022-10-03T20:45:57.807Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-03T20:45:57.807Z] de219d93148f: Preparing [2022-10-03T20:45:57.807Z] 2c642d55c7f0: Preparing [2022-10-03T20:45:57.807Z] adef61966ce7: Preparing [2022-10-03T20:45:57.807Z] bfc3f619453f: Preparing [2022-10-03T20:45:57.807Z] 994393dc58e7: Preparing [2022-10-03T20:45:57.807Z] de219d93148f: Layer already exists [2022-10-03T20:45:57.807Z] 2c642d55c7f0: Layer already exists [2022-10-03T20:45:57.807Z] bfc3f619453f: Layer already exists [2022-10-03T20:45:57.807Z] adef61966ce7: Layer already exists [2022-10-03T20:45:57.807Z] 994393dc58e7: Layer already exists [2022-10-03T20:45:57.807Z] 2.3.0-dev.17: digest: sha256:0cdb27094e7fc5021a0c2d8286f8ff3eee1c85c7805e532eec4a2fb23d949ec4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:58.110Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:58.418Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 [2022-10-03T20:45:58.418Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-03T20:45:58.418Z] de219d93148f: Preparing [2022-10-03T20:45:58.418Z] 2c642d55c7f0: Preparing [2022-10-03T20:45:58.418Z] adef61966ce7: Preparing [2022-10-03T20:45:58.418Z] bfc3f619453f: Preparing [2022-10-03T20:45:58.418Z] 994393dc58e7: Preparing [2022-10-03T20:45:58.418Z] 994393dc58e7: Layer already exists [2022-10-03T20:45:58.418Z] 2c642d55c7f0: Layer already exists [2022-10-03T20:45:58.418Z] de219d93148f: Layer already exists [2022-10-03T20:45:58.418Z] bfc3f619453f: Layer already exists [2022-10-03T20:45:58.418Z] adef61966ce7: Layer already exists [2022-10-03T20:45:58.418Z] 401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17: digest: sha256:0cdb27094e7fc5021a0c2d8286f8ff3eee1c85c7805e532eec4a2fb23d949ec4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:58.735Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:59.033Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-10-03T20:45:59.033Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-03T20:45:59.033Z] de219d93148f: Preparing [2022-10-03T20:45:59.033Z] 2c642d55c7f0: Preparing [2022-10-03T20:45:59.033Z] adef61966ce7: Preparing [2022-10-03T20:45:59.033Z] bfc3f619453f: Preparing [2022-10-03T20:45:59.033Z] 994393dc58e7: Preparing [2022-10-03T20:45:59.033Z] adef61966ce7: Layer already exists [2022-10-03T20:45:59.033Z] de219d93148f: Layer already exists [2022-10-03T20:45:59.033Z] bfc3f619453f: Layer already exists [2022-10-03T20:45:59.033Z] 2c642d55c7f0: Layer already exists [2022-10-03T20:45:59.033Z] 994393dc58e7: Layer already exists [2022-10-03T20:45:59.033Z] main: digest: sha256:0cdb27094e7fc5021a0c2d8286f8ff3eee1c85c7805e532eec4a2fb23d949ec4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-03T20:45:59.081Z] ===================================================== [Pipeline] echo [2022-10-03T20:45:59.092Z] taggedImages: [2022-10-03T20:45:59.092Z] - nexus3.edgexfoundry.org:10004/device-rest:401106fad354fe4e00d3a8593bef2b7e60417552 [2022-10-03T20:45:59.092Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-10-03T20:45:59.092Z] - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.17 [2022-10-03T20:45:59.092Z] - nexus3.edgexfoundry.org:10004/device-rest:401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 [2022-10-03T20:45:59.092Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:59.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T20:45:59.452Z] [2022-10-03T20:45:59.452Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:45:59.751Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T20:45:59.751Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T20:45:59.751Z] 5eb5b503b376: Pulling fs layer [2022-10-03T20:45:59.751Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T20:45:59.751Z] ec43610c2a17: Pulling fs layer [2022-10-03T20:45:59.751Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T20:45:59.751Z] 33b1e0a273af: Pulling fs layer [2022-10-03T20:45:59.751Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T20:45:59.751Z] 2f39f015ded8: Pulling fs layer [2022-10-03T20:45:59.751Z] 33b1e0a273af: Waiting [2022-10-03T20:45:59.751Z] 5d3b04190fa2: Waiting [2022-10-03T20:45:59.751Z] 2f39f015ded8: Waiting [2022-10-03T20:45:59.751Z] 5c69ac0246d0: Verifying Checksum [2022-10-03T20:45:59.751Z] 5c69ac0246d0: Download complete [2022-10-03T20:45:59.751Z] 3a2ae6a8a46f: Download complete [2022-10-03T20:46:00.009Z] 33b1e0a273af: Download complete [2022-10-03T20:46:00.009Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T20:46:00.009Z] 5d3b04190fa2: Download complete [2022-10-03T20:46:00.009Z] ec43610c2a17: Verifying Checksum [2022-10-03T20:46:00.009Z] ec43610c2a17: Download complete [2022-10-03T20:46:00.009Z] 5eb5b503b376: Verifying Checksum [2022-10-03T20:46:00.009Z] 5eb5b503b376: Download complete [2022-10-03T20:46:00.574Z] 2f39f015ded8: Download complete [2022-10-03T20:46:01.509Z] 5eb5b503b376: Pull complete [2022-10-03T20:46:01.509Z] 5c69ac0246d0: Pull complete [2022-10-03T20:46:01.767Z] ec43610c2a17: Pull complete [2022-10-03T20:46:02.026Z] 3a2ae6a8a46f: Pull complete [2022-10-03T20:46:02.285Z] 33b1e0a273af: Pull complete [2022-10-03T20:46:02.285Z] 5d3b04190fa2: Pull complete [2022-10-03T20:46:03.327Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6938 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-10-03T20:46:03.339Z] Running in /w/workspace/device-rest-go/61 [Pipeline] { [Pipeline] checkout [2022-10-03T20:46:03.369Z] The recommended git tool is: git [2022-10-03T20:46:06.459Z] 2f39f015ded8: Pull complete [2022-10-03T20:46:06.459Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T20:46:06.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T20:46:06.459Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:46:06.533Z] prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container [2022-10-03T20:46:06.566Z] $ 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 [2022-10-03T20:46:08.094Z] using credential edgex-jenkins-ssh [2022-10-03T20:46:08.112Z] Cloning the remote Git repository [2022-10-03T20:46:08.157Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-03T20:46:08.235Z] $ docker top cb866889ff3ed8b54a375119061aecb8dad00088229b9922251e331569fe9507 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:46:08.627Z] ---> job-cost.sh [2022-10-03T20:46:08.627Z] lf-activate-venv: SKIPPING [2022-10-03T20:46:08.627Z] INFO: No Stack... [2022-10-03T20:46:09.194Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T20:46:08.233Z] > git init /w/workspace/device-rest-go/61 # timeout=10 [2022-10-03T20:46:08.384Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-03T20:46:08.384Z] > git --version # timeout=10 [2022-10-03T20:46:08.407Z] > git --version # 'git version 2.25.1' [2022-10-03T20:46:08.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T20:46:08.452Z] Verifying host key using known hosts file [2022-10-03T20:46:08.631Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T20:46:08.645Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T20:46:09.454Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T20:46:09.740Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-10-03T20:46:09.740Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T20:46:09.753Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] [2022-10-03T20:46:09.762Z] Resource [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] did not exist. Created. [2022-10-03T20:46:09.762Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T20:46:10.059Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T20:46:10.086Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T20:46:10.096Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T20:46:10.116Z] $ docker stop --time=1 cb866889ff3ed8b54a375119061aecb8dad00088229b9922251e331569fe9507 [2022-10-03T20:46:10.638Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-03T20:46:10.658Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T20:46:11.294Z] $ docker rm -f cb866889ff3ed8b54a375119061aecb8dad00088229b9922251e331569fe9507 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T20:46:11.434Z] Avoid second fetch [2022-10-03T20:46:11.435Z] Checking out Revision 401106fad354fe4e00d3a8593bef2b7e60417552 (main) [2022-10-03T20:46:11.892Z] Commit message: "Merge pull request #216 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.34" [2022-10-03T20:46:11.448Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T20:46:11.463Z] > git checkout -f 401106fad354fe4e00d3a8593bef2b7e60417552 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T20:46:12.791Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T20:46:12.791Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T20:46:12.791Z] Dload Upload Total Spent Left Speed [2022-10-03T20:46:12.791Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 77790 0 --:--:-- --:--:-- --:--:-- 77790 [Pipeline] sh [2022-10-03T20:46:13.379Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T20:46:13.720Z] + sudo tee /etc/docker/daemon.new [2022-10-03T20:46:13.720Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T20:46:13.720Z] { [2022-10-03T20:46:13.720Z] "registry-mirrors": [ [2022-10-03T20:46:13.720Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T20:46:13.720Z] ], [2022-10-03T20:46:13.720Z] "bip": "10.250.0.254/24", [2022-10-03T20:46:13.720Z] "hosts": [ [2022-10-03T20:46:13.720Z] "tcp://0.0.0.0:5555", [2022-10-03T20:46:13.720Z] "unix:///var/run/docker.sock" [2022-10-03T20:46:13.720Z] ], [2022-10-03T20:46:13.720Z] "mtu": 1458, [2022-10-03T20:46:13.720Z] "selinux-enabled": true, [2022-10-03T20:46:13.720Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T20:46:13.720Z] } [Pipeline] sh [2022-10-03T20:46:14.065Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T20:46:14.403Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T20:46:32.666Z] provisioning config files... [2022-10-03T20:46:32.691Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/61@tmp/config2367381824556909268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:46:33.039Z] ---> docker-login.sh [2022-10-03T20:46:33.039Z] nexus3.edgexfoundry.org:10001 [2022-10-03T20:46:33.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:46:33.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:46:33.580Z] Configure a credential helper to remove this warning. See [2022-10-03T20:46:33.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:46:33.580Z] [2022-10-03T20:46:33.580Z] Login Succeeded [2022-10-03T20:46:33.580Z] nexus3.edgexfoundry.org:10002 [2022-10-03T20:46:33.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:46:34.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:46:34.123Z] Configure a credential helper to remove this warning. See [2022-10-03T20:46:34.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:46:34.123Z] [2022-10-03T20:46:34.123Z] Login Succeeded [2022-10-03T20:46:34.123Z] nexus3.edgexfoundry.org:10003 [2022-10-03T20:46:34.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:46:34.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:46:34.395Z] Configure a credential helper to remove this warning. See [2022-10-03T20:46:34.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:46:34.395Z] [2022-10-03T20:46:34.395Z] Login Succeeded [2022-10-03T20:46:34.395Z] nexus3.edgexfoundry.org:10004 [2022-10-03T20:46:34.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:46:34.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:46:34.665Z] Configure a credential helper to remove this warning. See [2022-10-03T20:46:34.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:46:34.665Z] [2022-10-03T20:46:34.665Z] Login Succeeded [2022-10-03T20:46:34.665Z] docker.io [2022-10-03T20:46:34.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:46:35.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:46:35.204Z] Configure a credential helper to remove this warning. See [2022-10-03T20:46:35.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:46:35.204Z] [2022-10-03T20:46:35.204Z] Login Succeeded [2022-10-03T20:46:35.204Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T20:46:35.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T20:46:35.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:46:35.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:46:35.436Z] ========================================================= [2022-10-03T20:46:35.436Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T20:46:35.436Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:46:35.837Z] + 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 . [2022-10-03T20:46:35.837Z] Sending build context to Docker daemon 127kB [2022-10-03T20:46:36.108Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T20:46:36.108Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T20:46:36.108Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T20:46:36.108Z] b3c136eddcbf: Pulling fs layer [2022-10-03T20:46:36.108Z] c0a3192eca97: Pulling fs layer [2022-10-03T20:46:36.108Z] a050256f5b6f: Pulling fs layer [2022-10-03T20:46:36.108Z] 656be50a0ddc: Pulling fs layer [2022-10-03T20:46:36.108Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T20:46:36.108Z] f607e4fc86c3: Pulling fs layer [2022-10-03T20:46:36.108Z] 4d572c569a2c: Pulling fs layer [2022-10-03T20:46:36.108Z] fcf976331f73: Pulling fs layer [2022-10-03T20:46:36.108Z] 2bbca73fdf42: Waiting [2022-10-03T20:46:36.108Z] 4d572c569a2c: Waiting [2022-10-03T20:46:36.108Z] f607e4fc86c3: Waiting [2022-10-03T20:46:36.108Z] fcf976331f73: Waiting [2022-10-03T20:46:36.108Z] 656be50a0ddc: Waiting [2022-10-03T20:46:36.108Z] a050256f5b6f: Download complete [2022-10-03T20:46:36.108Z] c0a3192eca97: Verifying Checksum [2022-10-03T20:46:36.108Z] c0a3192eca97: Download complete [2022-10-03T20:46:36.381Z] 2bbca73fdf42: Verifying Checksum [2022-10-03T20:46:36.381Z] 2bbca73fdf42: Download complete [2022-10-03T20:46:36.381Z] f607e4fc86c3: Verifying Checksum [2022-10-03T20:46:36.381Z] f607e4fc86c3: Download complete [2022-10-03T20:46:36.381Z] b3c136eddcbf: Download complete [2022-10-03T20:46:37.351Z] b3c136eddcbf: Pull complete [2022-10-03T20:46:37.351Z] fcf976331f73: Verifying Checksum [2022-10-03T20:46:37.351Z] fcf976331f73: Download complete [2022-10-03T20:46:38.320Z] c0a3192eca97: Pull complete [2022-10-03T20:46:38.601Z] a050256f5b6f: Pull complete [2022-10-03T20:46:38.601Z] 4d572c569a2c: Download complete [2022-10-03T20:46:39.188Z] 656be50a0ddc: Verifying Checksum [2022-10-03T20:46:39.189Z] 656be50a0ddc: Download complete [2022-10-03T20:46:51.530Z] 656be50a0ddc: Pull complete [2022-10-03T20:46:51.530Z] 2bbca73fdf42: Pull complete [2022-10-03T20:46:51.530Z] f607e4fc86c3: Pull complete [2022-10-03T20:46:58.190Z] 4d572c569a2c: Pull complete [2022-10-03T20:46:59.618Z] fcf976331f73: Pull complete [2022-10-03T20:46:59.619Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T20:46:59.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T20:46:59.619Z] ---> 3970a7415f9e [2022-10-03T20:46:59.619Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T20:47:01.167Z] ---> Running in e5cb1e90956b [2022-10-03T20:47:01.757Z] Removing intermediate container e5cb1e90956b [2022-10-03T20:47:01.757Z] ---> d1655fe1455f [2022-10-03T20:47:01.757Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T20:47:01.757Z] ---> Running in 5fb984353f5e [2022-10-03T20:47:02.024Z] Removing intermediate container 5fb984353f5e [2022-10-03T20:47:02.024Z] ---> 751473c9ac5c [2022-10-03T20:47:02.024Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T20:47:02.024Z] ---> Running in 35d28fd732a9 [2022-10-03T20:47:02.293Z] Removing intermediate container 35d28fd732a9 [2022-10-03T20:47:02.293Z] ---> 46ea805b8663 [2022-10-03T20:47:02.293Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T20:47:02.293Z] ---> Running in aa30d7cb8536 [2022-10-03T20:47:02.881Z] Removing intermediate container aa30d7cb8536 [2022-10-03T20:47:02.881Z] ---> 5e741c25d1d9 [2022-10-03T20:47:02.881Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T20:47:02.881Z] ---> Running in 628d16cb9319 [2022-10-03T20:47:04.827Z] Removing intermediate container 628d16cb9319 [2022-10-03T20:47:04.827Z] ---> d9a248522e4d [2022-10-03T20:47:04.827Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T20:47:04.827Z] ---> Running in e1ade0942369 [2022-10-03T20:47:05.413Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T20:47:06.375Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T20:47:07.335Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T20:47:07.335Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T20:47:07.601Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T20:47:07.601Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T20:47:07.868Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T20:47:07.868Z] OK: 226 MiB in 55 packages [2022-10-03T20:47:08.847Z] Removing intermediate container e1ade0942369 [2022-10-03T20:47:08.847Z] ---> 382efc60ef7b [2022-10-03T20:47:08.847Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-03T20:47:08.847Z] ---> Running in 35b3fc2989df [2022-10-03T20:47:09.115Z] Removing intermediate container 35b3fc2989df [2022-10-03T20:47:09.115Z] ---> 46d5a090d08c [2022-10-03T20:47:09.115Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T20:47:09.699Z] ---> f912e24710a6 [2022-10-03T20:47:09.699Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T20:47:09.699Z] ---> Running in 6716e3f51ebb [2022-10-03T20:47:56.625Z] Removing intermediate container 6716e3f51ebb [2022-10-03T20:47:56.625Z] ---> 774ad27a1f79 [2022-10-03T20:47:56.625Z] Step 12/13 : COPY . . [2022-10-03T20:47:56.625Z] ---> 3ef6104008e8 [2022-10-03T20:47:56.625Z] Step 13/13 : RUN $MAKE [2022-10-03T20:47:56.625Z] ---> Running in 20a1d55eabf2 [2022-10-03T20:47:57.587Z] noop [2022-10-03T20:47:58.172Z] Removing intermediate container 20a1d55eabf2 [2022-10-03T20:47:58.172Z] ---> c9bbf649f116 [2022-10-03T20:47:58.172Z] Successfully built c9bbf649f116 [2022-10-03T20:47:58.172Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:47:58.515Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T20:47:58.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:47:58.685Z] prd-ubuntu20.04-docker-arm64-4c-16g-6938 does not seem to be running inside a container [2022-10-03T20:47:58.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/61 -v /w/workspace/device-rest-go/61:/w/workspace/device-rest-go/61:rw,z -v /w/workspace/device-rest-go/61@tmp:/w/workspace/device-rest-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T20:48:00.249Z] $ docker top c3ccff16339beb624928488f10c8a467b83f2dc119b89174cebc858515758df7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:48:01.064Z] + go version [2022-10-03T20:48:01.064Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T20:48:01.088Z] $ docker stop --time=1 c3ccff16339beb624928488f10c8a467b83f2dc119b89174cebc858515758df7 [2022-10-03T20:48:02.712Z] $ docker rm -f c3ccff16339beb624928488f10c8a467b83f2dc119b89174cebc858515758df7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:48:03.218Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T20:48:03.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:48:03.381Z] prd-ubuntu20.04-docker-arm64-4c-16g-6938 does not seem to be running inside a container [2022-10-03T20:48:03.445Z] $ 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/61 -v /w/workspace/device-rest-go/61:/w/workspace/device-rest-go/61:rw,z -v /w/workspace/device-rest-go/61@tmp:/w/workspace/device-rest-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T20:48:04.538Z] $ docker top d1aa1aa1efe5d5c47f7b99c547a5d0180f6a07d90dad280fa16a57434c920b98 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:48:05.022Z] + git config --global --add safe.directory /w/workspace/device-rest-go/61 [Pipeline] fileExists [Pipeline] sh [2022-10-03T20:48:05.347Z] + make test [2022-10-03T20:48:05.347Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T20:48:07.295Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-03T20:49:28.966Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-03T20:49:28.966Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements [2022-10-03T20:49:28.966Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T20:49:28.966Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T20:49:47.187Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T20:49:47.187Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T20:49:47.187Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T20:49:47.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T20:49:47.488Z] $ docker stop --time=1 d1aa1aa1efe5d5c47f7b99c547a5d0180f6a07d90dad280fa16a57434c920b98 [2022-10-03T20:49:49.259Z] $ docker rm -f d1aa1aa1efe5d5c47f7b99c547a5d0180f6a07d90dad280fa16a57434c920b98 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T20:49:50.141Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T20:49:50.160Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T20:49:50.495Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T20:49:50.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T20:49:51.164Z] + ls -al . [2022-10-03T20:49:51.164Z] total 176 [2022-10-03T20:49:51.164Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:48 . [2022-10-03T20:49:51.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:46 .. [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 3 20:46 .dockerignore [2022-10-03T20:49:51.164Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:46 .git [2022-10-03T20:49:51.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:46 .github [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 20:46 .gitignore [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 20:46 .golangci.yml [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 3 20:46 Attribution.txt [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 3 20:46 CHANGELOG.md [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 3 20:46 Dockerfile [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 20:46 GOVERNANCE.md [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 20:46 Jenkinsfile [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 20:46 LICENSE [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 3 20:46 Makefile [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 20:46 OWNERS.md [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 3 20:46 README.md [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 20:44 VERSION [2022-10-03T20:49:51.164Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:46 bin [2022-10-03T20:49:51.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:46 cmd [2022-10-03T20:49:51.164Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 3 20:49 coverage.out [2022-10-03T20:49:51.164Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:46 driver [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 3 20:46 go.mod [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 20:46 go.sum [2022-10-03T20:49:51.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:46 snap [2022-10-03T20:49:51.164Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 3 20:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:49:51.497Z] + 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=401106fad354fe4e00d3a8593bef2b7e60417552 --label arch=arm64 --label version=2.3.0-dev.17 . [2022-10-03T20:49:51.497Z] Sending build context to Docker daemon 137.2kB [2022-10-03T20:49:51.763Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T20:49:51.763Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-03T20:49:51.763Z] ---> c9bbf649f116 [2022-10-03T20:49:51.763Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-03T20:49:51.763Z] ---> Running in a46fff5b5235 [2022-10-03T20:49:52.029Z] Removing intermediate container a46fff5b5235 [2022-10-03T20:49:52.029Z] ---> 85c6d44b7bce [2022-10-03T20:49:52.029Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T20:49:52.029Z] ---> Running in b6388addeb71 [2022-10-03T20:49:52.295Z] Removing intermediate container b6388addeb71 [2022-10-03T20:49:52.295Z] ---> b3691ab698a2 [2022-10-03T20:49:52.295Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T20:49:52.564Z] ---> Running in 96c988a58fdd [2022-10-03T20:49:52.830Z] Removing intermediate container 96c988a58fdd [2022-10-03T20:49:52.830Z] ---> bcf71115d8b7 [2022-10-03T20:49:52.830Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T20:49:52.830Z] ---> Running in 85bcb14d9175 [2022-10-03T20:49:53.097Z] Removing intermediate container 85bcb14d9175 [2022-10-03T20:49:53.097Z] ---> cf8e99c2f08c [2022-10-03T20:49:53.097Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T20:49:53.097Z] ---> Running in a31f89bd39c5 [2022-10-03T20:49:55.044Z] Removing intermediate container a31f89bd39c5 [2022-10-03T20:49:55.044Z] ---> 0825cbe34f71 [2022-10-03T20:49:55.044Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T20:49:55.044Z] ---> Running in 996bd6b878c5 [2022-10-03T20:49:55.629Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T20:49:56.592Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T20:49:57.551Z] OK: 226 MiB in 55 packages [2022-10-03T20:49:58.136Z] Removing intermediate container 996bd6b878c5 [2022-10-03T20:49:58.136Z] ---> 8d41fe9fdf12 [2022-10-03T20:49:58.136Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-03T20:49:58.136Z] ---> Running in 70f3f066c537 [2022-10-03T20:49:58.404Z] Removing intermediate container 70f3f066c537 [2022-10-03T20:49:58.404Z] ---> 65d2cf021110 [2022-10-03T20:49:58.404Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-03T20:49:58.989Z] ---> 52b423100074 [2022-10-03T20:49:58.989Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T20:49:58.989Z] ---> Running in 0962445f3e1a [2022-10-03T20:50:00.942Z] Removing intermediate container 0962445f3e1a [2022-10-03T20:50:00.942Z] ---> 5fe5755d1b75 [2022-10-03T20:50:00.942Z] Step 12/26 : COPY . . [2022-10-03T20:50:01.538Z] ---> 904a53a1c55d [2022-10-03T20:50:01.538Z] Step 13/26 : RUN $MAKE [2022-10-03T20:50:01.538Z] ---> Running in 3b49e885c758 [2022-10-03T20:50:02.501Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-03T20:52:39.214Z] Removing intermediate container 3b49e885c758 [2022-10-03T20:52:39.214Z] ---> 7fc423fc59dd [2022-10-03T20:52:39.214Z] Step 14/26 : FROM alpine:3.16 [2022-10-03T20:52:39.214Z] 3.16: Pulling from library/alpine [2022-10-03T20:52:39.214Z] 9b18e9b68314: Pulling fs layer [2022-10-03T20:52:39.214Z] 9b18e9b68314: Verifying Checksum [2022-10-03T20:52:39.214Z] 9b18e9b68314: Download complete [2022-10-03T20:52:39.214Z] 9b18e9b68314: Pull complete [2022-10-03T20:52:39.214Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T20:52:39.214Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T20:52:39.214Z] ---> a6215f271958 [2022-10-03T20:52:39.214Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-03T20:52:39.214Z] ---> Running in fca1c9a60182 [2022-10-03T20:52:39.214Z] Removing intermediate container fca1c9a60182 [2022-10-03T20:52:39.214Z] ---> 32d668999249 [2022-10-03T20:52:39.214Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-03T20:52:39.214Z] ---> Running in c526f1a271d0 [2022-10-03T20:52:39.214Z] Removing intermediate container c526f1a271d0 [2022-10-03T20:52:39.214Z] ---> 0fd2b5260063 [2022-10-03T20:52:39.214Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T20:52:39.214Z] ---> Running in 49a5035ee4ad [2022-10-03T20:52:39.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T20:52:39.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T20:52:39.214Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T20:52:39.214Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T20:52:39.214Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T20:52:39.214Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T20:52:39.214Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T20:52:39.214Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T20:52:39.214Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T20:52:39.214Z] OK: 8 MiB in 20 packages [2022-10-03T20:52:39.214Z] Removing intermediate container 49a5035ee4ad [2022-10-03T20:52:39.214Z] ---> 2beeb841f1d4 [2022-10-03T20:52:39.214Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-03T20:52:39.214Z] ---> b4eefa7efbb8 [2022-10-03T20:52:39.214Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-03T20:52:39.214Z] ---> 49465cfeba35 [2022-10-03T20:52:39.214Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-03T20:52:39.214Z] ---> 5b22aedb9838 [2022-10-03T20:52:39.214Z] Step 21/26 : EXPOSE 59986 [2022-10-03T20:52:39.214Z] ---> Running in e6269ef646ce [2022-10-03T20:52:39.214Z] Removing intermediate container e6269ef646ce [2022-10-03T20:52:39.214Z] ---> f6d223245c3a [2022-10-03T20:52:39.214Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-03T20:52:39.214Z] ---> Running in 598b83cef9db [2022-10-03T20:52:39.214Z] Removing intermediate container 598b83cef9db [2022-10-03T20:52:39.214Z] ---> b83ffad5cfb0 [2022-10-03T20:52:39.214Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-03T20:52:39.214Z] ---> Running in e932e5474b6e [2022-10-03T20:52:39.214Z] Removing intermediate container e932e5474b6e [2022-10-03T20:52:39.214Z] ---> be8c0c745645 [2022-10-03T20:52:39.214Z] Step 24/26 : LABEL arch=arm64 [2022-10-03T20:52:39.214Z] ---> Running in 476fcee12c94 [2022-10-03T20:52:39.214Z] Removing intermediate container 476fcee12c94 [2022-10-03T20:52:39.214Z] ---> 01ed2304a043 [2022-10-03T20:52:39.214Z] Step 25/26 : LABEL git_sha=401106fad354fe4e00d3a8593bef2b7e60417552 [2022-10-03T20:52:39.214Z] ---> Running in 2fb1a3623ded [2022-10-03T20:52:39.214Z] Removing intermediate container 2fb1a3623ded [2022-10-03T20:52:39.214Z] ---> edecfa883f36 [2022-10-03T20:52:39.214Z] Step 26/26 : LABEL version=2.3.0-dev.17 [2022-10-03T20:52:39.214Z] ---> Running in db94fd9f52cf [2022-10-03T20:52:39.214Z] Removing intermediate container db94fd9f52cf [2022-10-03T20:52:39.214Z] ---> a4607bd32606 [2022-10-03T20:52:39.214Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T20:52:39.214Z] Successfully built a4607bd32606 [2022-10-03T20:52:39.214Z] 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 [2022-10-03T20:52:39.321Z] provisioning config files... [2022-10-03T20:52:39.335Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/61@tmp/config11953021969939428530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:52:39.667Z] ---> docker-login.sh [2022-10-03T20:52:39.667Z] nexus3.edgexfoundry.org:10001 [2022-10-03T20:52:39.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:52:39.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:52:39.938Z] Configure a credential helper to remove this warning. See [2022-10-03T20:52:39.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:52:39.938Z] [2022-10-03T20:52:39.938Z] Login Succeeded [2022-10-03T20:52:39.938Z] nexus3.edgexfoundry.org:10002 [2022-10-03T20:52:40.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:52:40.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:52:40.205Z] Configure a credential helper to remove this warning. See [2022-10-03T20:52:40.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:52:40.205Z] [2022-10-03T20:52:40.206Z] Login Succeeded [2022-10-03T20:52:40.206Z] nexus3.edgexfoundry.org:10003 [2022-10-03T20:52:40.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:52:40.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:52:40.743Z] Configure a credential helper to remove this warning. See [2022-10-03T20:52:40.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:52:40.743Z] [2022-10-03T20:52:40.743Z] Login Succeeded [2022-10-03T20:52:40.743Z] nexus3.edgexfoundry.org:10004 [2022-10-03T20:52:41.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:52:41.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:52:41.011Z] Configure a credential helper to remove this warning. See [2022-10-03T20:52:41.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:52:41.011Z] [2022-10-03T20:52:41.011Z] Login Succeeded [2022-10-03T20:52:41.011Z] docker.io [2022-10-03T20:52:41.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:52:41.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:52:41.860Z] Configure a credential helper to remove this warning. See [2022-10-03T20:52:41.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:52:41.860Z] [2022-10-03T20:52:41.860Z] Login Succeeded [2022-10-03T20:52:41.860Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T20:52:41.871Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-03T20:52:41.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:52:41.911Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-10-03T20:52:41.911Z] 401106fad354fe4e00d3a8593bef2b7e60417552 [2022-10-03T20:52:41.911Z] latest [2022-10-03T20:52:41.911Z] 2.3.0-dev.17 [2022-10-03T20:52:41.911Z] 401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 [2022-10-03T20:52:41.911Z] main [2022-10-03T20:52:41.911Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:52:42.239Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:52:42.571Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:401106fad354fe4e00d3a8593bef2b7e60417552 [2022-10-03T20:52:42.571Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-03T20:52:42.571Z] c4e73e5662d7: Preparing [2022-10-03T20:52:42.571Z] 7b7d520f1ca4: Preparing [2022-10-03T20:52:42.571Z] 09b30a2c38c2: Preparing [2022-10-03T20:52:42.571Z] a3d622efa194: Preparing [2022-10-03T20:52:42.571Z] 5d3e392a13a0: Preparing [2022-10-03T20:52:42.571Z] 5d3e392a13a0: Layer already exists [2022-10-03T20:52:42.836Z] 7b7d520f1ca4: Pushed [2022-10-03T20:52:42.836Z] c4e73e5662d7: Pushed [2022-10-03T20:52:43.417Z] a3d622efa194: Pushed [2022-10-03T20:52:47.668Z] 09b30a2c38c2: Pushed [2022-10-03T20:52:47.668Z] 401106fad354fe4e00d3a8593bef2b7e60417552: digest: sha256:1ad2cebdceb729b3dfe41fd20f04dd8322678545250f7ce54f82c0073ad96ea7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:52:48.017Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:52:48.357Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-10-03T20:52:48.357Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-03T20:52:48.357Z] c4e73e5662d7: Preparing [2022-10-03T20:52:48.357Z] 7b7d520f1ca4: Preparing [2022-10-03T20:52:48.357Z] 09b30a2c38c2: Preparing [2022-10-03T20:52:48.357Z] a3d622efa194: Preparing [2022-10-03T20:52:48.357Z] 5d3e392a13a0: Preparing [2022-10-03T20:52:48.357Z] 5d3e392a13a0: Layer already exists [2022-10-03T20:52:48.357Z] 09b30a2c38c2: Layer already exists [2022-10-03T20:52:48.357Z] a3d622efa194: Layer already exists [2022-10-03T20:52:48.357Z] c4e73e5662d7: Layer already exists [2022-10-03T20:52:48.357Z] 7b7d520f1ca4: Layer already exists [2022-10-03T20:52:48.357Z] latest: digest: sha256:1ad2cebdceb729b3dfe41fd20f04dd8322678545250f7ce54f82c0073ad96ea7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:52:48.689Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:52:49.025Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.17 [2022-10-03T20:52:49.025Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-03T20:52:49.025Z] c4e73e5662d7: Preparing [2022-10-03T20:52:49.025Z] 7b7d520f1ca4: Preparing [2022-10-03T20:52:49.025Z] 09b30a2c38c2: Preparing [2022-10-03T20:52:49.025Z] a3d622efa194: Preparing [2022-10-03T20:52:49.025Z] 5d3e392a13a0: Preparing [2022-10-03T20:52:49.025Z] 09b30a2c38c2: Layer already exists [2022-10-03T20:52:49.025Z] 7b7d520f1ca4: Layer already exists [2022-10-03T20:52:49.025Z] a3d622efa194: Layer already exists [2022-10-03T20:52:49.025Z] c4e73e5662d7: Layer already exists [2022-10-03T20:52:49.025Z] 5d3e392a13a0: Layer already exists [2022-10-03T20:52:49.025Z] 2.3.0-dev.17: digest: sha256:1ad2cebdceb729b3dfe41fd20f04dd8322678545250f7ce54f82c0073ad96ea7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:52:49.364Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:52:49.693Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 [2022-10-03T20:52:49.693Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-03T20:52:49.693Z] c4e73e5662d7: Preparing [2022-10-03T20:52:49.693Z] 7b7d520f1ca4: Preparing [2022-10-03T20:52:49.693Z] 09b30a2c38c2: Preparing [2022-10-03T20:52:49.693Z] a3d622efa194: Preparing [2022-10-03T20:52:49.693Z] 5d3e392a13a0: Preparing [2022-10-03T20:52:49.693Z] 7b7d520f1ca4: Layer already exists [2022-10-03T20:52:49.693Z] a3d622efa194: Layer already exists [2022-10-03T20:52:49.693Z] 09b30a2c38c2: Layer already exists [2022-10-03T20:52:49.693Z] 5d3e392a13a0: Layer already exists [2022-10-03T20:52:49.693Z] c4e73e5662d7: Layer already exists [2022-10-03T20:52:49.693Z] 401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17: digest: sha256:1ad2cebdceb729b3dfe41fd20f04dd8322678545250f7ce54f82c0073ad96ea7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:52:50.046Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:52:50.376Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-10-03T20:52:50.376Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-03T20:52:50.376Z] c4e73e5662d7: Preparing [2022-10-03T20:52:50.376Z] 7b7d520f1ca4: Preparing [2022-10-03T20:52:50.376Z] 09b30a2c38c2: Preparing [2022-10-03T20:52:50.376Z] a3d622efa194: Preparing [2022-10-03T20:52:50.376Z] 5d3e392a13a0: Preparing [2022-10-03T20:52:50.376Z] c4e73e5662d7: Layer already exists [2022-10-03T20:52:50.376Z] 5d3e392a13a0: Layer already exists [2022-10-03T20:52:50.376Z] a3d622efa194: Layer already exists [2022-10-03T20:52:50.376Z] 09b30a2c38c2: Layer already exists [2022-10-03T20:52:50.376Z] 7b7d520f1ca4: Layer already exists [2022-10-03T20:52:50.376Z] main: digest: sha256:1ad2cebdceb729b3dfe41fd20f04dd8322678545250f7ce54f82c0073ad96ea7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-03T20:52:50.697Z] ===================================================== [Pipeline] echo [2022-10-03T20:52:50.704Z] taggedImages: [2022-10-03T20:52:50.704Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:401106fad354fe4e00d3a8593bef2b7e60417552 [2022-10-03T20:52:50.704Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-10-03T20:52:50.704Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.17 [2022-10-03T20:52:50.704Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 [2022-10-03T20:52:50.704Z] - 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 [2022-10-03T20:52:51.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T20:52:51.130Z] [2022-10-03T20:52:51.130Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:52:51.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T20:52:51.477Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T20:52:51.477Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T20:52:51.477Z] 04944245beec: Pulling fs layer [2022-10-03T20:52:51.477Z] 699f458cf7ca: Pulling fs layer [2022-10-03T20:52:51.477Z] 765212b225bb: Pulling fs layer [2022-10-03T20:52:51.477Z] f23df028b6ca: Pulling fs layer [2022-10-03T20:52:51.477Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T20:52:51.477Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T20:52:51.477Z] f23df028b6ca: Waiting [2022-10-03T20:52:51.477Z] d65c8cfc05b1: Waiting [2022-10-03T20:52:51.477Z] 2437ff75d9bd: Waiting [2022-10-03T20:52:51.477Z] 765212b225bb: Waiting [2022-10-03T20:52:51.760Z] 04944245beec: Verifying Checksum [2022-10-03T20:52:51.760Z] 04944245beec: Download complete [2022-10-03T20:52:51.760Z] 765212b225bb: Verifying Checksum [2022-10-03T20:52:51.760Z] 765212b225bb: Download complete [2022-10-03T20:52:51.760Z] f23df028b6ca: Verifying Checksum [2022-10-03T20:52:51.760Z] f23df028b6ca: Download complete [2022-10-03T20:52:51.760Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T20:52:51.760Z] d65c8cfc05b1: Download complete [2022-10-03T20:52:52.059Z] 699f458cf7ca: Verifying Checksum [2022-10-03T20:52:52.059Z] 699f458cf7ca: Download complete [2022-10-03T20:52:52.338Z] 8998bd30e6a1: Verifying Checksum [2022-10-03T20:52:52.338Z] 8998bd30e6a1: Download complete [2022-10-03T20:52:54.943Z] 2437ff75d9bd: Verifying Checksum [2022-10-03T20:52:54.943Z] 2437ff75d9bd: Download complete [2022-10-03T20:52:56.352Z] 8998bd30e6a1: Pull complete [2022-10-03T20:52:56.934Z] 04944245beec: Pull complete [2022-10-03T20:52:58.341Z] 699f458cf7ca: Pull complete [2022-10-03T20:52:58.341Z] 765212b225bb: Pull complete [2022-10-03T20:52:58.924Z] f23df028b6ca: Pull complete [2022-10-03T20:52:59.192Z] d65c8cfc05b1: Pull complete [2022-10-03T20:53:14.198Z] 2437ff75d9bd: Pull complete [2022-10-03T20:53:14.198Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T20:53:14.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T20:53:14.198Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:53:14.385Z] prd-ubuntu20.04-docker-arm64-4c-16g-6938 does not seem to be running inside a container [2022-10-03T20:53:14.449Z] $ 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/61 -v /w/workspace/device-rest-go/61:/w/workspace/device-rest-go/61:rw,z -v /w/workspace/device-rest-go/61@tmp:/w/workspace/device-rest-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-03T20:53:16.936Z] $ docker top cf3d1665c832ca593ea14b4d12a9f2ccb9f11240aeaaf92156a9401d6d0cc1e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:53:17.456Z] ---> job-cost.sh [2022-10-03T20:53:17.723Z] lf-activate-venv: SKIPPING [2022-10-03T20:53:17.723Z] INFO: No Stack... [2022-10-03T20:53:17.990Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T20:53:18.947Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T20:53:19.265Z] + cut -d, -f6 [2022-10-03T20:53:19.265Z] + cat /w/workspace/device-rest-go/61/archives/cost.csv [Pipeline] lock [2022-10-03T20:53:19.328Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] [2022-10-03T20:53:19.332Z] Resource [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] did not exist. Created. [2022-10-03T20:53:19.332Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T20:53:19.661Z] /w/workspace/device-rest-go/61@tmp/durable-4a6d18ea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T20:53:20.311Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T20:53:20.323Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T20:53:20.362Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T20:53:20.368Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T20:53:20.395Z] $ docker stop --time=1 cf3d1665c832ca593ea14b4d12a9f2ccb9f11240aeaaf92156a9401d6d0cc1e0 [2022-10-03T20:53:21.887Z] $ docker rm -f cf3d1665c832ca593ea14b4d12a9f2ccb9f11240aeaaf92156a9401d6d0cc1e0 [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 [2022-10-03T20:53:22.263Z] provisioning config files... [2022-10-03T20:53:22.270Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15192891104065368025tmp [Pipeline] { [Pipeline] sh [2022-10-03T20:53:22.557Z] + set +x [2022-10-03T20:53:22.558Z] + curl -s https://codecov.io/bash [2022-10-03T20:53:22.558Z] + bash -s -- [2022-10-03T20:53:22.558Z] [2022-10-03T20:53:22.558Z] _____ _ [2022-10-03T20:53:22.558Z] / ____| | | [2022-10-03T20:53:22.558Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T20:53:22.558Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T20:53:22.558Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T20:53:22.558Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T20:53:22.558Z] Bash-1.0.6 [2022-10-03T20:53:22.558Z] [2022-10-03T20:53:22.558Z] [2022-10-03T20:53:22.558Z] ==> git version 2.25.1 found [2022-10-03T20:53:22.558Z] ==> 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 [2022-10-03T20:53:22.558Z] Release-Date: 2020-01-08 [2022-10-03T20:53:22.558Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-03T20:53:22.558Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T20:53:22.558Z] ==> Jenkins CI detected. [2022-10-03T20:53:22.558Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-10-03T20:53:22.558Z] project root: . [2022-10-03T20:53:22.558Z] --> token set from env [2022-10-03T20:53:22.558Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T20:53:22.558Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T20:53:22.558Z] ==> Python coveragepy not found [2022-10-03T20:53:22.558Z] ==> Searching for coverage reports in: [2022-10-03T20:53:22.558Z] + . [2022-10-03T20:53:22.558Z] -> Found 1 reports [2022-10-03T20:53:22.558Z] ==> Detecting git/mercurial file structure [2022-10-03T20:53:22.558Z] ==> Reading reports [2022-10-03T20:53:22.558Z] + ./coverage.out bytes=9355 [2022-10-03T20:53:22.558Z] ==> Appending adjustments [2022-10-03T20:53:22.558Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T20:53:22.815Z] + Found adjustments [2022-10-03T20:53:22.815Z] ==> Gzipping contents [2022-10-03T20:53:22.815Z] 4.0K /tmp/codecov.xqh17R.gz [2022-10-03T20:53:22.815Z] ==> Uploading reports [2022-10-03T20:53:22.815Z] url: https://codecov.io [2022-10-03T20:53:22.815Z] query: branch=main&commit=401106fad354fe4e00d3a8593bef2b7e60417552&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-03T20:53:22.815Z] -> Pinging Codecov [2022-10-03T20:53:22.815Z] 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=401106fad354fe4e00d3a8593bef2b7e60417552&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-03T20:53:23.075Z] -> Uploading to [2022-10-03T20:53:23.075Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/4E5D53B4F1F92C436F7061BF334D961C/401106fad354fe4e00d3a8593bef2b7e60417552/b781b618-e64b-492f-9d9b-ef32396d3f72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T205322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c282549ba06dfd071fdcaab164d09a223af717a2d36418ac03507266103de38d [2022-10-03T20:53:23.075Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T20:53:23.075Z] Dload Upload Total Spent Left Speed [2022-10-03T20:53:23.334Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7427 --:--:-- --:--:-- --:--:-- 7427 [2022-10-03T20:53:23.334Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] } [2022-10-03T20:53:23.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-10-03T20:53:23.550Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-10-03T20:53:23.559Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:53:23.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-03T20:53:23.849Z] [2022-10-03T20:53:23.849Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:53:24.150Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-03T20:53:24.150Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-10-03T20:53:24.150Z] df9b9388f04a: Pulling fs layer [2022-10-03T20:53:24.150Z] 52dc419b0ee2: Pulling fs layer [2022-10-03T20:53:24.150Z] 25bc292e5bac: Pulling fs layer [2022-10-03T20:53:24.150Z] 114826534d7a: Pulling fs layer [2022-10-03T20:53:24.150Z] 4657fd5d0bcf: Pulling fs layer [2022-10-03T20:53:24.150Z] 6ad1cebc031e: Pulling fs layer [2022-10-03T20:53:24.150Z] 8a3aa393b2d8: Pulling fs layer [2022-10-03T20:53:24.150Z] 114826534d7a: Waiting [2022-10-03T20:53:24.150Z] 4657fd5d0bcf: Waiting [2022-10-03T20:53:24.150Z] 6ad1cebc031e: Waiting [2022-10-03T20:53:24.150Z] 8a3aa393b2d8: Waiting [2022-10-03T20:53:24.150Z] 25bc292e5bac: Verifying Checksum [2022-10-03T20:53:24.150Z] 25bc292e5bac: Download complete [2022-10-03T20:53:24.150Z] 52dc419b0ee2: Verifying Checksum [2022-10-03T20:53:24.150Z] 52dc419b0ee2: Download complete [2022-10-03T20:53:24.150Z] 4657fd5d0bcf: Download complete [2022-10-03T20:53:24.150Z] df9b9388f04a: Download complete [2022-10-03T20:53:24.410Z] 6ad1cebc031e: Verifying Checksum [2022-10-03T20:53:24.410Z] df9b9388f04a: Pull complete [2022-10-03T20:53:24.410Z] 52dc419b0ee2: Pull complete [2022-10-03T20:53:24.670Z] 25bc292e5bac: Pull complete [2022-10-03T20:53:24.929Z] 114826534d7a: Verifying Checksum [2022-10-03T20:53:24.929Z] 114826534d7a: Download complete [2022-10-03T20:53:25.188Z] 8a3aa393b2d8: Verifying Checksum [2022-10-03T20:53:25.188Z] 8a3aa393b2d8: Download complete [2022-10-03T20:53:28.466Z] 114826534d7a: Pull complete [2022-10-03T20:53:28.723Z] 4657fd5d0bcf: Pull complete [2022-10-03T20:53:28.982Z] 6ad1cebc031e: Pull complete [2022-10-03T20:53:32.308Z] 8a3aa393b2d8: Pull complete [2022-10-03T20:53:32.308Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-10-03T20:53:32.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-03T20:53:32.308Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:53:32.383Z] prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container [2022-10-03T20:53:32.424Z] $ 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 [2022-10-03T20:53:34.859Z] $ docker top c3bcd79043d85d00c500bd15cdad0683bc05daac6f8a6bd652c3753468b5b087 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-10-03T20:53:34.926Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-10-03T20:53:35.201Z] + set -o pipefail [2022-10-03T20:53:35.201Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-10-03T20:53:42.001Z] [2022-10-03T20:53:42.001Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-10-03T20:53:42.001Z] [2022-10-03T20:53:42.001Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/08c2d77b-44c5-40b4-9783-b96da58733bd [2022-10-03T20:53:42.001Z] [2022-10-03T20:53:42.001Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-10-03T20:53:42.001Z] [2022-10-03T20:53:42.001Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-10-03T20:53:42.001Z] [2022-10-03T20:53:42.001Z] [2022-10-03T20:53:42.001Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-10-03T20:53:42.001Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-10-03T20:53:42.001Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-10-03T20:53:42.010Z] $ docker stop --time=1 c3bcd79043d85d00c500bd15cdad0683bc05daac6f8a6bd652c3753468b5b087 [2022-10-03T20:53:44.494Z] $ docker rm -f c3bcd79043d85d00c500bd15cdad0683bc05daac6f8a6bd652c3753468b5b087 [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 [2022-10-03T20:53:45.200Z] + git log --format=format:%s -1 401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] sh [2022-10-03T20:53:45.492Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T20:53:45.492Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:53:45.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T20:53:45.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:53:45.874Z] prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container [2022-10-03T20:53:45.901Z] $ 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 [2022-10-03T20:53:46.291Z] $ docker top 83502e881bb938f0a5e29b2dfa27b68a7205feeedb243121a93a4aa086e28c16 -eo pid,comm [2022-10-03T20:53:46.340Z] 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). [2022-10-03T20:53:46.340Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T20:53:46.375Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T20:53:46.376Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T20:53:46.486Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T20:53:46.488Z] $ docker exec 83502e881bb938f0a5e29b2dfa27b68a7205feeedb243121a93a4aa086e28c16 ssh-agent [2022-10-03T20:53:46.588Z] SSH_AUTH_SOCK=/tmp/ssh-DyrVfO82qZbx/agent.32 [2022-10-03T20:53:46.589Z] SSH_AGENT_PID=38 [2022-10-03T20:53:46.593Z] Running ssh-add (command line suppressed) [2022-10-03T20:53:46.690Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1725650768858800978.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1725650768858800978.key) [2022-10-03T20:53:46.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T20:53:46.989Z] + git semver tag [2022-10-03T20:53:47.247Z] 2022-10-03 20:53:47,138 [run_tag] DEBUG tag force:False [2022-10-03T20:53:47.247Z] 2022-10-03 20:53:47,138 [check_head_tag] DEBUG check head tag [2022-10-03T20:53:47.247Z] 2022-10-03 20:53:47,139 [execute] INFO git cat-file --batch-check [2022-10-03T20:53:47.247Z] 2022-10-03 20:53:47,139 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-10-03T20:53:47.247Z] 2022-10-03 20:53:47,143 [execute] INFO git cat-file --batch [2022-10-03T20:53:47.247Z] 2022-10-03 20:53:47,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-10-03T20:53:47.247Z] 2022-10-03 20:53:47,155 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-03T20:53:47.247Z] 2022-10-03 20:53:47,156 [execute] INFO git tag -a v2.3.0-dev.17 -m v2.3.0-dev.17 [2022-10-03T20:53:47.247Z] 2022-10-03 20:53:47,156 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.17', '-m', 'v2.3.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-10-03T20:53:47.247Z] 2022-10-03 20:53:47,161 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-03T20:53:47.247Z] 2.3.0-dev.17 [Pipeline] } [2022-10-03T20:53:47.255Z] $ docker exec --env ******** --env ******** 83502e881bb938f0a5e29b2dfa27b68a7205feeedb243121a93a4aa086e28c16 ssh-agent -k [2022-10-03T20:53:47.350Z] unset SSH_AUTH_SOCK; [2022-10-03T20:53:47.350Z] unset SSH_AGENT_PID; [2022-10-03T20:53:47.350Z] echo Agent pid 38 killed; [2022-10-03T20:53:47.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T20:53:47.663Z] + git semver [Pipeline] } [2022-10-03T20:53:47.933Z] $ docker stop --time=1 83502e881bb938f0a5e29b2dfa27b68a7205feeedb243121a93a4aa086e28c16 [2022-10-03T20:53:49.299Z] $ docker rm -f 83502e881bb938f0a5e29b2dfa27b68a7205feeedb243121a93a4aa086e28c16 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:53:49.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-03T20:53:49.678Z] [2022-10-03T20:53:49.678Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:53:49.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-03T20:53:49.974Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-10-03T20:53:49.974Z] ab5ef0e58194: Pulling fs layer [2022-10-03T20:53:49.974Z] 9712f1f96733: Pulling fs layer [2022-10-03T20:53:49.974Z] 63f879dbbcfc: Pulling fs layer [2022-10-03T20:53:49.974Z] 0d9ebad4ef96: Pulling fs layer [2022-10-03T20:53:49.974Z] e9a5061849ea: Pulling fs layer [2022-10-03T20:53:49.974Z] d747dcd14b5f: Pulling fs layer [2022-10-03T20:53:49.974Z] 2de7ff778b66: Pulling fs layer [2022-10-03T20:53:49.974Z] 0d9ebad4ef96: Waiting [2022-10-03T20:53:49.974Z] d747dcd14b5f: Waiting [2022-10-03T20:53:49.974Z] 2de7ff778b66: Waiting [2022-10-03T20:53:49.974Z] e9a5061849ea: Waiting [2022-10-03T20:53:49.974Z] 9712f1f96733: Verifying Checksum [2022-10-03T20:53:49.974Z] 9712f1f96733: Download complete [2022-10-03T20:53:50.247Z] 63f879dbbcfc: Verifying Checksum [2022-10-03T20:53:50.247Z] 63f879dbbcfc: Download complete [2022-10-03T20:53:50.508Z] e9a5061849ea: Verifying Checksum [2022-10-03T20:53:50.508Z] e9a5061849ea: Download complete [2022-10-03T20:53:50.508Z] d747dcd14b5f: Verifying Checksum [2022-10-03T20:53:50.508Z] d747dcd14b5f: Download complete [2022-10-03T20:53:50.508Z] 0d9ebad4ef96: Verifying Checksum [2022-10-03T20:53:50.508Z] 0d9ebad4ef96: Download complete [2022-10-03T20:53:50.765Z] ab5ef0e58194: Verifying Checksum [2022-10-03T20:53:50.765Z] ab5ef0e58194: Download complete [2022-10-03T20:53:50.765Z] 2de7ff778b66: Verifying Checksum [2022-10-03T20:53:50.765Z] 2de7ff778b66: Download complete [2022-10-03T20:53:53.293Z] ab5ef0e58194: Pull complete [2022-10-03T20:53:53.293Z] 9712f1f96733: Pull complete [2022-10-03T20:53:53.858Z] 63f879dbbcfc: Pull complete [2022-10-03T20:53:57.138Z] 0d9ebad4ef96: Pull complete [2022-10-03T20:53:57.138Z] e9a5061849ea: Pull complete [2022-10-03T20:53:57.138Z] d747dcd14b5f: Pull complete [2022-10-03T20:53:58.071Z] 2de7ff778b66: Pull complete [2022-10-03T20:53:58.071Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-10-03T20:53:58.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-03T20:53:58.071Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:53:58.153Z] prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container [2022-10-03T20:53:58.187Z] $ 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 [2022-10-03T20:54:00.422Z] $ docker top 43a957d85219e5e59cef3281cbce291e05cb368df8990a782f9280e70e523d9e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-10-03T20:54:00.491Z] provisioning config files... [2022-10-03T20:54:00.497Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13906583690229570829tmp [2022-10-03T20:54:00.506Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15548605544926774124tmp [2022-10-03T20:54:00.515Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2917960437833508613tmp [Pipeline] { [Pipeline] echo [2022-10-03T20:54:00.530Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:54:00.810Z] ---> sigul-configuration.sh [2022-10-03T20:54:00.810Z] gpg: directory `/root/.gnupg' created [2022-10-03T20:54:00.810Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-10-03T20:54:00.810Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-10-03T20:54:00.810Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-10-03T20:54:00.810Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-10-03T20:54:00.810Z] gpg: CAST5 encrypted data [2022-10-03T20:54:00.810Z] gpg: encrypted with 1 passphrase [2022-10-03T20:54:00.810Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-10-03T20:54:01.091Z] + mkdir /home/jenkins [2022-10-03T20:54:01.091Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-10-03T20:54:01.376Z] + 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 [2022-10-03T20:54:01.384Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:54:01.669Z] ---> sigul-install.sh [2022-10-03T20:54:01.669Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-10-03T20:54:01.950Z] + git tag --list [2022-10-03T20:54:01.950Z] v1.0.0 [2022-10-03T20:54:01.950Z] v1.1.0 [2022-10-03T20:54:01.950Z] v1.1.1 [2022-10-03T20:54:01.950Z] v1.1.2 [2022-10-03T20:54:01.950Z] v1.2.0 [2022-10-03T20:54:01.950Z] v1.2.1 [2022-10-03T20:54:01.950Z] v2.0.0 [2022-10-03T20:54:01.950Z] v2.1.0 [2022-10-03T20:54:01.950Z] v2.1.1 [2022-10-03T20:54:01.950Z] v2.1.1-dev.1 [2022-10-03T20:54:01.950Z] v2.1.1-dev.2 [2022-10-03T20:54:01.950Z] v2.1.1-dev.3 [2022-10-03T20:54:01.950Z] v2.2.0 [2022-10-03T20:54:01.950Z] v2.2.1-dev.1 [2022-10-03T20:54:01.950Z] v2.2.1-dev.2 [2022-10-03T20:54:01.950Z] v2.2.1-dev.3 [2022-10-03T20:54:01.950Z] v2.2.1-dev.4 [2022-10-03T20:54:01.950Z] v2.2.1-dev.5 [2022-10-03T20:54:01.950Z] v2.2.1-dev.6 [2022-10-03T20:54:01.950Z] v2.2.1-dev.7 [2022-10-03T20:54:01.950Z] v2.2.1-dev.8 [2022-10-03T20:54:01.950Z] v2.2.1-dev.9 [2022-10-03T20:54:01.950Z] v2.3.0-dev.10 [2022-10-03T20:54:01.950Z] v2.3.0-dev.11 [2022-10-03T20:54:01.950Z] v2.3.0-dev.12 [2022-10-03T20:54:01.950Z] v2.3.0-dev.13 [2022-10-03T20:54:01.950Z] v2.3.0-dev.14 [2022-10-03T20:54:01.950Z] v2.3.0-dev.15 [2022-10-03T20:54:01.950Z] v2.3.0-dev.16 [2022-10-03T20:54:01.950Z] v2.3.0-dev.17 [2022-10-03T20:54:01.950Z] v2.3.0-dev.9 [Pipeline] sh [2022-10-03T20:54:02.237Z] + lftools sign git-tag v2.3.0-dev.17 [2022-10-03T20:54:02.806Z] Signing Git tag with Sigul... [2022-10-03T20:54:02.806Z] Signing v2.3.0-dev.17 [Pipeline] echo [2022-10-03T20:54:03.073Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:54:03.355Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-10-03T20:54:03.362Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-10-03T20:54:03.382Z] $ docker stop --time=1 43a957d85219e5e59cef3281cbce291e05cb368df8990a782f9280e70e523d9e [2022-10-03T20:54:04.726Z] $ docker rm -f 43a957d85219e5e59cef3281cbce291e05cb368df8990a782f9280e70e523d9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-10-03T20:54:05.131Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T20:54:05.132Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:54:05.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T20:54:05.436Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:54:05.498Z] prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container [2022-10-03T20:54:05.528Z] $ 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 [2022-10-03T20:54:05.889Z] $ docker top c45ec005dbab36fc09661f7f0fb60774ceb68d854b22ca85a95d74ae271fdc68 -eo pid,comm [2022-10-03T20:54:05.938Z] 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). [2022-10-03T20:54:05.938Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T20:54:05.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T20:54:05.970Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T20:54:06.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T20:54:06.085Z] $ docker exec c45ec005dbab36fc09661f7f0fb60774ceb68d854b22ca85a95d74ae271fdc68 ssh-agent [2022-10-03T20:54:06.187Z] SSH_AUTH_SOCK=/tmp/ssh-Es7W1MiTJch1/agent.32 [2022-10-03T20:54:06.187Z] SSH_AGENT_PID=38 [2022-10-03T20:54:06.191Z] Running ssh-add (command line suppressed) [2022-10-03T20:54:06.309Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8766942334976649883.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8766942334976649883.key) [2022-10-03T20:54:06.323Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T20:54:06.607Z] + git semver bump pre [2022-10-03T20:54:06.867Z] 2022-10-03 20:54:06,766 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-03T20:54:06.867Z] 2022-10-03 20:54:06,766 [bump_version] DEBUG bumping version:2.3.0-dev.17 on axis:pre with prefix:dev [2022-10-03T20:54:06.867Z] 2022-10-03 20:54:06,766 [bump_version] DEBUG bumped version:2.3.0-dev.18 [2022-10-03T20:54:06.867Z] 2022-10-03 20:54:06,767 [write_version] DEBUG write version:2.3.0-dev.18 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-10-03T20:54:06.867Z] 2022-10-03 20:54:06,767 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-03T20:54:06.867Z] 2022-10-03 20:54:06,767 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-03T20:54:06.867Z] 2022-10-03 20:54:06,769 [execute] INFO git cat-file --batch-check [2022-10-03T20:54:06.867Z] 2022-10-03 20:54:06,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T20:54:06.867Z] 2022-10-03 20:54:06,774 [execute] INFO git cat-file --batch [2022-10-03T20:54:06.867Z] 2022-10-03 20:54:06,774 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T20:54:06.867Z] 2022-10-03 20:54:06,779 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-03T20:54:06.867Z] 2.3.0-dev.18 [Pipeline] } [2022-10-03T20:54:06.876Z] $ docker exec --env ******** --env ******** c45ec005dbab36fc09661f7f0fb60774ceb68d854b22ca85a95d74ae271fdc68 ssh-agent -k [2022-10-03T20:54:06.967Z] unset SSH_AUTH_SOCK; [2022-10-03T20:54:06.967Z] unset SSH_AGENT_PID; [2022-10-03T20:54:06.967Z] echo Agent pid 38 killed; [2022-10-03T20:54:06.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T20:54:07.277Z] + git semver [Pipeline] } [2022-10-03T20:54:07.545Z] $ docker stop --time=1 c45ec005dbab36fc09661f7f0fb60774ceb68d854b22ca85a95d74ae271fdc68 [2022-10-03T20:54:08.839Z] $ docker rm -f c45ec005dbab36fc09661f7f0fb60774ceb68d854b22ca85a95d74ae271fdc68 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T20:54:09.168Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T20:54:09.168Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:54:09.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T20:54:09.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:54:09.529Z] prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container [2022-10-03T20:54:09.562Z] $ 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 [2022-10-03T20:54:09.955Z] $ docker top 664a56b48063e3bae690f83110b34f58e3644494d4428537e0579a12d96313ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T20:54:10.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T20:54:10.039Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T20:54:10.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T20:54:10.152Z] $ docker exec 664a56b48063e3bae690f83110b34f58e3644494d4428537e0579a12d96313ab ssh-agent [2022-10-03T20:54:10.267Z] SSH_AUTH_SOCK=/tmp/ssh-Gd5mcrutBcYB/agent.32 [2022-10-03T20:54:10.267Z] SSH_AGENT_PID=38 [2022-10-03T20:54:10.273Z] Running ssh-add (command line suppressed) [2022-10-03T20:54:10.372Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9783457142276896797.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9783457142276896797.key) [2022-10-03T20:54:10.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T20:54:10.671Z] + git semver push [2022-10-03T20:54:11.236Z] 2022-10-03 20:54:10,953 [run_push] DEBUG push [2022-10-03T20:54:11.237Z] 2022-10-03 20:54:10,955 [execute] INFO git cat-file --batch-check [2022-10-03T20:54:11.237Z] 2022-10-03 20:54:10,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T20:54:11.237Z] 2022-10-03 20:54:10,960 [execute] INFO git rev-list 8192e2b95a45758b310dff90343e5785f3c82f3a -- [2022-10-03T20:54:11.237Z] 2022-10-03 20:54:10,960 [execute] DEBUG Popen(['git', 'rev-list', '8192e2b95a45758b310dff90343e5785f3c82f3a', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-03T20:54:11.237Z] 2022-10-03 20:54:10,966 [execute] INFO git fetch -v origin [2022-10-03T20:54:11.237Z] 2022-10-03 20:54:10,967 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-10-03T20:54:11.494Z] 2022-10-03 20:54:11,488 [run_push] DEBUG no remote changes detected [2022-10-03T20:54:11.494Z] 2022-10-03 20:54:11,488 [execute] INFO git push origin semver [2022-10-03T20:54:11.494Z] 2022-10-03 20:54:11,489 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-03T20:54:12.434Z] 2022-10-03 20:54:12,280 [run_push] DEBUG push all version tags [2022-10-03T20:54:12.434Z] 2022-10-03 20:54:12,280 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-10-03T20:54:12.434Z] 2022-10-03 20:54:12,281 [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) [2022-10-03T20:54:13.369Z] 2022-10-03 20:54:13,061 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-03T20:54:13.370Z] 2.3.0-dev.18 [Pipeline] } [2022-10-03T20:54:13.377Z] $ docker exec --env ******** --env ******** 664a56b48063e3bae690f83110b34f58e3644494d4428537e0579a12d96313ab ssh-agent -k [2022-10-03T20:54:13.469Z] unset SSH_AUTH_SOCK; [2022-10-03T20:54:13.469Z] unset SSH_AGENT_PID; [2022-10-03T20:54:13.469Z] echo Agent pid 38 killed; [2022-10-03T20:54:13.481Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T20:54:13.781Z] + git semver [Pipeline] } [2022-10-03T20:54:14.366Z] $ docker stop --time=1 664a56b48063e3bae690f83110b34f58e3644494d4428537e0579a12d96313ab [2022-10-03T20:54:15.653Z] $ docker rm -f 664a56b48063e3bae690f83110b34f58e3644494d4428537e0579a12d96313ab [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 [2022-10-03T20:54:16.302Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-10-03T20:54:16.302Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-03T20:54:16.302Z] total 16 [2022-10-03T20:54:16.302Z] drwxr-xr-x 3 root root 4096 Oct 3 20:46 . [2022-10-03T20:54:16.302Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:54 .. [2022-10-03T20:54:16.302Z] drwxr-xr-x 2 root root 4096 Oct 3 20:46 cost [2022-10-03T20:54:16.302Z] -rw-r--r-- 1 root root 85 Oct 3 20:46 cost.csv [2022-10-03T20:54:16.302Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-03T20:54:16.302Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-03T20:54:16.302Z] total 16 [2022-10-03T20:54:16.302Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:46 . [2022-10-03T20:54:16.302Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:54 .. [2022-10-03T20:54:16.302Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 20:46 cost [2022-10-03T20:54:16.302Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 3 20:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:54:16.626Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:54:17.483Z] ---> package-listing.sh [2022-10-03T20:54:17.483Z] ++ facter osfamily [2022-10-03T20:54:17.483Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T20:54:17.741Z] + OS_FAMILY=debian [2022-10-03T20:54:17.741Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-10-03T20:54:17.741Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T20:54:17.741Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T20:54:17.741Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T20:54:17.741Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T20:54:17.741Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-10-03T20:54:17.741Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T20:54:17.741Z] + case "${OS_FAMILY}" in [2022-10-03T20:54:17.741Z] + dpkg -l [2022-10-03T20:54:17.741Z] + grep '^ii' [2022-10-03T20:54:17.741Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T20:54:17.741Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T20:54:17.741Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T20:54:17.741Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-10-03T20:54:17.741Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-10-03T20:54:17.741Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-10-03T20:54:17.751Z] 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 [2022-10-03T20:54:18.024Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:54:18.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T20:54:18.580Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:54:18.651Z] prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container [2022-10-03T20:54:18.679Z] $ 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 [2022-10-03T20:54:18.917Z] $ docker top bad95576abb7aef4484603aade8f9c8bb2e101e46c3729f9d83f3313b55ffbcf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:54:19.249Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T20:54:19.529Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T20:54:19.811Z] + ls /var/log/sa-host [2022-10-03T20:54:19.811Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T20:54:19.944Z] provisioning config files... [2022-10-03T20:54:19.952Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10879322217148238674tmp [Pipeline] { [Pipeline] echo [2022-10-03T20:54:19.963Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:54:20.241Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T20:54:20.248Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:54:20.565Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T20:54:20.572Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:54:20.850Z] ---> sudo-logs.sh [2022-10-03T20:54:20.850Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T20:54:20.877Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:54:21.156Z] ---> job-cost.sh [2022-10-03T20:54:21.156Z] lf-activate-venv: SKIPPING [2022-10-03T20:54:21.156Z] DEBUG: total: 0.2199999988079071 [2022-10-03T20:54:21.156Z] INFO: Retrieving Stack Cost... [2022-10-03T20:54:21.415Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T20:54:21.983Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T20:54:21.994Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:54:22.274Z] ---> logs-deploy.sh [2022-10-03T20:54:22.274Z] lf-activate-venv: SKIPPING [2022-10-03T20:54:22.274Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/61 [2022-10-03T20:54:22.274Z] INFO: archiving workspace using pattern(s): [2022-10-03T20:54:23.211Z] Archives upload complete. [2022-10-03T20:54:23.470Z] INFO: archiving logs to Nexus [2022-10-03T20:54:24.038Z] ---> uname -a: [2022-10-03T20:54:24.038Z] Linux prd-ubuntu20-04-docker-8c-8g-6937 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-03T20:54:24.038Z] [2022-10-03T20:54:24.038Z] [2022-10-03T20:54:24.038Z] ---> lscpu: [2022-10-03T20:54:24.038Z] Architecture: x86_64 [2022-10-03T20:54:24.038Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-03T20:54:24.038Z] Byte Order: Little Endian [2022-10-03T20:54:24.038Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-03T20:54:24.038Z] CPU(s): 8 [2022-10-03T20:54:24.038Z] On-line CPU(s) list: 0-7 [2022-10-03T20:54:24.038Z] Thread(s) per core: 1 [2022-10-03T20:54:24.038Z] Core(s) per socket: 1 [2022-10-03T20:54:24.038Z] Socket(s): 8 [2022-10-03T20:54:24.038Z] NUMA node(s): 1 [2022-10-03T20:54:24.038Z] Vendor ID: AuthenticAMD [2022-10-03T20:54:24.038Z] CPU family: 23 [2022-10-03T20:54:24.038Z] Model: 49 [2022-10-03T20:54:24.038Z] Model name: AMD EPYC-Rome Processor [2022-10-03T20:54:24.038Z] Stepping: 0 [2022-10-03T20:54:24.038Z] CPU MHz: 2799.998 [2022-10-03T20:54:24.038Z] BogoMIPS: 5599.99 [2022-10-03T20:54:24.038Z] Virtualization: AMD-V [2022-10-03T20:54:24.038Z] Hypervisor vendor: KVM [2022-10-03T20:54:24.038Z] Virtualization type: full [2022-10-03T20:54:24.038Z] L1d cache: 256 KiB [2022-10-03T20:54:24.038Z] L1i cache: 256 KiB [2022-10-03T20:54:24.038Z] L2 cache: 4 MiB [2022-10-03T20:54:24.038Z] L3 cache: 128 MiB [2022-10-03T20:54:24.038Z] NUMA node0 CPU(s): 0-7 [2022-10-03T20:54:24.038Z] Vulnerability Itlb multihit: Not affected [2022-10-03T20:54:24.038Z] Vulnerability L1tf: Not affected [2022-10-03T20:54:24.038Z] Vulnerability Mds: Not affected [2022-10-03T20:54:24.038Z] Vulnerability Meltdown: Not affected [2022-10-03T20:54:24.038Z] Vulnerability Mmio stale data: Not affected [2022-10-03T20:54:24.038Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-03T20:54:24.038Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-03T20:54:24.038Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-03T20:54:24.038Z] Vulnerability Srbds: Not affected [2022-10-03T20:54:24.038Z] Vulnerability Tsx async abort: Not affected [2022-10-03T20:54:24.038Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-03T20:54:24.038Z] [2022-10-03T20:54:24.038Z] [2022-10-03T20:54:24.038Z] ---> nproc: [2022-10-03T20:54:24.038Z] 8 [2022-10-03T20:54:24.038Z] [2022-10-03T20:54:24.038Z]