Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 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-ssh10148555643658254996.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh5761776226964262351.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh4948398482133961176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh15055220206966376762.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh16206171692172032149.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-16197’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16200 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 Commit message: "Merge pull request #200 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10" > git rev-list --no-walk a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-28T08:41:29.492Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-28T08:41:29.551Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-28T08:41:29.564Z] ========================================================= [2022-06-28T08:41:29.564Z] EdgeX Global Pipelines Version Info [2022-06-28T08:41:29.564Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:41:30.314Z] ------------------- [2022-06-28T08:41:30.314Z] stable info: [2022-06-28T08:41:30.314Z] ------------------- [2022-06-28T08:41:30.314Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-28T08:41:30.314Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T08:41:30.314Z] Message: update stable to v1.0.234 [2022-06-28T08:41:30.887Z] ------------------- [2022-06-28T08:41:30.887Z] experimental info: [2022-06-28T08:41:30.887Z] ------------------- [2022-06-28T08:41:30.887Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-28T08:41:30.888Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T08:41:30.888Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-28T08:41:31.144Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-28T08:41:31.156Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-28T08:41:31.166Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-28T08:41:31.177Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-28T08:41:31.190Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-28T08:41:31.204Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-28T08:41:31.213Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-28T08:41:31.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-28T08:41:31.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-28T08:41:31.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-28T08:41:31.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-28T08:41:31.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-28T08:41:31.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-28T08:41:31.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-28T08:41:31.304Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T08:41:31.321Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T08:41:31.332Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T08:41:31.345Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T08:41:31.356Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-28T08:41:31.367Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-28T08:41:31.380Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-28T08:41:31.391Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-28T08:41:31.401Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-28T08:41:31.412Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-28T08:41:31.426Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-28T08:41:31.440Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-28T08:41:31.453Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-28T08:41:31.464Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-28T08:41:31.476Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-28T08:41:31.487Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-28T08:41:31.499Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] echo [2022-06-28T08:41:31.511Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d7dd7b [Pipeline] echo [2022-06-28T08:41:31.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T08:41:31.576Z] provisioning config files... [2022-06-28T08:41:31.593Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6286872470002070224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:41:31.905Z] ---> docker-login.sh [2022-06-28T08:41:31.905Z] nexus3.edgexfoundry.org:10001 [2022-06-28T08:41:32.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:41:32.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:41:32.170Z] Configure a credential helper to remove this warning. See [2022-06-28T08:41:32.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:41:32.170Z] [2022-06-28T08:41:32.170Z] Login Succeeded [2022-06-28T08:41:32.170Z] nexus3.edgexfoundry.org:10002 [2022-06-28T08:41:32.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:41:32.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:41:32.431Z] Configure a credential helper to remove this warning. See [2022-06-28T08:41:32.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:41:32.431Z] [2022-06-28T08:41:32.431Z] Login Succeeded [2022-06-28T08:41:32.431Z] nexus3.edgexfoundry.org:10003 [2022-06-28T08:41:32.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:41:32.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:41:32.431Z] Configure a credential helper to remove this warning. See [2022-06-28T08:41:32.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:41:32.431Z] [2022-06-28T08:41:32.431Z] Login Succeeded [2022-06-28T08:41:32.431Z] nexus3.edgexfoundry.org:10004 [2022-06-28T08:41:32.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:41:32.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:41:32.694Z] Configure a credential helper to remove this warning. See [2022-06-28T08:41:32.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:41:32.694Z] [2022-06-28T08:41:32.694Z] Login Succeeded [2022-06-28T08:41:32.694Z] docker.io [2022-06-28T08:41:32.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:41:33.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:41:33.268Z] Configure a credential helper to remove this warning. See [2022-06-28T08:41:33.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:41:33.268Z] [2022-06-28T08:41:33.268Z] Login Succeeded [2022-06-28T08:41:33.268Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T08:41:33.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-28T08:41:33.653Z] + git rev-list -1 --merges 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07~1..2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] echo [2022-06-28T08:41:33.682Z] -----------> git rev-list -1 --merges 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07~1..2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [2022-06-28T08:41:33.682Z] 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [false] [Pipeline] sh [2022-06-28T08:41:33.975Z] + git log --format=format:%s -1 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] echo [2022-06-28T08:41:33.990Z] ========================================================= [2022-06-28T08:41:33.990Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-28T08:41:33.990Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T08:41:34.320Z] + git log --format=format:%s -1 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] echo [2022-06-28T08:41:34.332Z] [semverPrep] GIT_COMMIT: 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07, Commit Message: Merge pull request #200 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10 [Pipeline] echo [2022-06-28T08:41:34.342Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-28T08:41:34.713Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T08:41:34.713Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-28T08:41:34.713Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-28T08:41:34.713Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-28T08:41:34.713Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-28T08:41:34.713Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-28T08:41:34.713Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:41:35.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T08:41:35.123Z] [2022-06-28T08:41:35.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:41:35.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T08:41:35.433Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-28T08:41:35.433Z] 42c077c10790: Pulling fs layer [2022-06-28T08:41:35.433Z] f63e77b7563a: Pulling fs layer [2022-06-28T08:41:35.433Z] bd5fdadae976: Pulling fs layer [2022-06-28T08:41:35.433Z] 205491f53016: Pulling fs layer [2022-06-28T08:41:35.433Z] df18705c85c3: Pulling fs layer [2022-06-28T08:41:35.433Z] bdb3f477010e: Pulling fs layer [2022-06-28T08:41:35.433Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-28T08:41:35.433Z] 2c6e9b1d212d: Pulling fs layer [2022-06-28T08:41:35.433Z] bdb8f0575790: Pulling fs layer [2022-06-28T08:41:35.433Z] 386e3cb2ff24: Pulling fs layer [2022-06-28T08:41:35.433Z] 2343380bae48: Pulling fs layer [2022-06-28T08:41:35.433Z] c8a8fc8e1c8f: Waiting [2022-06-28T08:41:35.433Z] 2c6e9b1d212d: Waiting [2022-06-28T08:41:35.433Z] 205491f53016: Waiting [2022-06-28T08:41:35.433Z] bdb8f0575790: Waiting [2022-06-28T08:41:35.433Z] df18705c85c3: Waiting [2022-06-28T08:41:35.433Z] 386e3cb2ff24: Waiting [2022-06-28T08:41:35.433Z] 2343380bae48: Waiting [2022-06-28T08:41:35.433Z] bdb3f477010e: Waiting [2022-06-28T08:41:35.433Z] f63e77b7563a: Download complete [2022-06-28T08:41:35.433Z] 205491f53016: Verifying Checksum [2022-06-28T08:41:35.433Z] 205491f53016: Download complete [2022-06-28T08:41:35.700Z] df18705c85c3: Verifying Checksum [2022-06-28T08:41:35.700Z] df18705c85c3: Download complete [2022-06-28T08:41:35.700Z] bdb3f477010e: Verifying Checksum [2022-06-28T08:41:35.700Z] bdb3f477010e: Download complete [2022-06-28T08:41:35.700Z] bd5fdadae976: Verifying Checksum [2022-06-28T08:41:35.700Z] bd5fdadae976: Download complete [2022-06-28T08:41:35.700Z] 2c6e9b1d212d: Verifying Checksum [2022-06-28T08:41:35.700Z] 2c6e9b1d212d: Download complete [2022-06-28T08:41:35.700Z] bdb8f0575790: Download complete [2022-06-28T08:41:35.700Z] 386e3cb2ff24: Download complete [2022-06-28T08:41:35.700Z] 2343380bae48: Verifying Checksum [2022-06-28T08:41:35.700Z] 2343380bae48: Download complete [2022-06-28T08:41:35.700Z] 42c077c10790: Verifying Checksum [2022-06-28T08:41:35.700Z] 42c077c10790: Download complete [2022-06-28T08:41:35.960Z] c8a8fc8e1c8f: Download complete [2022-06-28T08:41:37.349Z] 42c077c10790: Pull complete [2022-06-28T08:41:37.349Z] f63e77b7563a: Pull complete [2022-06-28T08:41:37.923Z] bd5fdadae976: Pull complete [2022-06-28T08:41:37.923Z] 205491f53016: Pull complete [2022-06-28T08:41:38.182Z] df18705c85c3: Pull complete [2022-06-28T08:41:38.182Z] bdb3f477010e: Pull complete [2022-06-28T08:41:40.724Z] c8a8fc8e1c8f: Pull complete [2022-06-28T08:41:40.724Z] 2c6e9b1d212d: Pull complete [2022-06-28T08:41:40.724Z] bdb8f0575790: Pull complete [2022-06-28T08:41:40.724Z] 386e3cb2ff24: Pull complete [2022-06-28T08:41:40.724Z] 2343380bae48: Pull complete [2022-06-28T08:41:40.724Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-28T08:41:40.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T08:41:40.724Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:41:40.830Z] prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container [2022-06-28T08:41:40.865Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T08:41:42.562Z] $ docker top 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 -eo pid,comm [2022-06-28T08:41:42.634Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-28T08:41:42.634Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T08:41:42.673Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T08:41:42.673Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T08:41:42.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T08:41:42.819Z] $ docker exec 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 ssh-agent [2022-06-28T08:41:42.958Z] SSH_AUTH_SOCK=/tmp/ssh-igT48Xgscyof/agent.32 [2022-06-28T08:41:42.958Z] SSH_AGENT_PID=38 [2022-06-28T08:41:42.965Z] Running ssh-add (command line suppressed) [2022-06-28T08:41:43.076Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3634404413699127376.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3634404413699127376.key) [2022-06-28T08:41:43.091Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T08:41:43.386Z] + git tag --points-at HEAD [Pipeline] } [2022-06-28T08:41:43.406Z] $ docker exec --env ******** --env ******** 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 ssh-agent -k [2022-06-28T08:41:43.522Z] unset SSH_AUTH_SOCK; [2022-06-28T08:41:43.522Z] unset SSH_AGENT_PID; [2022-06-28T08:41:43.522Z] echo Agent pid 38 killed; [2022-06-28T08:41:43.533Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-28T08:41:43.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T08:41:43.560Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T08:41:43.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T08:41:43.699Z] $ docker exec 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 ssh-agent [2022-06-28T08:41:43.817Z] SSH_AUTH_SOCK=/tmp/ssh-cQuEFGkPEj5O/agent.71 [2022-06-28T08:41:43.817Z] SSH_AGENT_PID=77 [2022-06-28T08:41:43.823Z] Running ssh-add (command line suppressed) [2022-06-28T08:41:43.939Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_240153213546060388.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_240153213546060388.key) [2022-06-28T08:41:43.954Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T08:41:44.244Z] + git semver init [2022-06-28T08:41:44.505Z] 2022-06-28 08:41:44,458 [run_init] DEBUG init version:0.0.0 force:False [2022-06-28T08:41:44.505Z] 2022-06-28 08:41:44,458 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-06-28T08:41:44.505Z] 2022-06-28 08:41:44,459 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-06-28T08:41:44.505Z] 2022-06-28 08:41:44,459 [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-06-28T08:41:45.448Z] 2022-06-28 08:41:45,351 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-06-28T08:41:45.448Z] 2022-06-28 08:41:45,352 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-06-28T08:41:45.448Z] 2022-06-28 08:41:45,352 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-28T08:41:45.448Z] 2022-06-28 08:41:45,352 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-28T08:41:45.448Z] 2.2.1-dev.6 [Pipeline] } [2022-06-28T08:41:45.460Z] $ docker exec --env ******** --env ******** 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 ssh-agent -k [2022-06-28T08:41:45.575Z] unset SSH_AUTH_SOCK; [2022-06-28T08:41:45.575Z] unset SSH_AGENT_PID; [2022-06-28T08:41:45.575Z] echo Agent pid 77 killed; [2022-06-28T08:41:45.591Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T08:41:45.897Z] + git semver [Pipeline] } [2022-06-28T08:41:46.176Z] $ docker stop --time=1 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 [2022-06-28T08:41:47.517Z] $ docker rm -f 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T08:41:47.874Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-28T08:41:48.138Z] Stashed 1 file(s) [Pipeline] echo [2022-06-28T08:41:48.141Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T08:41:48.285Z] provisioning config files... [2022-06-28T08:41:48.296Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5612266021827797671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:41:48.596Z] ---> docker-login.sh [2022-06-28T08:41:48.596Z] nexus3.edgexfoundry.org:10001 [2022-06-28T08:41:48.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:41:48.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:41:48.596Z] Configure a credential helper to remove this warning. See [2022-06-28T08:41:48.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:41:48.596Z] [2022-06-28T08:41:48.596Z] Login Succeeded [2022-06-28T08:41:48.596Z] nexus3.edgexfoundry.org:10002 [2022-06-28T08:41:48.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:41:48.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:41:48.856Z] Configure a credential helper to remove this warning. See [2022-06-28T08:41:48.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:41:48.856Z] [2022-06-28T08:41:48.856Z] Login Succeeded [2022-06-28T08:41:48.856Z] nexus3.edgexfoundry.org:10003 [2022-06-28T08:41:48.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:41:48.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:41:48.856Z] Configure a credential helper to remove this warning. See [2022-06-28T08:41:48.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:41:48.856Z] [2022-06-28T08:41:48.856Z] Login Succeeded [2022-06-28T08:41:48.856Z] nexus3.edgexfoundry.org:10004 [2022-06-28T08:41:48.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:41:49.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:41:49.117Z] Configure a credential helper to remove this warning. See [2022-06-28T08:41:49.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:41:49.117Z] [2022-06-28T08:41:49.117Z] Login Succeeded [2022-06-28T08:41:49.117Z] docker.io [2022-06-28T08:41:49.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:41:49.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:41:49.377Z] Configure a credential helper to remove this warning. See [2022-06-28T08:41:49.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:41:49.377Z] [2022-06-28T08:41:49.377Z] Login Succeeded [2022-06-28T08:41:49.377Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T08:41:49.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T08:41:49.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T08:41:49.467Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T08:41:49.475Z] ========================================================= [2022-06-28T08:41:49.475Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-28T08:41:49.475Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:41:49.793Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-28T08:41:49.793Z] Sending build context to Docker daemon 10.67MB [2022-06-28T08:41:49.793Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T08:41:49.793Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-28T08:41:49.793Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-28T08:41:49.793Z] 59bf1c3509f3: Pulling fs layer [2022-06-28T08:41:49.793Z] 666ba61612fd: Pulling fs layer [2022-06-28T08:41:49.793Z] 8ed8ca486205: Pulling fs layer [2022-06-28T08:41:49.793Z] cc1cd167ecdc: Pulling fs layer [2022-06-28T08:41:49.793Z] c516ae0d96e1: Pulling fs layer [2022-06-28T08:41:49.793Z] 684cea983483: Pulling fs layer [2022-06-28T08:41:49.793Z] dd3240ac7de5: Pulling fs layer [2022-06-28T08:41:49.793Z] b1e948a4e11c: Pulling fs layer [2022-06-28T08:41:49.793Z] a8fd76ee1af6: Pulling fs layer [2022-06-28T08:41:49.793Z] 646ad004c059: Pulling fs layer [2022-06-28T08:41:49.793Z] cc1cd167ecdc: Waiting [2022-06-28T08:41:49.793Z] dd3240ac7de5: Waiting [2022-06-28T08:41:49.793Z] c516ae0d96e1: Waiting [2022-06-28T08:41:49.793Z] b1e948a4e11c: Waiting [2022-06-28T08:41:49.793Z] a8fd76ee1af6: Waiting [2022-06-28T08:41:49.793Z] 684cea983483: Waiting [2022-06-28T08:41:49.793Z] 646ad004c059: Waiting [2022-06-28T08:41:49.793Z] 8ed8ca486205: Verifying Checksum [2022-06-28T08:41:49.793Z] 8ed8ca486205: Download complete [2022-06-28T08:41:49.793Z] 666ba61612fd: Verifying Checksum [2022-06-28T08:41:49.793Z] 666ba61612fd: Download complete [2022-06-28T08:41:50.061Z] c516ae0d96e1: Verifying Checksum [2022-06-28T08:41:50.061Z] c516ae0d96e1: Download complete [2022-06-28T08:41:50.061Z] 684cea983483: Verifying Checksum [2022-06-28T08:41:50.061Z] 684cea983483: Download complete [2022-06-28T08:41:50.061Z] dd3240ac7de5: Verifying Checksum [2022-06-28T08:41:50.061Z] dd3240ac7de5: Download complete [2022-06-28T08:41:50.061Z] 59bf1c3509f3: Verifying Checksum [2022-06-28T08:41:50.061Z] 59bf1c3509f3: Download complete [2022-06-28T08:41:50.061Z] b1e948a4e11c: Verifying Checksum [2022-06-28T08:41:50.061Z] b1e948a4e11c: Download complete [2022-06-28T08:41:50.061Z] 59bf1c3509f3: Pull complete [2022-06-28T08:41:50.336Z] 666ba61612fd: Pull complete [2022-06-28T08:41:50.336Z] 8ed8ca486205: Pull complete [2022-06-28T08:41:50.918Z] a8fd76ee1af6: Verifying Checksum [2022-06-28T08:41:50.918Z] a8fd76ee1af6: Download complete [2022-06-28T08:41:50.918Z] cc1cd167ecdc: Verifying Checksum [2022-06-28T08:41:50.918Z] cc1cd167ecdc: Download complete [2022-06-28T08:41:50.918Z] 646ad004c059: Verifying Checksum [2022-06-28T08:41:50.918Z] 646ad004c059: Download complete [2022-06-28T08:41:55.113Z] cc1cd167ecdc: Pull complete [2022-06-28T08:41:55.113Z] c516ae0d96e1: Pull complete [2022-06-28T08:41:55.113Z] 684cea983483: Pull complete [2022-06-28T08:41:55.113Z] dd3240ac7de5: Pull complete [2022-06-28T08:41:55.113Z] b1e948a4e11c: Pull complete [2022-06-28T08:41:57.019Z] a8fd76ee1af6: Pull complete [2022-06-28T08:41:57.956Z] 646ad004c059: Pull complete [2022-06-28T08:41:57.956Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-28T08:41:57.956Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-28T08:41:57.956Z] ---> 8f69c11f6b0c [2022-06-28T08:41:57.956Z] Step 3/12 : ARG MAKE='make build' [2022-06-28T08:41:59.864Z] ---> Running in acebe06e7802 [2022-06-28T08:41:59.864Z] Removing intermediate container acebe06e7802 [2022-06-28T08:41:59.864Z] ---> 549f369de567 [2022-06-28T08:41:59.864Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T08:41:59.864Z] ---> Running in 7a399eeedc98 [2022-06-28T08:41:59.864Z] Removing intermediate container 7a399eeedc98 [2022-06-28T08:41:59.864Z] ---> 563d0791d39d [2022-06-28T08:41:59.864Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T08:41:59.864Z] ---> Running in 60e37ceadbb4 [2022-06-28T08:41:59.864Z] Removing intermediate container 60e37ceadbb4 [2022-06-28T08:41:59.864Z] ---> bcc555a23445 [2022-06-28T08:41:59.864Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T08:41:59.864Z] ---> Running in 5f5f268c66d0 [2022-06-28T08:42:00.803Z] Removing intermediate container 5f5f268c66d0 [2022-06-28T08:42:00.803Z] ---> 72d5335847d2 [2022-06-28T08:42:00.803Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T08:42:00.803Z] ---> Running in 870fa3ea0675 [2022-06-28T08:42:00.803Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T08:42:01.741Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T08:42:02.002Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-28T08:42:02.262Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-28T08:42:02.262Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-28T08:42:02.262Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-28T08:42:02.523Z] Executing busybox-1.34.1-r3.trigger [2022-06-28T08:42:02.523Z] OK: 224 MiB in 56 packages [2022-06-28T08:42:02.790Z] Removing intermediate container 870fa3ea0675 [2022-06-28T08:42:02.790Z] ---> 2a9a78c93598 [2022-06-28T08:42:02.790Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-28T08:42:03.061Z] ---> Running in 4dc2a07e7c6c [2022-06-28T08:42:03.061Z] Removing intermediate container 4dc2a07e7c6c [2022-06-28T08:42:03.061Z] ---> 4c762915ce84 [2022-06-28T08:42:03.061Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-28T08:42:03.250Z] Still waiting to schedule task [2022-06-28T08:42:03.250Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-28T08:42:03.323Z] ---> 9b8a9a109039 [2022-06-28T08:42:03.323Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T08:42:03.323Z] ---> Running in cf0378fe8100 [2022-06-28T08:42:21.432Z] Removing intermediate container cf0378fe8100 [2022-06-28T08:42:21.432Z] ---> ad93063caca2 [2022-06-28T08:42:21.432Z] Step 11/12 : COPY . . [2022-06-28T08:42:22.003Z] ---> 09538cce18c3 [2022-06-28T08:42:22.003Z] Step 12/12 : RUN $MAKE [2022-06-28T08:42:22.003Z] ---> Running in 260596bb3dc2 [2022-06-28T08:42:22.263Z] noop [2022-06-28T08:42:22.524Z] Removing intermediate container 260596bb3dc2 [2022-06-28T08:42:22.524Z] ---> fd8c6bb60fb8 [2022-06-28T08:42:22.524Z] Successfully built fd8c6bb60fb8 [2022-06-28T08:42:22.524Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:42:22.852Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T08:42:22.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:42:22.935Z] prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container [2022-06-28T08:42:22.986Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-28T08:42:23.353Z] $ docker top 89f6758799805e495fba911e5f6c9590a34df8ba68affb6b8562bfdc12f4eb16 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T08:42:23.714Z] + go version [2022-06-28T08:42:23.714Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-28T08:42:23.731Z] $ docker stop --time=1 89f6758799805e495fba911e5f6c9590a34df8ba68affb6b8562bfdc12f4eb16 [2022-06-28T08:42:25.037Z] $ docker rm -f 89f6758799805e495fba911e5f6c9590a34df8ba68affb6b8562bfdc12f4eb16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:42:25.437Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T08:42:25.437Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:42:25.515Z] prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container [2022-06-28T08:42:25.552Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-28T08:42:25.931Z] $ docker top 93ca7353ffa9474ef3736e64b91548c3d8313f103408fbc74c4cfcca1f97220c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T08:42:26.295Z] + make test [2022-06-28T08:42:26.295Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T08:42:26.554Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-28T08:42:36.536Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-28T08:42:36.536Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2022-06-28T08:42:41.812Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T08:42:46.013Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T08:42:46.013Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T08:42:46.013Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T08:42:46.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T08:42:46.046Z] $ docker stop --time=1 93ca7353ffa9474ef3736e64b91548c3d8313f103408fbc74c4cfcca1f97220c [2022-06-28T08:42:47.854Z] $ docker rm -f 93ca7353ffa9474ef3736e64b91548c3d8313f103408fbc74c4cfcca1f97220c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T08:42:48.282Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T08:42:48.318Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-28T08:42:48.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T08:42:49.091Z] + ls -al . [2022-06-28T08:42:49.091Z] total 172 [2022-06-28T08:42:49.091Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 08:42 . [2022-06-28T08:42:49.091Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 08:41 .. [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 28 08:41 .dockerignore [2022-06-28T08:42:49.091Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 08:41 .git [2022-06-28T08:42:49.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 08:41 .github [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 28 08:41 .gitignore [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 28 08:41 .golangci.yml [2022-06-28T08:42:49.091Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 08:41 .semver [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 28 08:41 Attribution.txt [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 28 08:41 CHANGELOG.md [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 28 08:41 Dockerfile [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 08:41 GOVERNANCE.md [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 28 08:41 Jenkinsfile [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 08:41 LICENSE [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 28 08:41 Makefile [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 28 08:41 OWNERS.md [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 28 08:41 README.md [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 28 08:41 VERSION [2022-06-28T08:42:49.091Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 08:41 bin [2022-06-28T08:42:49.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 08:41 cmd [2022-06-28T08:42:49.091Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 28 08:42 coverage.out [2022-06-28T08:42:49.091Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 08:41 driver [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jun 28 08:41 go.mod [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jun 28 08:41 go.sum [2022-06-28T08:42:49.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 08:41 snap [2022-06-28T08:42:49.091Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 28 08:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:42:49.393Z] + 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=2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 --label arch=amd64 --label version=2.2.1-dev.6 . [2022-06-28T08:42:49.393Z] Sending build context to Docker daemon 10.68MB [2022-06-28T08:42:49.393Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T08:42:49.393Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-28T08:42:49.393Z] ---> fd8c6bb60fb8 [2022-06-28T08:42:49.393Z] Step 3/25 : ARG MAKE='make build' [2022-06-28T08:42:49.393Z] ---> Running in a8d048e8d37b [2022-06-28T08:42:49.655Z] Removing intermediate container a8d048e8d37b [2022-06-28T08:42:49.655Z] ---> ff4fd7bdb241 [2022-06-28T08:42:49.655Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T08:42:49.655Z] ---> Running in 59a57097d60d [2022-06-28T08:42:49.655Z] Removing intermediate container 59a57097d60d [2022-06-28T08:42:49.655Z] ---> 7cc574d16b5b [2022-06-28T08:42:49.655Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T08:42:49.655Z] ---> Running in 866f8feabc95 [2022-06-28T08:42:49.914Z] Removing intermediate container 866f8feabc95 [2022-06-28T08:42:49.914Z] ---> 9326d173751a [2022-06-28T08:42:49.914Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T08:42:49.914Z] ---> Running in 5678aba4b87b [2022-06-28T08:42:50.484Z] Removing intermediate container 5678aba4b87b [2022-06-28T08:42:50.484Z] ---> 81909d5fcf68 [2022-06-28T08:42:50.484Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T08:42:50.484Z] ---> Running in 3417f62b6556 [2022-06-28T08:42:50.743Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T08:42:51.683Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T08:42:51.944Z] OK: 224 MiB in 56 packages [2022-06-28T08:42:52.209Z] Removing intermediate container 3417f62b6556 [2022-06-28T08:42:52.209Z] ---> ec0584a4a734 [2022-06-28T08:42:52.209Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-28T08:42:52.209Z] ---> Running in a25a79037788 [2022-06-28T08:42:52.209Z] Removing intermediate container a25a79037788 [2022-06-28T08:42:52.209Z] ---> 3937fa34054f [2022-06-28T08:42:52.209Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-28T08:42:52.469Z] ---> 8a28a65ea05a [2022-06-28T08:42:52.469Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T08:42:52.469Z] ---> Running in 4f22b2c0a35b [2022-06-28T08:42:53.040Z] Removing intermediate container 4f22b2c0a35b [2022-06-28T08:42:53.040Z] ---> 2b72d7a02ebe [2022-06-28T08:42:53.040Z] Step 11/25 : COPY . . [2022-06-28T08:42:53.299Z] ---> 0c31f55f2734 [2022-06-28T08:42:53.299Z] Step 12/25 : RUN $MAKE [2022-06-28T08:42:53.299Z] ---> Running in c80f15aeefa2 [2022-06-28T08:42:53.558Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-28T08:43:15.529Z] Removing intermediate container c80f15aeefa2 [2022-06-28T08:43:15.529Z] ---> 657404c7c8a0 [2022-06-28T08:43:15.529Z] Step 13/25 : FROM alpine:3.14 [2022-06-28T08:43:15.529Z] 3.14: Pulling from library/alpine [2022-06-28T08:43:15.529Z] 8663204ce13b: Pulling fs layer [2022-06-28T08:43:15.529Z] 8663204ce13b: Verifying Checksum [2022-06-28T08:43:15.529Z] 8663204ce13b: Download complete [2022-06-28T08:43:15.529Z] 8663204ce13b: Pull complete [2022-06-28T08:43:15.529Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-28T08:43:15.529Z] Status: Downloaded newer image for alpine:3.14 [2022-06-28T08:43:15.529Z] ---> e04c818066af [2022-06-28T08:43:15.529Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-28T08:43:15.529Z] ---> Running in 67609f36a024 [2022-06-28T08:43:15.529Z] Removing intermediate container 67609f36a024 [2022-06-28T08:43:15.529Z] ---> fcabf120f597 [2022-06-28T08:43:15.529Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-28T08:43:15.529Z] ---> Running in 6d82fe9a3c4d [2022-06-28T08:43:15.529Z] Removing intermediate container 6d82fe9a3c4d [2022-06-28T08:43:15.529Z] ---> 1b11456feac6 [2022-06-28T08:43:15.529Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T08:43:15.529Z] ---> Running in e16f065b9dd4 [2022-06-28T08:43:15.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-28T08:43:15.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-28T08:43:15.529Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T08:43:15.529Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-28T08:43:15.529Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T08:43:15.529Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-28T08:43:15.529Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T08:43:15.529Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T08:43:15.529Z] Executing busybox-1.33.1-r7.trigger [2022-06-28T08:43:15.529Z] OK: 8 MiB in 20 packages [2022-06-28T08:43:15.529Z] Removing intermediate container e16f065b9dd4 [2022-06-28T08:43:15.529Z] ---> 1f82e52bc121 [2022-06-28T08:43:15.529Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-28T08:43:15.529Z] ---> 14f2e4d014ac [2022-06-28T08:43:15.529Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-28T08:43:15.529Z] ---> c5136ce06267 [2022-06-28T08:43:15.529Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-28T08:43:15.529Z] ---> b49d0984221a [2022-06-28T08:43:15.529Z] Step 20/25 : EXPOSE 59986 [2022-06-28T08:43:15.529Z] ---> Running in 402de2537045 [2022-06-28T08:43:15.529Z] Removing intermediate container 402de2537045 [2022-06-28T08:43:15.529Z] ---> 1a38949fc5b5 [2022-06-28T08:43:15.529Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-28T08:43:15.529Z] ---> Running in 7a0ab19f1b11 [2022-06-28T08:43:15.789Z] Removing intermediate container 7a0ab19f1b11 [2022-06-28T08:43:15.789Z] ---> 84edb2ca1a2d [2022-06-28T08:43:15.789Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-28T08:43:15.789Z] ---> Running in a1febe209ed3 [2022-06-28T08:43:15.789Z] Removing intermediate container a1febe209ed3 [2022-06-28T08:43:15.789Z] ---> 26540cac636a [2022-06-28T08:43:15.789Z] Step 23/25 : LABEL arch=amd64 [2022-06-28T08:43:15.789Z] ---> Running in 31595c27f3d8 [2022-06-28T08:43:16.049Z] Removing intermediate container 31595c27f3d8 [2022-06-28T08:43:16.049Z] ---> e22433936720 [2022-06-28T08:43:16.049Z] Step 24/25 : LABEL git_sha=2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [2022-06-28T08:43:16.049Z] ---> Running in 7cb632f41e03 [2022-06-28T08:43:16.049Z] Removing intermediate container 7cb632f41e03 [2022-06-28T08:43:16.049Z] ---> 52f3f02cc744 [2022-06-28T08:43:16.049Z] Step 25/25 : LABEL version=2.2.1-dev.6 [2022-06-28T08:43:16.049Z] ---> Running in 4b9faf7ab79d [2022-06-28T08:43:16.309Z] Removing intermediate container 4b9faf7ab79d [2022-06-28T08:43:16.309Z] ---> 2446a70593e4 [2022-06-28T08:43:16.309Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T08:43:16.309Z] Successfully built 2446a70593e4 [2022-06-28T08:43:16.309Z] 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-06-28T08:43:16.414Z] provisioning config files... [2022-06-28T08:43:16.422Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6636660694759912543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:43:16.717Z] ---> docker-login.sh [2022-06-28T08:43:16.717Z] nexus3.edgexfoundry.org:10001 [2022-06-28T08:43:16.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:43:16.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:43:16.717Z] Configure a credential helper to remove this warning. See [2022-06-28T08:43:16.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:43:16.717Z] [2022-06-28T08:43:16.717Z] Login Succeeded [2022-06-28T08:43:16.717Z] nexus3.edgexfoundry.org:10002 [2022-06-28T08:43:16.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:43:16.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:43:16.978Z] Configure a credential helper to remove this warning. See [2022-06-28T08:43:16.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:43:16.978Z] [2022-06-28T08:43:16.978Z] Login Succeeded [2022-06-28T08:43:16.978Z] nexus3.edgexfoundry.org:10003 [2022-06-28T08:43:16.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:43:16.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:43:16.978Z] Configure a credential helper to remove this warning. See [2022-06-28T08:43:16.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:43:16.978Z] [2022-06-28T08:43:16.978Z] Login Succeeded [2022-06-28T08:43:16.978Z] nexus3.edgexfoundry.org:10004 [2022-06-28T08:43:16.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:43:17.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:43:17.237Z] Configure a credential helper to remove this warning. See [2022-06-28T08:43:17.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:43:17.237Z] [2022-06-28T08:43:17.237Z] Login Succeeded [2022-06-28T08:43:17.237Z] docker.io [2022-06-28T08:43:17.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:43:17.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:43:17.498Z] Configure a credential helper to remove this warning. See [2022-06-28T08:43:17.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:43:17.498Z] [2022-06-28T08:43:17.498Z] Login Succeeded [2022-06-28T08:43:17.498Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T08:43:17.505Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T08:43:17.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T08:43:17.560Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-06-28T08:43:17.560Z] 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [2022-06-28T08:43:17.560Z] latest [2022-06-28T08:43:17.560Z] 2.2.1-dev.6 [2022-06-28T08:43:17.560Z] 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 [2022-06-28T08:43:17.560Z] main [2022-06-28T08:43:17.560Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:43:17.882Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:43:18.196Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [2022-06-28T08:43:18.196Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-28T08:43:18.196Z] 114b82724278: Preparing [2022-06-28T08:43:18.196Z] 41cf5371f99d: Preparing [2022-06-28T08:43:18.196Z] ce3c1b827e20: Preparing [2022-06-28T08:43:18.196Z] a18820ccc61b: Preparing [2022-06-28T08:43:18.196Z] b541d28bf3b4: Preparing [2022-06-28T08:43:18.196Z] b541d28bf3b4: Layer already exists [2022-06-28T08:43:18.196Z] 114b82724278: Pushed [2022-06-28T08:43:18.196Z] 41cf5371f99d: Pushed [2022-06-28T08:43:18.456Z] a18820ccc61b: Pushed [2022-06-28T08:43:21.001Z] ce3c1b827e20: Pushed [2022-06-28T08:43:21.001Z] 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07: digest: sha256:4e7a5ce0f283e497634f60106f82e59cc41ac8b6327d8352baf57dd833912bc5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:43:21.318Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:43:21.626Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-06-28T08:43:21.626Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-28T08:43:21.626Z] 114b82724278: Preparing [2022-06-28T08:43:21.626Z] 41cf5371f99d: Preparing [2022-06-28T08:43:21.626Z] ce3c1b827e20: Preparing [2022-06-28T08:43:21.626Z] a18820ccc61b: Preparing [2022-06-28T08:43:21.626Z] b541d28bf3b4: Preparing [2022-06-28T08:43:21.626Z] 114b82724278: Layer already exists [2022-06-28T08:43:21.626Z] b541d28bf3b4: Layer already exists [2022-06-28T08:43:21.626Z] 41cf5371f99d: Layer already exists [2022-06-28T08:43:21.626Z] ce3c1b827e20: Layer already exists [2022-06-28T08:43:21.626Z] a18820ccc61b: Layer already exists [2022-06-28T08:43:21.626Z] latest: digest: sha256:4e7a5ce0f283e497634f60106f82e59cc41ac8b6327d8352baf57dd833912bc5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:43:21.941Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:43:22.250Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.6 [2022-06-28T08:43:22.250Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-28T08:43:22.250Z] 114b82724278: Preparing [2022-06-28T08:43:22.251Z] 41cf5371f99d: Preparing [2022-06-28T08:43:22.251Z] ce3c1b827e20: Preparing [2022-06-28T08:43:22.251Z] a18820ccc61b: Preparing [2022-06-28T08:43:22.251Z] b541d28bf3b4: Preparing [2022-06-28T08:43:22.251Z] b541d28bf3b4: Layer already exists [2022-06-28T08:43:22.251Z] 114b82724278: Layer already exists [2022-06-28T08:43:22.251Z] ce3c1b827e20: Layer already exists [2022-06-28T08:43:22.251Z] a18820ccc61b: Layer already exists [2022-06-28T08:43:22.251Z] 41cf5371f99d: Layer already exists [2022-06-28T08:43:22.251Z] 2.2.1-dev.6: digest: sha256:4e7a5ce0f283e497634f60106f82e59cc41ac8b6327d8352baf57dd833912bc5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:43:22.567Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:43:22.884Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 [2022-06-28T08:43:22.884Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-28T08:43:22.884Z] 114b82724278: Preparing [2022-06-28T08:43:22.884Z] 41cf5371f99d: Preparing [2022-06-28T08:43:22.884Z] ce3c1b827e20: Preparing [2022-06-28T08:43:22.884Z] a18820ccc61b: Preparing [2022-06-28T08:43:22.884Z] b541d28bf3b4: Preparing [2022-06-28T08:43:22.884Z] 41cf5371f99d: Layer already exists [2022-06-28T08:43:22.884Z] a18820ccc61b: Layer already exists [2022-06-28T08:43:22.884Z] b541d28bf3b4: Layer already exists [2022-06-28T08:43:22.884Z] ce3c1b827e20: Layer already exists [2022-06-28T08:43:22.884Z] 114b82724278: Layer already exists [2022-06-28T08:43:22.884Z] 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6: digest: sha256:4e7a5ce0f283e497634f60106f82e59cc41ac8b6327d8352baf57dd833912bc5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:43:23.205Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:43:23.518Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-06-28T08:43:23.518Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-28T08:43:23.518Z] 114b82724278: Preparing [2022-06-28T08:43:23.518Z] 41cf5371f99d: Preparing [2022-06-28T08:43:23.518Z] ce3c1b827e20: Preparing [2022-06-28T08:43:23.518Z] a18820ccc61b: Preparing [2022-06-28T08:43:23.518Z] b541d28bf3b4: Preparing [2022-06-28T08:43:23.518Z] b541d28bf3b4: Layer already exists [2022-06-28T08:43:23.518Z] a18820ccc61b: Layer already exists [2022-06-28T08:43:23.518Z] 114b82724278: Layer already exists [2022-06-28T08:43:23.518Z] 41cf5371f99d: Layer already exists [2022-06-28T08:43:23.518Z] ce3c1b827e20: Layer already exists [2022-06-28T08:43:23.518Z] main: digest: sha256:4e7a5ce0f283e497634f60106f82e59cc41ac8b6327d8352baf57dd833912bc5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T08:43:23.570Z] ===================================================== [Pipeline] echo [2022-06-28T08:43:23.581Z] taggedImages: [2022-06-28T08:43:23.581Z] - nexus3.edgexfoundry.org:10004/device-rest:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [2022-06-28T08:43:23.581Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-06-28T08:43:23.581Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.6 [2022-06-28T08:43:23.581Z] - nexus3.edgexfoundry.org:10004/device-rest:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 [2022-06-28T08:43:23.581Z] - 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-06-28T08:43:23.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T08:43:23.947Z] [2022-06-28T08:43:23.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:43:24.248Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T08:43:24.248Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-28T08:43:24.248Z] 5eb5b503b376: Pulling fs layer [2022-06-28T08:43:24.248Z] 5c69ac0246d0: Pulling fs layer [2022-06-28T08:43:24.248Z] ec43610c2a17: Pulling fs layer [2022-06-28T08:43:24.248Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-28T08:43:24.248Z] 33b1e0a273af: Pulling fs layer [2022-06-28T08:43:24.248Z] 5d3b04190fa2: Pulling fs layer [2022-06-28T08:43:24.248Z] 2f39f015ded8: Pulling fs layer [2022-06-28T08:43:24.248Z] 3a2ae6a8a46f: Waiting [2022-06-28T08:43:24.248Z] 5d3b04190fa2: Waiting [2022-06-28T08:43:24.248Z] 33b1e0a273af: Waiting [2022-06-28T08:43:24.248Z] 2f39f015ded8: Waiting [2022-06-28T08:43:24.248Z] 5c69ac0246d0: Verifying Checksum [2022-06-28T08:43:24.248Z] 5c69ac0246d0: Download complete [2022-06-28T08:43:24.248Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-28T08:43:24.248Z] 3a2ae6a8a46f: Download complete [2022-06-28T08:43:24.248Z] 33b1e0a273af: Verifying Checksum [2022-06-28T08:43:24.248Z] 33b1e0a273af: Download complete [2022-06-28T08:43:24.248Z] 5d3b04190fa2: Verifying Checksum [2022-06-28T08:43:24.248Z] 5d3b04190fa2: Download complete [2022-06-28T08:43:24.509Z] ec43610c2a17: Verifying Checksum [2022-06-28T08:43:24.509Z] ec43610c2a17: Download complete [2022-06-28T08:43:24.509Z] 5eb5b503b376: Verifying Checksum [2022-06-28T08:43:24.509Z] 5eb5b503b376: Download complete [2022-06-28T08:43:25.079Z] 2f39f015ded8: Download complete [2022-06-28T08:43:25.647Z] 5eb5b503b376: Pull complete [2022-06-28T08:43:25.647Z] 5c69ac0246d0: Pull complete [2022-06-28T08:43:26.216Z] ec43610c2a17: Pull complete [2022-06-28T08:43:26.216Z] 3a2ae6a8a46f: Pull complete [2022-06-28T08:43:26.476Z] 33b1e0a273af: Pull complete [2022-06-28T08:43:26.476Z] 5d3b04190fa2: Pull complete [2022-06-28T08:43:30.789Z] 2f39f015ded8: Pull complete [2022-06-28T08:43:30.789Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-28T08:43:30.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T08:43:30.789Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:43:30.878Z] prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container [2022-06-28T08:43:30.918Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T08:43:32.905Z] $ docker top 4399b5cf2efa91c6990f6f353bdb432a1ad465a154f285e36d6bb983d9e6b85d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:43:33.302Z] ---> job-cost.sh [2022-06-28T08:43:33.302Z] lf-activate-venv: SKIPPING [2022-06-28T08:43:33.302Z] INFO: No Stack... [2022-06-28T08:43:33.562Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T08:43:34.134Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T08:43:34.426Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-06-28T08:43:34.426Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T08:43:34.440Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] [2022-06-28T08:43:34.448Z] Resource [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] did not exist. Created. [2022-06-28T08:43:34.448Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T08:43:34.755Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-28T08:43:34.788Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T08:43:34.795Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T08:43:34.817Z] $ docker stop --time=1 4399b5cf2efa91c6990f6f353bdb432a1ad465a154f285e36d6bb983d9e6b85d [2022-06-28T08:43:35.075Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16201 in /w/workspace/edgexfoundry_device-rest-go_main [2022-06-28T08:43:36.008Z] $ docker rm -f 4399b5cf2efa91c6990f6f353bdb432a1ad465a154f285e36d6bb983d9e6b85d [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-06-28T08:43:36.077Z] Running in /w/workspace/device-rest-go/47 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [2022-06-28T08:43:36.112Z] The recommended git tool is: git [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-28T08:43:40.745Z] using credential edgex-jenkins-ssh [2022-06-28T08:43:40.762Z] Cloning the remote Git repository [2022-06-28T08:43:40.820Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-28T08:43:40.891Z] > git init /w/workspace/device-rest-go/47 # timeout=10 [2022-06-28T08:43:40.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-28T08:43:40.959Z] > git --version # timeout=10 [2022-06-28T08:43:40.977Z] > git --version # 'git version 2.25.1' [2022-06-28T08:43:40.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T08:43:41.051Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T08:43:42.800Z] Avoid second fetch [2022-06-28T08:43:42.800Z] Checking out Revision 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 (main) [2022-06-28T08:43:42.765Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-28T08:43:42.787Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T08:43:42.823Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T08:43:42.836Z] > git checkout -f 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 [2022-06-28T08:43:46.953Z] Commit message: "Merge pull request #200 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T08:43:47.962Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-28T08:43:47.962Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T08:43:47.962Z] Dload Upload Total Spent Left Speed [2022-06-28T08:43:47.962Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2022-06-28T08:43:48.620Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-28T08:43:48.968Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-28T08:43:48.968Z] + sudo tee /etc/docker/daemon.new [2022-06-28T08:43:48.968Z] { [2022-06-28T08:43:48.968Z] "registry-mirrors": [ [2022-06-28T08:43:48.968Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-28T08:43:48.968Z] ], [2022-06-28T08:43:48.968Z] "bip": "10.250.0.254/24", [2022-06-28T08:43:48.968Z] "hosts": [ [2022-06-28T08:43:48.968Z] "tcp://0.0.0.0:5555", [2022-06-28T08:43:48.968Z] "unix:///var/run/docker.sock" [2022-06-28T08:43:48.968Z] ], [2022-06-28T08:43:48.968Z] "mtu": 1458, [2022-06-28T08:43:48.968Z] "selinux-enabled": true, [2022-06-28T08:43:48.968Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-28T08:43:48.968Z] } [Pipeline] sh [2022-06-28T08:43:49.331Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-28T08:43:49.738Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T08:44:08.063Z] provisioning config files... [2022-06-28T08:44:08.085Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/47@tmp/config4776972551266457952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:44:08.430Z] ---> docker-login.sh [2022-06-28T08:44:08.431Z] nexus3.edgexfoundry.org:10001 [2022-06-28T08:44:09.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:44:09.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:44:09.292Z] Configure a credential helper to remove this warning. See [2022-06-28T08:44:09.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:44:09.292Z] [2022-06-28T08:44:09.292Z] Login Succeeded [2022-06-28T08:44:09.292Z] nexus3.edgexfoundry.org:10002 [2022-06-28T08:44:09.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:44:09.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:44:09.563Z] Configure a credential helper to remove this warning. See [2022-06-28T08:44:09.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:44:09.563Z] [2022-06-28T08:44:09.563Z] Login Succeeded [2022-06-28T08:44:09.563Z] nexus3.edgexfoundry.org:10003 [2022-06-28T08:44:09.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:44:10.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:44:10.109Z] Configure a credential helper to remove this warning. See [2022-06-28T08:44:10.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:44:10.109Z] [2022-06-28T08:44:10.109Z] Login Succeeded [2022-06-28T08:44:10.109Z] nexus3.edgexfoundry.org:10004 [2022-06-28T08:44:10.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:44:10.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:44:10.386Z] Configure a credential helper to remove this warning. See [2022-06-28T08:44:10.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:44:10.386Z] [2022-06-28T08:44:10.386Z] Login Succeeded [2022-06-28T08:44:10.386Z] docker.io [2022-06-28T08:44:10.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:44:11.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:44:11.256Z] Configure a credential helper to remove this warning. See [2022-06-28T08:44:11.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:44:11.256Z] [2022-06-28T08:44:11.256Z] Login Succeeded [2022-06-28T08:44:11.256Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T08:44:11.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T08:44:11.864Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T08:44:11.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T08:44:11.885Z] ========================================================= [2022-06-28T08:44:11.885Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-28T08:44:11.885Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:44:12.282Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-28T08:44:12.282Z] Sending build context to Docker daemon 129kB [2022-06-28T08:44:12.555Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T08:44:12.555Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-28T08:44:12.830Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-28T08:44:12.830Z] 9b3977197b4f: Pulling fs layer [2022-06-28T08:44:12.830Z] 1a89e8eeedd5: Pulling fs layer [2022-06-28T08:44:12.830Z] 94645a83ff95: Pulling fs layer [2022-06-28T08:44:12.830Z] e6fb740bc735: Pulling fs layer [2022-06-28T08:44:12.830Z] 3a77bd46dcc9: Pulling fs layer [2022-06-28T08:44:12.830Z] 355e64cbe906: Pulling fs layer [2022-06-28T08:44:12.830Z] 63ab81a10011: Pulling fs layer [2022-06-28T08:44:12.830Z] 555d1d1c4555: Pulling fs layer [2022-06-28T08:44:12.830Z] 7d9057610161: Pulling fs layer [2022-06-28T08:44:12.830Z] 3a77bd46dcc9: Waiting [2022-06-28T08:44:12.830Z] 355e64cbe906: Waiting [2022-06-28T08:44:12.830Z] 63ab81a10011: Waiting [2022-06-28T08:44:12.830Z] 555d1d1c4555: Waiting [2022-06-28T08:44:12.830Z] 7d9057610161: Waiting [2022-06-28T08:44:12.830Z] e6fb740bc735: Waiting [2022-06-28T08:44:12.830Z] 94645a83ff95: Verifying Checksum [2022-06-28T08:44:12.830Z] 94645a83ff95: Download complete [2022-06-28T08:44:12.830Z] 1a89e8eeedd5: Verifying Checksum [2022-06-28T08:44:12.830Z] 1a89e8eeedd5: Download complete [2022-06-28T08:44:12.830Z] 3a77bd46dcc9: Verifying Checksum [2022-06-28T08:44:12.830Z] 3a77bd46dcc9: Download complete [2022-06-28T08:44:12.830Z] 355e64cbe906: Verifying Checksum [2022-06-28T08:44:12.830Z] 355e64cbe906: Download complete [2022-06-28T08:44:12.830Z] 9b3977197b4f: Verifying Checksum [2022-06-28T08:44:12.830Z] 63ab81a10011: Verifying Checksum [2022-06-28T08:44:12.830Z] 63ab81a10011: Download complete [2022-06-28T08:44:13.834Z] 9b3977197b4f: Pull complete [2022-06-28T08:44:13.834Z] 7d9057610161: Verifying Checksum [2022-06-28T08:44:13.834Z] 7d9057610161: Download complete [2022-06-28T08:44:14.436Z] 1a89e8eeedd5: Pull complete [2022-06-28T08:44:14.715Z] 94645a83ff95: Pull complete [2022-06-28T08:44:14.991Z] 555d1d1c4555: Verifying Checksum [2022-06-28T08:44:14.991Z] 555d1d1c4555: Download complete [2022-06-28T08:44:15.591Z] e6fb740bc735: Verifying Checksum [2022-06-28T08:44:15.591Z] e6fb740bc735: Download complete [2022-06-28T08:44:28.005Z] e6fb740bc735: Pull complete [2022-06-28T08:44:28.005Z] 3a77bd46dcc9: Pull complete [2022-06-28T08:44:28.279Z] 355e64cbe906: Pull complete [2022-06-28T08:44:28.552Z] 63ab81a10011: Pull complete [2022-06-28T08:44:35.281Z] 555d1d1c4555: Pull complete [2022-06-28T08:44:36.753Z] 7d9057610161: Pull complete [2022-06-28T08:44:36.753Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-28T08:44:36.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-28T08:44:36.753Z] ---> 819e984ddca1 [2022-06-28T08:44:36.753Z] Step 3/12 : ARG MAKE='make build' [2022-06-28T08:44:38.730Z] ---> Running in 9f261a8db09d [2022-06-28T08:44:38.730Z] Removing intermediate container 9f261a8db09d [2022-06-28T08:44:38.730Z] ---> f2eda6a62808 [2022-06-28T08:44:38.730Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T08:44:38.730Z] ---> Running in c9898d2ff681 [2022-06-28T08:44:39.002Z] Removing intermediate container c9898d2ff681 [2022-06-28T08:44:39.002Z] ---> 0388a09c1a65 [2022-06-28T08:44:39.002Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T08:44:39.279Z] ---> Running in 54c799159884 [2022-06-28T08:44:39.550Z] Removing intermediate container 54c799159884 [2022-06-28T08:44:39.550Z] ---> 62f352a0e148 [2022-06-28T08:44:39.550Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T08:44:39.550Z] ---> Running in ccbebf7a9320 [2022-06-28T08:44:41.554Z] Removing intermediate container ccbebf7a9320 [2022-06-28T08:44:41.554Z] ---> 2a6e2d33cf22 [2022-06-28T08:44:41.554Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T08:44:41.554Z] ---> Running in 60d71c345a5a [2022-06-28T08:44:42.535Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T08:44:43.515Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T08:44:44.504Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-28T08:44:44.504Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-28T08:44:44.504Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-28T08:44:44.782Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-28T08:44:44.782Z] Executing busybox-1.34.1-r3.trigger [2022-06-28T08:44:45.057Z] OK: 224 MiB in 56 packages [2022-06-28T08:44:46.053Z] Removing intermediate container 60d71c345a5a [2022-06-28T08:44:46.053Z] ---> ea445916c31d [2022-06-28T08:44:46.053Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-28T08:44:46.053Z] ---> Running in 30d355ae8475 [2022-06-28T08:44:46.328Z] Removing intermediate container 30d355ae8475 [2022-06-28T08:44:46.328Z] ---> 9dfa5096bea8 [2022-06-28T08:44:46.328Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-28T08:44:47.326Z] ---> 89acaf94e96e [2022-06-28T08:44:47.326Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T08:44:47.326Z] ---> Running in 841184ebb3c6 [2022-06-28T08:45:43.941Z] Removing intermediate container 841184ebb3c6 [2022-06-28T08:45:43.941Z] ---> 805caaefe0c6 [2022-06-28T08:45:43.941Z] Step 11/12 : COPY . . [2022-06-28T08:45:43.941Z] ---> 61f4294025fe [2022-06-28T08:45:43.941Z] Step 12/12 : RUN $MAKE [2022-06-28T08:45:43.941Z] ---> Running in 605d438c6d42 [2022-06-28T08:45:43.941Z] noop [2022-06-28T08:45:43.941Z] Removing intermediate container 605d438c6d42 [2022-06-28T08:45:43.941Z] ---> 0f4d688aaf7d [2022-06-28T08:45:43.941Z] Successfully built 0f4d688aaf7d [2022-06-28T08:45:43.941Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:45:44.303Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T08:45:44.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:45:44.541Z] prd-ubuntu20.04-docker-arm64-4c-16g-16201 does not seem to be running inside a container [2022-06-28T08:45:44.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@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-06-28T08:45:45.899Z] $ docker top af4d393f6bcce7b17d8b496df09a2d5c001ae7d950df03fad2d57b5b11a960bb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T08:45:46.809Z] + go version [2022-06-28T08:45:46.809Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-28T08:45:46.835Z] $ docker stop --time=1 af4d393f6bcce7b17d8b496df09a2d5c001ae7d950df03fad2d57b5b11a960bb [2022-06-28T08:45:48.479Z] $ docker rm -f af4d393f6bcce7b17d8b496df09a2d5c001ae7d950df03fad2d57b5b11a960bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:45:49.058Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T08:45:49.058Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:45:49.284Z] prd-ubuntu20.04-docker-arm64-4c-16g-16201 does not seem to be running inside a container [2022-06-28T08:45:49.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@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-06-28T08:45:50.603Z] $ docker top 9d4145caeca977f0309be11e850da265b0c8a9d158e79e84d2a896a0f84f3b15 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T08:45:51.492Z] + make test [2022-06-28T08:45:51.492Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T08:45:52.945Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-28T08:47:14.787Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-28T08:47:14.787Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements [2022-06-28T08:47:14.787Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-28T08:47:14.787Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T08:47:36.984Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T08:47:36.984Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T08:47:36.984Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T08:47:37.005Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T08:47:37.023Z] $ docker stop --time=1 9d4145caeca977f0309be11e850da265b0c8a9d158e79e84d2a896a0f84f3b15 [2022-06-28T08:47:38.771Z] $ docker rm -f 9d4145caeca977f0309be11e850da265b0c8a9d158e79e84d2a896a0f84f3b15 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T08:47:39.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T08:47:39.748Z] Warning: overwriting stash ‘coverage-report’ [2022-06-28T08:47:40.158Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T08:47:40.542Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T08:47:40.871Z] + ls -al . [2022-06-28T08:47:40.871Z] total 168 [2022-06-28T08:47:40.871Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 08:47 . [2022-06-28T08:47:40.871Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 08:43 .. [2022-06-28T08:47:40.871Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 28 08:43 .dockerignore [2022-06-28T08:47:40.871Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 08:43 .git [2022-06-28T08:47:40.871Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 08:43 .github [2022-06-28T08:47:40.871Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 28 08:43 .gitignore [2022-06-28T08:47:40.871Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 28 08:43 .golangci.yml [2022-06-28T08:47:40.871Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 28 08:43 Attribution.txt [2022-06-28T08:47:40.871Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 28 08:43 CHANGELOG.md [2022-06-28T08:47:40.871Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 28 08:43 Dockerfile [2022-06-28T08:47:40.871Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 08:43 GOVERNANCE.md [2022-06-28T08:47:40.871Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 28 08:43 Jenkinsfile [2022-06-28T08:47:40.871Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 08:43 LICENSE [2022-06-28T08:47:40.871Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 28 08:43 Makefile [2022-06-28T08:47:40.872Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 28 08:43 OWNERS.md [2022-06-28T08:47:40.872Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 28 08:43 README.md [2022-06-28T08:47:40.872Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 28 08:41 VERSION [2022-06-28T08:47:40.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 08:43 bin [2022-06-28T08:47:40.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 08:43 cmd [2022-06-28T08:47:40.872Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 28 08:47 coverage.out [2022-06-28T08:47:40.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 08:43 driver [2022-06-28T08:47:40.872Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jun 28 08:43 go.mod [2022-06-28T08:47:40.872Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jun 28 08:43 go.sum [2022-06-28T08:47:40.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 08:43 snap [2022-06-28T08:47:40.872Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 28 08:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:47:41.226Z] + 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=2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 --label arch=arm64 --label version=2.2.1-dev.6 . [2022-06-28T08:47:41.226Z] Sending build context to Docker daemon 139.3kB [2022-06-28T08:47:41.501Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T08:47:41.501Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-28T08:47:41.501Z] ---> 0f4d688aaf7d [2022-06-28T08:47:41.501Z] Step 3/25 : ARG MAKE='make build' [2022-06-28T08:47:41.502Z] ---> Running in 82c29646a5a8 [2022-06-28T08:47:41.776Z] Removing intermediate container 82c29646a5a8 [2022-06-28T08:47:41.776Z] ---> dee16c211f7f [2022-06-28T08:47:41.776Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T08:47:42.047Z] ---> Running in 24a583466c93 [2022-06-28T08:47:42.319Z] Removing intermediate container 24a583466c93 [2022-06-28T08:47:42.319Z] ---> ffa2940379d3 [2022-06-28T08:47:42.319Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T08:47:42.319Z] ---> Running in 3133d3025e3b [2022-06-28T08:47:42.594Z] Removing intermediate container 3133d3025e3b [2022-06-28T08:47:42.594Z] ---> e5717c04fa29 [2022-06-28T08:47:42.594Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T08:47:42.594Z] ---> Running in 592e168c81ab [2022-06-28T08:47:44.582Z] Removing intermediate container 592e168c81ab [2022-06-28T08:47:44.582Z] ---> 67653d3bcaaf [2022-06-28T08:47:44.582Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T08:47:44.582Z] ---> Running in fa77e24204ca [2022-06-28T08:47:45.177Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T08:47:46.151Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T08:47:47.133Z] OK: 224 MiB in 56 packages [2022-06-28T08:47:47.726Z] Removing intermediate container fa77e24204ca [2022-06-28T08:47:47.726Z] ---> 4e437f0496a5 [2022-06-28T08:47:47.726Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-28T08:47:47.726Z] ---> Running in 2a634d5d6ffa [2022-06-28T08:47:47.997Z] Removing intermediate container 2a634d5d6ffa [2022-06-28T08:47:47.997Z] ---> 7573dec195a3 [2022-06-28T08:47:47.997Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-28T08:47:48.587Z] ---> 1bd7dc1df003 [2022-06-28T08:47:48.587Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T08:47:48.587Z] ---> Running in 7c9370355058 [2022-06-28T08:47:50.570Z] Removing intermediate container 7c9370355058 [2022-06-28T08:47:50.570Z] ---> 216277f28396 [2022-06-28T08:47:50.570Z] Step 11/25 : COPY . . [2022-06-28T08:47:51.170Z] ---> ada3185660e2 [2022-06-28T08:47:51.170Z] Step 12/25 : RUN $MAKE [2022-06-28T08:47:51.170Z] ---> Running in bda28ba71f26 [2022-06-28T08:47:52.151Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-28T08:49:59.019Z] Removing intermediate container bda28ba71f26 [2022-06-28T08:49:59.019Z] ---> b72813703205 [2022-06-28T08:49:59.019Z] Step 13/25 : FROM alpine:3.14 [2022-06-28T08:49:59.019Z] 3.14: Pulling from library/alpine [2022-06-28T08:49:59.019Z] 455c02918c45: Pulling fs layer [2022-06-28T08:49:59.019Z] 455c02918c45: Verifying Checksum [2022-06-28T08:49:59.019Z] 455c02918c45: Download complete [2022-06-28T08:49:59.019Z] 455c02918c45: Pull complete [2022-06-28T08:49:59.019Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-28T08:49:59.019Z] Status: Downloaded newer image for alpine:3.14 [2022-06-28T08:49:59.019Z] ---> ac73e934f311 [2022-06-28T08:49:59.019Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-28T08:49:59.019Z] ---> Running in b836a629a217 [2022-06-28T08:49:59.019Z] Removing intermediate container b836a629a217 [2022-06-28T08:49:59.019Z] ---> fbdd5b3fff2c [2022-06-28T08:49:59.019Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-28T08:49:59.019Z] ---> Running in 11ad9667603c [2022-06-28T08:49:59.019Z] Removing intermediate container 11ad9667603c [2022-06-28T08:49:59.019Z] ---> d46723dd7a93 [2022-06-28T08:49:59.019Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T08:49:59.019Z] ---> Running in 99d9edf9ac34 [2022-06-28T08:49:59.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-28T08:49:59.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-28T08:49:59.020Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T08:49:59.020Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-28T08:49:59.020Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T08:49:59.020Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-28T08:49:59.020Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T08:49:59.020Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T08:49:59.020Z] Executing busybox-1.33.1-r7.trigger [2022-06-28T08:49:59.020Z] OK: 8 MiB in 20 packages [2022-06-28T08:49:59.020Z] Removing intermediate container 99d9edf9ac34 [2022-06-28T08:49:59.020Z] ---> 9c8fbeccd2c5 [2022-06-28T08:49:59.020Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-28T08:49:59.020Z] ---> 5fa3a9a5122f [2022-06-28T08:49:59.020Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-28T08:49:59.020Z] ---> 746ee7a27e4a [2022-06-28T08:49:59.020Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-28T08:49:59.020Z] ---> 933c1aa3d6b7 [2022-06-28T08:49:59.020Z] Step 20/25 : EXPOSE 59986 [2022-06-28T08:49:59.020Z] ---> Running in cb2007a8fb11 [2022-06-28T08:49:59.020Z] Removing intermediate container cb2007a8fb11 [2022-06-28T08:49:59.020Z] ---> d2c1e944e8e6 [2022-06-28T08:49:59.020Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-28T08:49:59.020Z] ---> Running in a2f10a01951f [2022-06-28T08:49:59.020Z] Removing intermediate container a2f10a01951f [2022-06-28T08:49:59.020Z] ---> 6993c2c5d9e1 [2022-06-28T08:49:59.020Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-28T08:49:59.020Z] ---> Running in 565bf0b06f74 [2022-06-28T08:49:59.020Z] Removing intermediate container 565bf0b06f74 [2022-06-28T08:49:59.020Z] ---> 6370e3df3bfc [2022-06-28T08:49:59.020Z] Step 23/25 : LABEL arch=arm64 [2022-06-28T08:49:59.020Z] ---> Running in f9e483b7fbb3 [2022-06-28T08:49:59.020Z] Removing intermediate container f9e483b7fbb3 [2022-06-28T08:49:59.020Z] ---> f571c1d99f8e [2022-06-28T08:49:59.020Z] Step 24/25 : LABEL git_sha=2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [2022-06-28T08:49:59.020Z] ---> Running in d2b6afbfca9e [2022-06-28T08:49:59.020Z] Removing intermediate container d2b6afbfca9e [2022-06-28T08:49:59.020Z] ---> 726ead1e37da [2022-06-28T08:49:59.020Z] Step 25/25 : LABEL version=2.2.1-dev.6 [2022-06-28T08:49:59.020Z] ---> Running in 42bef1d9f689 [2022-06-28T08:49:59.020Z] Removing intermediate container 42bef1d9f689 [2022-06-28T08:49:59.020Z] ---> 5519a6c1528a [2022-06-28T08:49:59.020Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T08:49:59.020Z] Successfully built 5519a6c1528a [2022-06-28T08:49:59.020Z] 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-06-28T08:49:59.140Z] provisioning config files... [2022-06-28T08:49:59.157Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/47@tmp/config6259863014398311368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:49:59.510Z] ---> docker-login.sh [2022-06-28T08:49:59.510Z] nexus3.edgexfoundry.org:10001 [2022-06-28T08:49:59.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:49:59.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:49:59.789Z] Configure a credential helper to remove this warning. See [2022-06-28T08:49:59.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:49:59.789Z] [2022-06-28T08:49:59.789Z] Login Succeeded [2022-06-28T08:49:59.789Z] nexus3.edgexfoundry.org:10002 [2022-06-28T08:50:00.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:50:00.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:50:00.336Z] Configure a credential helper to remove this warning. See [2022-06-28T08:50:00.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:50:00.336Z] [2022-06-28T08:50:00.336Z] Login Succeeded [2022-06-28T08:50:00.336Z] nexus3.edgexfoundry.org:10003 [2022-06-28T08:50:00.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:50:00.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:50:00.884Z] Configure a credential helper to remove this warning. See [2022-06-28T08:50:00.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:50:00.884Z] [2022-06-28T08:50:00.884Z] Login Succeeded [2022-06-28T08:50:00.884Z] nexus3.edgexfoundry.org:10004 [2022-06-28T08:50:01.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:50:01.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:50:01.158Z] Configure a credential helper to remove this warning. See [2022-06-28T08:50:01.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:50:01.158Z] [2022-06-28T08:50:01.158Z] Login Succeeded [2022-06-28T08:50:01.158Z] docker.io [2022-06-28T08:50:01.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T08:50:02.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T08:50:02.031Z] Configure a credential helper to remove this warning. See [2022-06-28T08:50:02.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T08:50:02.031Z] [2022-06-28T08:50:02.031Z] Login Succeeded [2022-06-28T08:50:02.031Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T08:50:02.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T08:50:02.078Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T08:50:02.092Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-06-28T08:50:02.092Z] 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [2022-06-28T08:50:02.092Z] latest [2022-06-28T08:50:02.092Z] 2.2.1-dev.6 [2022-06-28T08:50:02.092Z] 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 [2022-06-28T08:50:02.092Z] main [2022-06-28T08:50:02.092Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:02.439Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:02.801Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [2022-06-28T08:50:02.801Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-28T08:50:02.801Z] a2f5b5031cda: Preparing [2022-06-28T08:50:02.801Z] 3eec71a28dd9: Preparing [2022-06-28T08:50:02.801Z] f6a51b1f15c5: Preparing [2022-06-28T08:50:02.801Z] 60397e889bd8: Preparing [2022-06-28T08:50:02.801Z] f73e7dbfee58: Preparing [2022-06-28T08:50:02.801Z] f73e7dbfee58: Layer already exists [2022-06-28T08:50:03.078Z] a2f5b5031cda: Pushed [2022-06-28T08:50:03.078Z] 3eec71a28dd9: Pushed [2022-06-28T08:50:03.674Z] 60397e889bd8: Pushed [2022-06-28T08:50:09.052Z] f6a51b1f15c5: Pushed [2022-06-28T08:50:09.052Z] 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07: digest: sha256:35fd06142557b6ac62294418dd593d74345e7f9a6a9685400adadd093e28bdf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:09.418Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:09.854Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-06-28T08:50:09.854Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-28T08:50:09.854Z] a2f5b5031cda: Preparing [2022-06-28T08:50:09.854Z] 3eec71a28dd9: Preparing [2022-06-28T08:50:09.854Z] f6a51b1f15c5: Preparing [2022-06-28T08:50:09.854Z] 60397e889bd8: Preparing [2022-06-28T08:50:09.854Z] f73e7dbfee58: Preparing [2022-06-28T08:50:09.854Z] a2f5b5031cda: Layer already exists [2022-06-28T08:50:09.854Z] 3eec71a28dd9: Layer already exists [2022-06-28T08:50:09.854Z] 60397e889bd8: Layer already exists [2022-06-28T08:50:09.854Z] f73e7dbfee58: Layer already exists [2022-06-28T08:50:09.854Z] f6a51b1f15c5: Layer already exists [2022-06-28T08:50:09.854Z] latest: digest: sha256:35fd06142557b6ac62294418dd593d74345e7f9a6a9685400adadd093e28bdf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:10.497Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:10.862Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.6 [2022-06-28T08:50:10.862Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-28T08:50:10.862Z] a2f5b5031cda: Preparing [2022-06-28T08:50:10.862Z] 3eec71a28dd9: Preparing [2022-06-28T08:50:10.862Z] f6a51b1f15c5: Preparing [2022-06-28T08:50:10.862Z] 60397e889bd8: Preparing [2022-06-28T08:50:10.862Z] f73e7dbfee58: Preparing [2022-06-28T08:50:10.862Z] f6a51b1f15c5: Layer already exists [2022-06-28T08:50:10.862Z] 3eec71a28dd9: Layer already exists [2022-06-28T08:50:10.862Z] f73e7dbfee58: Layer already exists [2022-06-28T08:50:10.862Z] 60397e889bd8: Layer already exists [2022-06-28T08:50:10.862Z] a2f5b5031cda: Layer already exists [2022-06-28T08:50:11.136Z] 2.2.1-dev.6: digest: sha256:35fd06142557b6ac62294418dd593d74345e7f9a6a9685400adadd093e28bdf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:11.511Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:11.879Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 [2022-06-28T08:50:11.879Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-28T08:50:11.879Z] a2f5b5031cda: Preparing [2022-06-28T08:50:11.879Z] 3eec71a28dd9: Preparing [2022-06-28T08:50:11.879Z] f6a51b1f15c5: Preparing [2022-06-28T08:50:11.879Z] 60397e889bd8: Preparing [2022-06-28T08:50:11.879Z] f73e7dbfee58: Preparing [2022-06-28T08:50:11.879Z] 3eec71a28dd9: Layer already exists [2022-06-28T08:50:11.879Z] 60397e889bd8: Layer already exists [2022-06-28T08:50:11.879Z] a2f5b5031cda: Layer already exists [2022-06-28T08:50:11.879Z] f73e7dbfee58: Layer already exists [2022-06-28T08:50:11.879Z] f6a51b1f15c5: Layer already exists [2022-06-28T08:50:12.151Z] 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6: digest: sha256:35fd06142557b6ac62294418dd593d74345e7f9a6a9685400adadd093e28bdf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:12.522Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:12.875Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-06-28T08:50:12.875Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-28T08:50:12.875Z] a2f5b5031cda: Preparing [2022-06-28T08:50:12.876Z] 3eec71a28dd9: Preparing [2022-06-28T08:50:12.876Z] f6a51b1f15c5: Preparing [2022-06-28T08:50:12.876Z] 60397e889bd8: Preparing [2022-06-28T08:50:12.876Z] f73e7dbfee58: Preparing [2022-06-28T08:50:12.876Z] 3eec71a28dd9: Layer already exists [2022-06-28T08:50:12.876Z] f73e7dbfee58: Layer already exists [2022-06-28T08:50:12.876Z] 60397e889bd8: Layer already exists [2022-06-28T08:50:12.876Z] a2f5b5031cda: Layer already exists [2022-06-28T08:50:12.876Z] f6a51b1f15c5: Layer already exists [2022-06-28T08:50:13.148Z] main: digest: sha256:35fd06142557b6ac62294418dd593d74345e7f9a6a9685400adadd093e28bdf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T08:50:13.209Z] ===================================================== [Pipeline] echo [2022-06-28T08:50:13.215Z] taggedImages: [2022-06-28T08:50:13.215Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [2022-06-28T08:50:13.215Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-06-28T08:50:13.215Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.6 [2022-06-28T08:50:13.215Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 [2022-06-28T08:50:13.215Z] - 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-06-28T08:50:13.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T08:50:13.571Z] [2022-06-28T08:50:13.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:13.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T08:50:14.196Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-28T08:50:14.196Z] 8998bd30e6a1: Pulling fs layer [2022-06-28T08:50:14.196Z] 04944245beec: Pulling fs layer [2022-06-28T08:50:14.196Z] 699f458cf7ca: Pulling fs layer [2022-06-28T08:50:14.196Z] 765212b225bb: Pulling fs layer [2022-06-28T08:50:14.196Z] f23df028b6ca: Pulling fs layer [2022-06-28T08:50:14.196Z] d65c8cfc05b1: Pulling fs layer [2022-06-28T08:50:14.196Z] 2437ff75d9bd: Pulling fs layer [2022-06-28T08:50:14.196Z] f23df028b6ca: Waiting [2022-06-28T08:50:14.196Z] 765212b225bb: Waiting [2022-06-28T08:50:14.196Z] d65c8cfc05b1: Waiting [2022-06-28T08:50:14.196Z] 2437ff75d9bd: Waiting [2022-06-28T08:50:14.196Z] 04944245beec: Verifying Checksum [2022-06-28T08:50:14.196Z] 04944245beec: Download complete [2022-06-28T08:50:14.196Z] 765212b225bb: Verifying Checksum [2022-06-28T08:50:14.196Z] 765212b225bb: Download complete [2022-06-28T08:50:14.196Z] f23df028b6ca: Verifying Checksum [2022-06-28T08:50:14.196Z] f23df028b6ca: Download complete [2022-06-28T08:50:14.196Z] d65c8cfc05b1: Verifying Checksum [2022-06-28T08:50:14.196Z] d65c8cfc05b1: Download complete [2022-06-28T08:50:14.471Z] 699f458cf7ca: Verifying Checksum [2022-06-28T08:50:14.471Z] 699f458cf7ca: Download complete [2022-06-28T08:50:14.743Z] 8998bd30e6a1: Verifying Checksum [2022-06-28T08:50:14.743Z] 8998bd30e6a1: Download complete [2022-06-28T08:50:16.734Z] 2437ff75d9bd: Verifying Checksum [2022-06-28T08:50:16.734Z] 2437ff75d9bd: Download complete [2022-06-28T08:50:18.723Z] 8998bd30e6a1: Pull complete [2022-06-28T08:50:19.324Z] 04944245beec: Pull complete [2022-06-28T08:50:20.759Z] 699f458cf7ca: Pull complete [2022-06-28T08:50:21.035Z] 765212b225bb: Pull complete [2022-06-28T08:50:22.016Z] f23df028b6ca: Pull complete [2022-06-28T08:50:22.016Z] d65c8cfc05b1: Pull complete [2022-06-28T08:50:37.108Z] 2437ff75d9bd: Pull complete [2022-06-28T08:50:37.108Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-28T08:50:37.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T08:50:37.108Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:50:37.373Z] prd-ubuntu20.04-docker-arm64-4c-16g-16201 does not seem to be running inside a container [2022-06-28T08:50:37.465Z] $ 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/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@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-06-28T08:50:39.951Z] $ docker top f3629be9ecc90500023b6ac7e6365d94624993c85485ae7676793d5d8e51dac7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:50:40.868Z] ---> job-cost.sh [2022-06-28T08:50:40.868Z] lf-activate-venv: SKIPPING [2022-06-28T08:50:40.868Z] INFO: No Stack... [2022-06-28T08:50:41.142Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-28T08:50:42.119Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T08:50:42.779Z] + + cut -d,cat -f6 /w/workspace/device-rest-go/47/archives/cost.csv [2022-06-28T08:50:42.779Z] [Pipeline] lock [2022-06-28T08:50:42.839Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] [2022-06-28T08:50:42.847Z] Resource [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] did not exist. Created. [2022-06-28T08:50:42.847Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T08:50:43.517Z] /w/workspace/device-rest-go/47@tmp/durable-c3830862/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-28T08:50:44.195Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-28T08:50:44.222Z] Warning: overwriting stash ‘stack-cost’ [2022-06-28T08:50:44.267Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T08:50:44.273Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T08:50:44.293Z] $ docker stop --time=1 f3629be9ecc90500023b6ac7e6365d94624993c85485ae7676793d5d8e51dac7 [2022-06-28T08:50:45.773Z] $ docker rm -f f3629be9ecc90500023b6ac7e6365d94624993c85485ae7676793d5d8e51dac7 [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-06-28T08:50:46.215Z] provisioning config files... [2022-06-28T08:50:46.223Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config926046017473961387tmp [Pipeline] { [Pipeline] sh [2022-06-28T08:50:46.511Z] + set +x [2022-06-28T08:50:46.511Z] + + bash -s -- [2022-06-28T08:50:46.511Z] curl -s https://codecov.io/bash [2022-06-28T08:50:46.511Z] [2022-06-28T08:50:46.511Z] _____ _ [2022-06-28T08:50:46.511Z] / ____| | | [2022-06-28T08:50:46.511Z] | | ___ __| | ___ ___ _____ __ [2022-06-28T08:50:46.511Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-28T08:50:46.511Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-28T08:50:46.511Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-28T08:50:46.511Z] Bash-1.0.6 [2022-06-28T08:50:46.511Z] [2022-06-28T08:50:46.511Z] [2022-06-28T08:50:46.511Z] ==> git version 2.25.1 found [2022-06-28T08:50:46.511Z] ==> 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-06-28T08:50:46.511Z] Release-Date: 2020-01-08 [2022-06-28T08:50:46.511Z] 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-06-28T08:50:46.511Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-28T08:50:46.511Z] ==> Jenkins CI detected. [2022-06-28T08:50:46.511Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-06-28T08:50:46.511Z] project root: . [2022-06-28T08:50:46.511Z] --> token set from env [2022-06-28T08:50:46.511Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-28T08:50:46.511Z] ==> Running gcov in . (disable via -X gcov) [2022-06-28T08:50:46.511Z] ==> Python coveragepy not found [2022-06-28T08:50:46.511Z] ==> Searching for coverage reports in: [2022-06-28T08:50:46.511Z] + . [2022-06-28T08:50:46.511Z] -> Found 1 reports [2022-06-28T08:50:46.511Z] ==> Detecting git/mercurial file structure [2022-06-28T08:50:46.511Z] ==> Reading reports [2022-06-28T08:50:46.511Z] + ./coverage.out bytes=9355 [2022-06-28T08:50:46.511Z] ==> Appending adjustments [2022-06-28T08:50:46.511Z] https://docs.codecov.io/docs/fixing-reports [2022-06-28T08:50:46.770Z] + Found adjustments [2022-06-28T08:50:46.771Z] ==> Gzipping contents [2022-06-28T08:50:46.771Z] 4.0K /tmp/codecov.AEPTDb.gz [2022-06-28T08:50:46.771Z] ==> Uploading reports [2022-06-28T08:50:46.771Z] url: https://codecov.io [2022-06-28T08:50:46.771Z] query: branch=main&commit=2d7dd7bd9c9b446393cafd64d3a18985a73e6b07&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-28T08:50:46.771Z] -> Pinging Codecov [2022-06-28T08:50:46.771Z] 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=2d7dd7bd9c9b446393cafd64d3a18985a73e6b07&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-28T08:50:47.033Z] -> Uploading to [2022-06-28T08:50:47.033Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-28/4E5D53B4F1F92C436F7061BF334D961C/2d7dd7bd9c9b446393cafd64d3a18985a73e6b07/db6d2db0-8742-4418-9541-b45ea025cbab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T085046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62935681d6fa3bb704dae5b1603fbe7663b441f5579a6d271437969e37bf2355 [2022-06-28T08:50:47.033Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T08:50:47.033Z] Dload Upload Total Spent Left Speed [2022-06-28T08:50:47.294Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7886 --:--:-- --:--:-- --:--:-- 7886 [2022-06-28T08:50:47.294Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] } [2022-06-28T08:50:47.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-28T08:50:47.489Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-28T08:50:47.498Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:47.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T08:50:47.800Z] [2022-06-28T08:50:47.800Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:50:48.099Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T08:50:48.099Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-28T08:50:48.099Z] df9b9388f04a: Pulling fs layer [2022-06-28T08:50:48.099Z] 52dc419b0ee2: Pulling fs layer [2022-06-28T08:50:48.099Z] 25bc292e5bac: Pulling fs layer [2022-06-28T08:50:48.099Z] 114826534d7a: Pulling fs layer [2022-06-28T08:50:48.099Z] 4657fd5d0bcf: Pulling fs layer [2022-06-28T08:50:48.099Z] 6ad1cebc031e: Pulling fs layer [2022-06-28T08:50:48.099Z] 8a3aa393b2d8: Pulling fs layer [2022-06-28T08:50:48.100Z] 114826534d7a: Waiting [2022-06-28T08:50:48.100Z] 6ad1cebc031e: Waiting [2022-06-28T08:50:48.100Z] 8a3aa393b2d8: Waiting [2022-06-28T08:50:48.100Z] 4657fd5d0bcf: Waiting [2022-06-28T08:50:48.100Z] 25bc292e5bac: Verifying Checksum [2022-06-28T08:50:48.100Z] 25bc292e5bac: Download complete [2022-06-28T08:50:48.100Z] 52dc419b0ee2: Download complete [2022-06-28T08:50:48.100Z] 4657fd5d0bcf: Verifying Checksum [2022-06-28T08:50:48.100Z] 4657fd5d0bcf: Download complete [2022-06-28T08:50:48.100Z] df9b9388f04a: Download complete [2022-06-28T08:50:48.363Z] df9b9388f04a: Pull complete [2022-06-28T08:50:48.363Z] 6ad1cebc031e: Verifying Checksum [2022-06-28T08:50:48.363Z] 6ad1cebc031e: Download complete [2022-06-28T08:50:48.363Z] 52dc419b0ee2: Pull complete [2022-06-28T08:50:48.363Z] 25bc292e5bac: Pull complete [2022-06-28T08:50:48.937Z] 114826534d7a: Verifying Checksum [2022-06-28T08:50:48.937Z] 114826534d7a: Download complete [2022-06-28T08:50:48.937Z] 8a3aa393b2d8: Verifying Checksum [2022-06-28T08:50:48.937Z] 8a3aa393b2d8: Download complete [2022-06-28T08:50:52.224Z] 114826534d7a: Pull complete [2022-06-28T08:50:52.224Z] 4657fd5d0bcf: Pull complete [2022-06-28T08:50:52.793Z] 6ad1cebc031e: Pull complete [2022-06-28T08:50:55.329Z] 8a3aa393b2d8: Pull complete [2022-06-28T08:50:55.329Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-28T08:50:55.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T08:50:55.329Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:50:55.428Z] prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container [2022-06-28T08:50:55.471Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-28T08:50:57.691Z] $ docker top 4656ec6000425219ba0acab26c5631069b3c114ab23110a57aa5be145d8580da -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-28T08:50:57.759Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-06-28T08:50:58.037Z] + set -o pipefail [2022-06-28T08:50:58.038Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-06-28T08:51:04.615Z] [2022-06-28T08:51:04.615Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-06-28T08:51:04.615Z] [2022-06-28T08:51:04.615Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/4bb8220c-fa43-4d30-b085-feb9651c75dc [2022-06-28T08:51:04.615Z] [2022-06-28T08:51:04.615Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-06-28T08:51:04.615Z] [2022-06-28T08:51:04.615Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-28T08:51:04.615Z] [2022-06-28T08:51:04.615Z] [2022-06-28T08:51:04.615Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-28T08:51:04.615Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-28T08:51:04.635Z] $ docker stop --time=1 4656ec6000425219ba0acab26c5631069b3c114ab23110a57aa5be145d8580da [2022-06-28T08:51:06.872Z] $ docker rm -f 4656ec6000425219ba0acab26c5631069b3c114ab23110a57aa5be145d8580da [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-06-28T08:51:07.568Z] + git log --format=format:%s -1 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] sh [2022-06-28T08:51:07.866Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T08:51:07.866Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:51:08.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T08:51:08.163Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:51:08.246Z] prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container [2022-06-28T08:51:08.288Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T08:51:08.706Z] $ docker top 2ed3b5aade4c866b973db914f68e51a145dc71e745d5e8a077765248ea646ea2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T08:51:08.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T08:51:08.784Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T08:51:08.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T08:51:08.911Z] $ docker exec 2ed3b5aade4c866b973db914f68e51a145dc71e745d5e8a077765248ea646ea2 ssh-agent [2022-06-28T08:51:09.021Z] SSH_AUTH_SOCK=/tmp/ssh-MPywRLU161ue/agent.33 [2022-06-28T08:51:09.021Z] SSH_AGENT_PID=39 [2022-06-28T08:51:09.026Z] Running ssh-add (command line suppressed) [2022-06-28T08:51:09.136Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2626574527707643635.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2626574527707643635.key) [2022-06-28T08:51:09.144Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T08:51:09.437Z] + git semver tag [2022-06-28T08:51:09.697Z] 2022-06-28 08:51:09,641 [run_tag] DEBUG tag force:False [2022-06-28T08:51:09.697Z] 2022-06-28 08:51:09,641 [check_head_tag] DEBUG check head tag [2022-06-28T08:51:09.697Z] 2022-06-28 08:51:09,642 [execute] INFO git cat-file --batch-check [2022-06-28T08:51:09.697Z] 2022-06-28 08:51:09,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-06-28T08:51:09.697Z] 2022-06-28 08:51:09,645 [execute] INFO git cat-file --batch [2022-06-28T08:51:09.697Z] 2022-06-28 08:51:09,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-06-28T08:51:09.697Z] 2022-06-28 08:51:09,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-28T08:51:09.697Z] 2022-06-28 08:51:09,654 [execute] INFO git tag -a v2.2.1-dev.6 -m v2.2.1-dev.6 [2022-06-28T08:51:09.697Z] 2022-06-28 08:51:09,655 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.6', '-m', 'v2.2.1-dev.6'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-28T08:51:09.697Z] 2022-06-28 08:51:09,659 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-28T08:51:09.697Z] 2.2.1-dev.6 [Pipeline] } [2022-06-28T08:51:09.715Z] $ docker exec --env ******** --env ******** 2ed3b5aade4c866b973db914f68e51a145dc71e745d5e8a077765248ea646ea2 ssh-agent -k [2022-06-28T08:51:09.827Z] unset SSH_AUTH_SOCK; [2022-06-28T08:51:09.827Z] unset SSH_AGENT_PID; [2022-06-28T08:51:09.827Z] echo Agent pid 39 killed; [2022-06-28T08:51:09.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T08:51:10.140Z] + git semver [Pipeline] } [2022-06-28T08:51:10.419Z] $ docker stop --time=1 2ed3b5aade4c866b973db914f68e51a145dc71e745d5e8a077765248ea646ea2 [2022-06-28T08:51:11.716Z] $ docker rm -f 2ed3b5aade4c866b973db914f68e51a145dc71e745d5e8a077765248ea646ea2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:51:12.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-28T08:51:12.110Z] [2022-06-28T08:51:12.110Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:51:12.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-28T08:51:12.409Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-28T08:51:12.409Z] ab5ef0e58194: Pulling fs layer [2022-06-28T08:51:12.409Z] 9712f1f96733: Pulling fs layer [2022-06-28T08:51:12.409Z] 63f879dbbcfc: Pulling fs layer [2022-06-28T08:51:12.409Z] 0d9ebad4ef96: Pulling fs layer [2022-06-28T08:51:12.409Z] e9a5061849ea: Pulling fs layer [2022-06-28T08:51:12.409Z] d747dcd14b5f: Pulling fs layer [2022-06-28T08:51:12.409Z] 2de7ff778b66: Pulling fs layer [2022-06-28T08:51:12.409Z] 0d9ebad4ef96: Waiting [2022-06-28T08:51:12.409Z] e9a5061849ea: Waiting [2022-06-28T08:51:12.409Z] 2de7ff778b66: Waiting [2022-06-28T08:51:12.409Z] d747dcd14b5f: Waiting [2022-06-28T08:51:12.409Z] 9712f1f96733: Verifying Checksum [2022-06-28T08:51:12.409Z] 9712f1f96733: Download complete [2022-06-28T08:51:12.669Z] 63f879dbbcfc: Verifying Checksum [2022-06-28T08:51:12.669Z] 63f879dbbcfc: Download complete [2022-06-28T08:51:12.929Z] 0d9ebad4ef96: Verifying Checksum [2022-06-28T08:51:12.929Z] 0d9ebad4ef96: Download complete [2022-06-28T08:51:12.929Z] d747dcd14b5f: Verifying Checksum [2022-06-28T08:51:12.929Z] d747dcd14b5f: Download complete [2022-06-28T08:51:12.929Z] ab5ef0e58194: Download complete [2022-06-28T08:51:12.929Z] e9a5061849ea: Verifying Checksum [2022-06-28T08:51:12.929Z] e9a5061849ea: Download complete [2022-06-28T08:51:13.188Z] 2de7ff778b66: Verifying Checksum [2022-06-28T08:51:13.188Z] 2de7ff778b66: Download complete [2022-06-28T08:51:15.724Z] ab5ef0e58194: Pull complete [2022-06-28T08:51:15.983Z] 9712f1f96733: Pull complete [2022-06-28T08:51:16.550Z] 63f879dbbcfc: Pull complete [2022-06-28T08:51:20.743Z] 0d9ebad4ef96: Pull complete [2022-06-28T08:51:20.743Z] e9a5061849ea: Pull complete [2022-06-28T08:51:20.743Z] d747dcd14b5f: Pull complete [2022-06-28T08:51:21.681Z] 2de7ff778b66: Pull complete [2022-06-28T08:51:21.681Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-28T08:51:21.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-28T08:51:21.681Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:51:21.764Z] prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container [2022-06-28T08:51:21.800Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-28T08:51:24.007Z] $ docker top 1fd779ac6cdd0ec784971b4931ee0b70f3d8729eedf645c231385de8fdeb75fc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-28T08:51:24.081Z] provisioning config files... [2022-06-28T08:51:24.089Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8583532103674059226tmp [2022-06-28T08:51:24.100Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config134957404850740494tmp [2022-06-28T08:51:24.110Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8777587461960831268tmp [Pipeline] { [Pipeline] echo [2022-06-28T08:51:24.122Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:51:24.408Z] ---> sigul-configuration.sh [2022-06-28T08:51:24.408Z] gpg: directory `/root/.gnupg' created [2022-06-28T08:51:24.408Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-28T08:51:24.408Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-28T08:51:24.408Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-28T08:51:24.409Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-28T08:51:24.409Z] gpg: CAST5 encrypted data [2022-06-28T08:51:24.409Z] gpg: encrypted with 1 passphrase [2022-06-28T08:51:24.409Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-28T08:51:24.697Z] + mkdir /home/jenkins [2022-06-28T08:51:24.698Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-28T08:51:24.985Z] + 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-06-28T08:51:24.995Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:51:25.279Z] ---> sigul-install.sh [2022-06-28T08:51:25.279Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-28T08:51:25.570Z] + git tag --list [2022-06-28T08:51:25.570Z] v1.0.0 [2022-06-28T08:51:25.570Z] v1.1.0 [2022-06-28T08:51:25.570Z] v1.1.1 [2022-06-28T08:51:25.570Z] v1.1.2 [2022-06-28T08:51:25.570Z] v1.2.0 [2022-06-28T08:51:25.570Z] v1.2.1 [2022-06-28T08:51:25.570Z] v2.0.0 [2022-06-28T08:51:25.570Z] v2.1.0 [2022-06-28T08:51:25.570Z] v2.1.1 [2022-06-28T08:51:25.570Z] v2.1.1-dev.1 [2022-06-28T08:51:25.570Z] v2.1.1-dev.2 [2022-06-28T08:51:25.570Z] v2.1.1-dev.3 [2022-06-28T08:51:25.570Z] v2.2.0 [2022-06-28T08:51:25.570Z] v2.2.1-dev.1 [2022-06-28T08:51:25.570Z] v2.2.1-dev.2 [2022-06-28T08:51:25.570Z] v2.2.1-dev.3 [2022-06-28T08:51:25.570Z] v2.2.1-dev.4 [2022-06-28T08:51:25.570Z] v2.2.1-dev.5 [2022-06-28T08:51:25.570Z] v2.2.1-dev.6 [Pipeline] sh [2022-06-28T08:51:25.859Z] + lftools sign git-tag v2.2.1-dev.6 [2022-06-28T08:51:26.428Z] Signing Git tag with Sigul... [2022-06-28T08:51:26.428Z] Signing v2.2.1-dev.6 [Pipeline] echo [2022-06-28T08:51:26.699Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:51:26.994Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-28T08:51:27.002Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-28T08:51:27.027Z] $ docker stop --time=1 1fd779ac6cdd0ec784971b4931ee0b70f3d8729eedf645c231385de8fdeb75fc [2022-06-28T08:51:28.336Z] $ docker rm -f 1fd779ac6cdd0ec784971b4931ee0b70f3d8729eedf645c231385de8fdeb75fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-28T08:51:28.744Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T08:51:28.744Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:51:29.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T08:51:29.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:51:29.132Z] prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container [2022-06-28T08:51:29.173Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T08:51:29.550Z] $ docker top 0ac0b09b0561baed9e87c15b2a6f25985467b9094301ce614a7b14d8ae4f6699 -eo pid,comm [2022-06-28T08:51:29.598Z] 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-06-28T08:51:29.598Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T08:51:29.634Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T08:51:29.634Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T08:51:29.746Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T08:51:29.755Z] $ docker exec 0ac0b09b0561baed9e87c15b2a6f25985467b9094301ce614a7b14d8ae4f6699 ssh-agent [2022-06-28T08:51:29.862Z] SSH_AUTH_SOCK=/tmp/ssh-RLsoLv90FBX2/agent.34 [2022-06-28T08:51:29.862Z] SSH_AGENT_PID=40 [2022-06-28T08:51:29.867Z] Running ssh-add (command line suppressed) [2022-06-28T08:51:29.999Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_518151707463144076.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_518151707463144076.key) [2022-06-28T08:51:30.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T08:51:30.296Z] + git semver bump pre [2022-06-28T08:51:30.557Z] 2022-06-28 08:51:30,517 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-28T08:51:30.557Z] 2022-06-28 08:51:30,517 [bump_version] DEBUG bumping version:2.2.1-dev.6 on axis:pre with prefix:dev [2022-06-28T08:51:30.557Z] 2022-06-28 08:51:30,517 [bump_version] DEBUG bumped version:2.2.1-dev.7 [2022-06-28T08:51:30.557Z] 2022-06-28 08:51:30,517 [write_version] DEBUG write version:2.2.1-dev.7 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-06-28T08:51:30.557Z] 2022-06-28 08:51:30,517 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-28T08:51:30.557Z] 2022-06-28 08:51:30,518 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-28T08:51:30.557Z] 2022-06-28 08:51:30,520 [execute] INFO git cat-file --batch-check [2022-06-28T08:51:30.557Z] 2022-06-28 08:51:30,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T08:51:30.557Z] 2022-06-28 08:51:30,527 [execute] INFO git cat-file --batch [2022-06-28T08:51:30.557Z] 2022-06-28 08:51:30,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T08:51:30.557Z] 2022-06-28 08:51:30,531 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-28T08:51:30.557Z] 2.2.1-dev.7 [Pipeline] } [2022-06-28T08:51:30.574Z] $ docker exec --env ******** --env ******** 0ac0b09b0561baed9e87c15b2a6f25985467b9094301ce614a7b14d8ae4f6699 ssh-agent -k [2022-06-28T08:51:30.678Z] unset SSH_AUTH_SOCK; [2022-06-28T08:51:30.679Z] unset SSH_AGENT_PID; [2022-06-28T08:51:30.679Z] echo Agent pid 40 killed; [2022-06-28T08:51:30.684Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T08:51:30.993Z] + git semver [Pipeline] } [2022-06-28T08:51:31.275Z] $ docker stop --time=1 0ac0b09b0561baed9e87c15b2a6f25985467b9094301ce614a7b14d8ae4f6699 [2022-06-28T08:51:32.539Z] $ docker rm -f 0ac0b09b0561baed9e87c15b2a6f25985467b9094301ce614a7b14d8ae4f6699 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T08:51:32.880Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T08:51:32.881Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:51:33.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T08:51:33.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:51:33.265Z] prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container [2022-06-28T08:51:33.305Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T08:51:33.677Z] $ docker top d0ec772b83b64a5a6619b5606b5b7acde3a630fa3c88edc937a4837e7a536bc4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T08:51:33.766Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T08:51:33.766Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T08:51:33.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T08:51:33.889Z] $ docker exec d0ec772b83b64a5a6619b5606b5b7acde3a630fa3c88edc937a4837e7a536bc4 ssh-agent [2022-06-28T08:51:33.991Z] SSH_AUTH_SOCK=/tmp/ssh-qMx9ymp1dFgf/agent.33 [2022-06-28T08:51:33.991Z] SSH_AGENT_PID=39 [2022-06-28T08:51:33.996Z] Running ssh-add (command line suppressed) [2022-06-28T08:51:34.106Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4172980412403884289.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4172980412403884289.key) [2022-06-28T08:51:34.115Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T08:51:34.400Z] + git semver push [2022-06-28T08:51:34.659Z] 2022-06-28 08:51:34,594 [run_push] DEBUG push [2022-06-28T08:51:34.659Z] 2022-06-28 08:51:34,595 [execute] INFO git cat-file --batch-check [2022-06-28T08:51:34.659Z] 2022-06-28 08:51:34,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T08:51:34.659Z] 2022-06-28 08:51:34,598 [execute] INFO git rev-list b10bafb26a803576abd17476787ed1406e7d238f -- [2022-06-28T08:51:34.659Z] 2022-06-28 08:51:34,599 [execute] DEBUG Popen(['git', 'rev-list', 'b10bafb26a803576abd17476787ed1406e7d238f', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-28T08:51:34.659Z] 2022-06-28 08:51:34,605 [execute] INFO git fetch -v origin [2022-06-28T08:51:34.659Z] 2022-06-28 08:51:34,605 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-28T08:51:35.228Z] 2022-06-28 08:51:35,081 [run_push] DEBUG no remote changes detected [2022-06-28T08:51:35.228Z] 2022-06-28 08:51:35,082 [execute] INFO git push origin semver [2022-06-28T08:51:35.228Z] 2022-06-28 08:51:35,082 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-28T08:51:36.167Z] 2022-06-28 08:51:35,926 [run_push] DEBUG push all version tags [2022-06-28T08:51:36.167Z] 2022-06-28 08:51:35,926 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-28T08:51:36.167Z] 2022-06-28 08:51:35,927 [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-06-28T08:51:36.738Z] 2022-06-28 08:51:36,633 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-28T08:51:36.738Z] 2.2.1-dev.7 [Pipeline] } [2022-06-28T08:51:36.755Z] $ docker exec --env ******** --env ******** d0ec772b83b64a5a6619b5606b5b7acde3a630fa3c88edc937a4837e7a536bc4 ssh-agent -k [2022-06-28T08:51:36.865Z] unset SSH_AUTH_SOCK; [2022-06-28T08:51:36.865Z] unset SSH_AGENT_PID; [2022-06-28T08:51:36.865Z] echo Agent pid 39 killed; [2022-06-28T08:51:36.869Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T08:51:37.185Z] + git semver [Pipeline] } [2022-06-28T08:51:37.464Z] $ docker stop --time=1 d0ec772b83b64a5a6619b5606b5b7acde3a630fa3c88edc937a4837e7a536bc4 [2022-06-28T08:51:38.785Z] $ docker rm -f d0ec772b83b64a5a6619b5606b5b7acde3a630fa3c88edc937a4837e7a536bc4 [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-06-28T08:51:39.323Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-06-28T08:51:39.324Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-06-28T08:51:39.324Z] total 16 [2022-06-28T08:51:39.324Z] drwxr-xr-x 3 root root 4096 Jun 28 08:43 . [2022-06-28T08:51:39.324Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 08:51 .. [2022-06-28T08:51:39.324Z] drwxr-xr-x 2 root root 4096 Jun 28 08:43 cost [2022-06-28T08:51:39.324Z] -rw-r--r-- 1 root root 84 Jun 28 08:43 cost.csv [2022-06-28T08:51:39.324Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-06-28T08:51:39.324Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-06-28T08:51:39.324Z] total 16 [2022-06-28T08:51:39.324Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 08:43 . [2022-06-28T08:51:39.324Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 08:51 .. [2022-06-28T08:51:39.324Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 08:43 cost [2022-06-28T08:51:39.324Z] -rw-r--r-- 1 jenkins jenkins 84 Jun 28 08:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:51:39.616Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:51:40.662Z] ---> package-listing.sh [2022-06-28T08:51:40.662Z] ++ facter osfamily [2022-06-28T08:51:40.662Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-28T08:51:40.662Z] + OS_FAMILY=debian [2022-06-28T08:51:40.662Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-06-28T08:51:40.662Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-28T08:51:40.662Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-28T08:51:40.662Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-28T08:51:40.662Z] + PACKAGES=/tmp/packages_start.txt [2022-06-28T08:51:40.662Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-06-28T08:51:40.662Z] + PACKAGES=/tmp/packages_end.txt [2022-06-28T08:51:40.662Z] + case "${OS_FAMILY}" in [2022-06-28T08:51:40.662Z] + dpkg -l [2022-06-28T08:51:40.662Z] + grep '^ii' [2022-06-28T08:51:40.662Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-28T08:51:40.662Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-28T08:51:40.662Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-28T08:51:40.662Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-06-28T08:51:40.662Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-06-28T08:51:40.662Z] + 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-06-28T08:51:40.726Z] 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-06-28T08:51:41.051Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T08:51:41.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T08:51:41.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T08:51:41.435Z] prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container [2022-06-28T08:51:41.474Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T08:51:41.700Z] $ docker top 24e987131beb8882f62ce06ae09178c470c8bc848c127b1041bdcf799b9d4bed -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T08:51:42.047Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-28T08:51:42.331Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-28T08:51:42.616Z] + ls /var/log/sa-host [2022-06-28T08:51:42.616Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T08:51:42.699Z] provisioning config files... [2022-06-28T08:51:42.709Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1939101391823364216tmp [Pipeline] { [Pipeline] echo [2022-06-28T08:51:42.724Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:51:43.007Z] ---> create-netrc.sh [Pipeline] } [2022-06-28T08:51:43.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:51:43.341Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-28T08:51:43.348Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:51:43.633Z] ---> sudo-logs.sh [2022-06-28T08:51:43.633Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-28T08:51:43.660Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:51:43.945Z] ---> job-cost.sh [2022-06-28T08:51:43.946Z] lf-activate-venv: SKIPPING [2022-06-28T08:51:43.946Z] DEBUG: total: 0.2199999988079071 [2022-06-28T08:51:43.946Z] INFO: Retrieving Stack Cost... [2022-06-28T08:51:44.205Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T08:51:44.775Z] INFO: Archiving Costs [Pipeline] echo [2022-06-28T08:51:44.786Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T08:51:45.069Z] ---> logs-deploy.sh [2022-06-28T08:51:45.070Z] lf-activate-venv: SKIPPING [2022-06-28T08:51:45.070Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/47 [2022-06-28T08:51:45.070Z] INFO: archiving workspace using pattern(s): [2022-06-28T08:51:46.009Z] Archives upload complete. [2022-06-28T08:51:46.009Z] INFO: archiving logs to Nexus [2022-06-28T08:51:46.580Z] ---> uname -a: [2022-06-28T08:51:46.580Z] Linux prd-ubuntu20-04-docker-8c-8g-16200 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-06-28T08:51:46.580Z] [2022-06-28T08:51:46.580Z]