Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b53a838cf715098176e329c4fd19d0f7ded052f 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-ssh2256353247417470846.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh18293466436888586449.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11804976306554517306.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh15271900764578302283.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh6443419640706182037.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-47539’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-47533’ is offline ‘prd-ubuntu20.04-docker-8c-8g-47534’ is offline ‘prd-ubuntu20.04-docker-8c-8g-47537’ is offline ‘prd-ubuntu20.04-docker-8c-8g-47543’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-47535’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-47536’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-47538’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47566 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 9b53a838cf715098176e329c4fd19d0f7ded052f (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 9b53a838cf715098176e329c4fd19d0f7ded052f # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#188)" > git rev-list --no-walk 4edc8d2690683859fe7dd7f6313ce2addb447006 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T12:13:55.884Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T12:13:55.937Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T12:13:55.954Z] ========================================================= [2022-05-10T12:13:55.954Z] EdgeX Global Pipelines Version Info [2022-05-10T12:13:55.954Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:13:56.719Z] ------------------- [2022-05-10T12:13:56.719Z] stable info: [2022-05-10T12:13:56.719Z] ------------------- [2022-05-10T12:13:56.719Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T12:13:56.719Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T12:13:56.719Z] Message: update stable to v1.0.227 [2022-05-10T12:13:57.293Z] ------------------- [2022-05-10T12:13:57.293Z] experimental info: [2022-05-10T12:13:57.293Z] ------------------- [2022-05-10T12:13:57.293Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T12:13:57.293Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T12:13:57.293Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T12:13:57.443Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-10T12:13:57.455Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-10T12:13:57.466Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T12:13:57.480Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T12:13:57.492Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T12:13:57.503Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T12:13:57.515Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T12:13:57.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T12:13:57.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T12:13:57.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T12:13:57.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T12:13:57.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-10T12:13:57.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T12:13:57.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T12:13:57.624Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T12:13:57.635Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T12:13:57.647Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T12:13:57.659Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T12:13:57.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T12:13:57.686Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T12:13:57.697Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T12:13:57.710Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T12:13:57.724Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T12:13:57.740Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T12:13:57.751Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T12:13:57.765Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T12:13:57.779Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-10T12:13:57.791Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-10T12:13:57.802Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-10T12:13:57.814Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] echo [2022-05-10T12:13:57.833Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b53a83 [Pipeline] echo [2022-05-10T12:13:57.851Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:13:57.905Z] provisioning config files... [2022-05-10T12:13:57.921Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config182635066284038600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:13:58.235Z] ---> docker-login.sh [2022-05-10T12:13:58.235Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:13:58.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:13:58.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:13:58.496Z] Configure a credential helper to remove this warning. See [2022-05-10T12:13:58.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:13:58.496Z] [2022-05-10T12:13:58.496Z] Login Succeeded [2022-05-10T12:13:58.496Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:13:58.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:13:58.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:13:58.773Z] Configure a credential helper to remove this warning. See [2022-05-10T12:13:58.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:13:58.773Z] [2022-05-10T12:13:58.773Z] Login Succeeded [2022-05-10T12:13:58.773Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:13:58.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:13:59.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:13:59.034Z] Configure a credential helper to remove this warning. See [2022-05-10T12:13:59.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:13:59.034Z] [2022-05-10T12:13:59.034Z] Login Succeeded [2022-05-10T12:13:59.034Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:13:59.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:13:59.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:13:59.034Z] Configure a credential helper to remove this warning. See [2022-05-10T12:13:59.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:13:59.034Z] [2022-05-10T12:13:59.034Z] Login Succeeded [2022-05-10T12:13:59.034Z] docker.io [2022-05-10T12:13:59.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:13:59.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:13:59.558Z] Configure a credential helper to remove this warning. See [2022-05-10T12:13:59.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:13:59.558Z] [2022-05-10T12:13:59.558Z] Login Succeeded [2022-05-10T12:13:59.558Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:13:59.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T12:13:59.970Z] + git rev-list -1 --merges 9b53a838cf715098176e329c4fd19d0f7ded052f~1..9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] echo [2022-05-10T12:14:00.008Z] -----------> git rev-list -1 --merges 9b53a838cf715098176e329c4fd19d0f7ded052f~1..9b53a838cf715098176e329c4fd19d0f7ded052f 9b53a838cf715098176e329c4fd19d0f7ded052f [false] [Pipeline] sh [2022-05-10T12:14:00.308Z] + git log --format=format:%s -1 9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] echo [2022-05-10T12:14:00.326Z] ========================================================= [2022-05-10T12:14:00.326Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T12:14:00.326Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:14:00.667Z] + git log --format=format:%s -1 9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] echo [2022-05-10T12:14:00.680Z] [semverPrep] GIT_COMMIT: 9b53a838cf715098176e329c4fd19d0f7ded052f, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#188) [Pipeline] echo [2022-05-10T12:14:00.692Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T12:14:01.117Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:14:01.117Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T12:14:01.117Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T12:14:01.117Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T12:14:01.117Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T12:14:01.117Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T12:14:01.117Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:14:01.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:14:01.475Z] [2022-05-10T12:14:01.475Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:14:01.779Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:14:01.779Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T12:14:01.779Z] 1fe172e4850f: Pulling fs layer [2022-05-10T12:14:01.779Z] caf521ccaac6: Pulling fs layer [2022-05-10T12:14:01.779Z] 3ead6fa29328: Pulling fs layer [2022-05-10T12:14:01.779Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T12:14:01.779Z] a8d5f1318db7: Pulling fs layer [2022-05-10T12:14:01.779Z] c427282e49a2: Pulling fs layer [2022-05-10T12:14:01.779Z] 1827001aaf11: Pulling fs layer [2022-05-10T12:14:01.779Z] 0714d37db230: Pulling fs layer [2022-05-10T12:14:01.779Z] ac28cf19c067: Pulling fs layer [2022-05-10T12:14:01.779Z] ca983d60f3e2: Pulling fs layer [2022-05-10T12:14:01.779Z] 9f894cec8388: Pulling fs layer [2022-05-10T12:14:01.779Z] 5c2a1cbceb83: Waiting [2022-05-10T12:14:01.779Z] 0714d37db230: Waiting [2022-05-10T12:14:01.779Z] a8d5f1318db7: Waiting [2022-05-10T12:14:01.779Z] 1827001aaf11: Waiting [2022-05-10T12:14:01.779Z] c427282e49a2: Waiting [2022-05-10T12:14:01.779Z] ac28cf19c067: Waiting [2022-05-10T12:14:01.779Z] ca983d60f3e2: Waiting [2022-05-10T12:14:01.779Z] caf521ccaac6: Verifying Checksum [2022-05-10T12:14:01.779Z] caf521ccaac6: Download complete [2022-05-10T12:14:01.779Z] 5c2a1cbceb83: Download complete [2022-05-10T12:14:02.040Z] a8d5f1318db7: Verifying Checksum [2022-05-10T12:14:02.040Z] a8d5f1318db7: Download complete [2022-05-10T12:14:02.040Z] 3ead6fa29328: Download complete [2022-05-10T12:14:02.041Z] c427282e49a2: Download complete [2022-05-10T12:14:02.041Z] 0714d37db230: Verifying Checksum [2022-05-10T12:14:02.041Z] 0714d37db230: Download complete [2022-05-10T12:14:02.041Z] ac28cf19c067: Verifying Checksum [2022-05-10T12:14:02.041Z] ac28cf19c067: Download complete [2022-05-10T12:14:02.041Z] ca983d60f3e2: Verifying Checksum [2022-05-10T12:14:02.041Z] ca983d60f3e2: Download complete [2022-05-10T12:14:02.041Z] 9f894cec8388: Verifying Checksum [2022-05-10T12:14:02.041Z] 9f894cec8388: Download complete [2022-05-10T12:14:02.041Z] 1fe172e4850f: Download complete [2022-05-10T12:14:02.301Z] 1827001aaf11: Verifying Checksum [2022-05-10T12:14:02.301Z] 1827001aaf11: Download complete [2022-05-10T12:14:03.690Z] 1fe172e4850f: Pull complete [2022-05-10T12:14:03.690Z] caf521ccaac6: Pull complete [2022-05-10T12:14:04.266Z] 3ead6fa29328: Pull complete [2022-05-10T12:14:04.266Z] 5c2a1cbceb83: Pull complete [2022-05-10T12:14:04.525Z] a8d5f1318db7: Pull complete [2022-05-10T12:14:04.786Z] c427282e49a2: Pull complete [2022-05-10T12:14:06.694Z] 1827001aaf11: Pull complete [2022-05-10T12:14:06.694Z] 0714d37db230: Pull complete [2022-05-10T12:14:06.694Z] ac28cf19c067: Pull complete [2022-05-10T12:14:06.956Z] ca983d60f3e2: Pull complete [2022-05-10T12:14:06.956Z] 9f894cec8388: Pull complete [2022-05-10T12:14:06.956Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T12:14:06.956Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:14:06.956Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T12:14:07.035Z] prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container [2022-05-10T12:14:07.078Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:14:08.566Z] $ docker top 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 -eo pid,comm [2022-05-10T12:14:08.638Z] 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-05-10T12:14:08.638Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:14:08.675Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:14:08.675Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:14:08.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:14:08.831Z] $ docker exec 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 ssh-agent [2022-05-10T12:14:08.956Z] SSH_AUTH_SOCK=/tmp/ssh-P2PF6XOu5eLD/agent.32 [2022-05-10T12:14:08.956Z] SSH_AGENT_PID=39 [2022-05-10T12:14:08.965Z] Running ssh-add (command line suppressed) [2022-05-10T12:14:09.098Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3614438652365489120.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3614438652365489120.key) [2022-05-10T12:14:09.110Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:14:09.403Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T12:14:09.422Z] $ docker exec --env ******** --env ******** 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 ssh-agent -k [2022-05-10T12:14:09.544Z] unset SSH_AUTH_SOCK; [2022-05-10T12:14:09.544Z] unset SSH_AGENT_PID; [2022-05-10T12:14:09.544Z] echo Agent pid 39 killed; [2022-05-10T12:14:09.551Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T12:14:09.577Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:14:09.577Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:14:09.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:14:09.716Z] $ docker exec 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 ssh-agent [2022-05-10T12:14:09.832Z] SSH_AUTH_SOCK=/tmp/ssh-fMgJPeJDIyKk/agent.74 [2022-05-10T12:14:09.832Z] SSH_AGENT_PID=81 [2022-05-10T12:14:09.838Z] Running ssh-add (command line suppressed) [2022-05-10T12:14:09.987Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1289562379895448835.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1289562379895448835.key) [2022-05-10T12:14:10.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:14:10.297Z] + git semver init [2022-05-10T12:14:10.869Z] 2022-05-10 12:14:10,580 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T12:14:10.869Z] 2022-05-10 12:14:10,581 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-05-10T12:14:10.870Z] 2022-05-10 12:14:10,581 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-05-10T12:14:10.870Z] 2022-05-10 12:14:10,581 [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-05-10T12:14:11.812Z] 2022-05-10 12:14:11,600 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-05-10T12:14:11.812Z] 2022-05-10 12:14:11,600 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-05-10T12:14:11.812Z] 2022-05-10 12:14:11,600 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T12:14:11.812Z] 2022-05-10 12:14:11,601 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T12:14:11.812Z] 2.2.0-dev.17 [Pipeline] } [2022-05-10T12:14:11.828Z] $ docker exec --env ******** --env ******** 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 ssh-agent -k [2022-05-10T12:14:11.931Z] unset SSH_AUTH_SOCK; [2022-05-10T12:14:11.931Z] unset SSH_AGENT_PID; [2022-05-10T12:14:11.931Z] echo Agent pid 81 killed; [2022-05-10T12:14:11.942Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:14:12.251Z] + git semver [Pipeline] } [2022-05-10T12:14:12.842Z] $ docker stop --time=1 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 [2022-05-10T12:14:14.183Z] $ docker rm -f 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:14:14.544Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T12:14:14.814Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T12:14:14.818Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:14:14.941Z] provisioning config files... [2022-05-10T12:14:14.953Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config536999732159748742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:14:15.252Z] ---> docker-login.sh [2022-05-10T12:14:15.252Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:14:15.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:15.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:15.252Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:15.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:15.252Z] [2022-05-10T12:14:15.252Z] Login Succeeded [2022-05-10T12:14:15.252Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:14:15.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:15.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:15.512Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:15.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:15.512Z] [2022-05-10T12:14:15.512Z] Login Succeeded [2022-05-10T12:14:15.512Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:14:15.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:15.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:15.512Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:15.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:15.512Z] [2022-05-10T12:14:15.512Z] Login Succeeded [2022-05-10T12:14:15.512Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:14:15.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:15.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:15.772Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:15.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:15.772Z] [2022-05-10T12:14:15.772Z] Login Succeeded [2022-05-10T12:14:15.772Z] docker.io [2022-05-10T12:14:15.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:14:16.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:14:16.033Z] Configure a credential helper to remove this warning. See [2022-05-10T12:14:16.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:14:16.033Z] [2022-05-10T12:14:16.033Z] Login Succeeded [2022-05-10T12:14:16.033Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:14:16.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T12:14:16.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:14:16.122Z] ========================================================= [2022-05-10T12:14:16.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T12:14:16.122Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:14:16.431Z] + 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-05-10T12:14:16.431Z] Sending build context to Docker daemon 10.62MB [2022-05-10T12:14:16.431Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:14:16.431Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T12:14:16.431Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T12:14:16.431Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T12:14:16.431Z] 666ba61612fd: Pulling fs layer [2022-05-10T12:14:16.431Z] 8ed8ca486205: Pulling fs layer [2022-05-10T12:14:16.431Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T12:14:16.431Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T12:14:16.431Z] ca2b28591e48: Pulling fs layer [2022-05-10T12:14:16.431Z] a51346096db8: Pulling fs layer [2022-05-10T12:14:16.431Z] daebc70d1ce1: Pulling fs layer [2022-05-10T12:14:16.431Z] 0e18a0eac166: Pulling fs layer [2022-05-10T12:14:16.431Z] 4fe6c5a15a65: Waiting [2022-05-10T12:14:16.431Z] 22a0e8bec74d: Waiting [2022-05-10T12:14:16.431Z] ca2b28591e48: Waiting [2022-05-10T12:14:16.431Z] daebc70d1ce1: Waiting [2022-05-10T12:14:16.431Z] 0e18a0eac166: Waiting [2022-05-10T12:14:16.431Z] a51346096db8: Waiting [2022-05-10T12:14:16.692Z] 8ed8ca486205: Verifying Checksum [2022-05-10T12:14:16.692Z] 8ed8ca486205: Download complete [2022-05-10T12:14:16.693Z] 666ba61612fd: Verifying Checksum [2022-05-10T12:14:16.693Z] 666ba61612fd: Download complete [2022-05-10T12:14:16.693Z] 22a0e8bec74d: Download complete [2022-05-10T12:14:16.693Z] ca2b28591e48: Download complete [2022-05-10T12:14:16.693Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T12:14:16.693Z] 59bf1c3509f3: Download complete [2022-05-10T12:14:16.693Z] a51346096db8: Verifying Checksum [2022-05-10T12:14:16.693Z] a51346096db8: Download complete [2022-05-10T12:14:16.693Z] daebc70d1ce1: Verifying Checksum [2022-05-10T12:14:16.693Z] daebc70d1ce1: Download complete [2022-05-10T12:14:16.693Z] 59bf1c3509f3: Pull complete [2022-05-10T12:14:16.953Z] 666ba61612fd: Pull complete [2022-05-10T12:14:16.953Z] 8ed8ca486205: Pull complete [2022-05-10T12:14:17.216Z] 0e18a0eac166: Verifying Checksum [2022-05-10T12:14:17.216Z] 0e18a0eac166: Download complete [2022-05-10T12:14:17.476Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T12:14:17.476Z] 4fe6c5a15a65: Download complete [2022-05-10T12:14:21.685Z] 4fe6c5a15a65: Pull complete [2022-05-10T12:14:21.685Z] 22a0e8bec74d: Pull complete [2022-05-10T12:14:21.948Z] ca2b28591e48: Pull complete [2022-05-10T12:14:21.948Z] a51346096db8: Pull complete [2022-05-10T12:14:21.948Z] daebc70d1ce1: Pull complete [2022-05-10T12:14:24.495Z] 0e18a0eac166: Pull complete [2022-05-10T12:14:24.495Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T12:14:24.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T12:14:24.495Z] ---> f018257e8ee9 [2022-05-10T12:14:24.495Z] Step 3/12 : ARG MAKE='make build' [2022-05-10T12:14:25.879Z] ---> Running in 16267439c377 [2022-05-10T12:14:26.141Z] Removing intermediate container 16267439c377 [2022-05-10T12:14:26.141Z] ---> 6b01014d8ef7 [2022-05-10T12:14:26.141Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:14:26.141Z] ---> Running in 6d78e4863888 [2022-05-10T12:14:26.141Z] Removing intermediate container 6d78e4863888 [2022-05-10T12:14:26.141Z] ---> 38f73920427d [2022-05-10T12:14:26.141Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:14:26.401Z] ---> Running in 58a4df9ec027 [2022-05-10T12:14:26.401Z] Removing intermediate container 58a4df9ec027 [2022-05-10T12:14:26.401Z] ---> c81faf9c5d25 [2022-05-10T12:14:26.401Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:14:26.401Z] ---> Running in 86a5ca69d32f [2022-05-10T12:14:26.974Z] Removing intermediate container 86a5ca69d32f [2022-05-10T12:14:26.974Z] ---> 3db2bdd77fd6 [2022-05-10T12:14:26.974Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:14:26.974Z] ---> Running in 3a60777d0113 [2022-05-10T12:14:27.547Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:14:28.119Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:14:28.378Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T12:14:28.706Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T12:14:28.706Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T12:14:28.706Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T12:14:28.973Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T12:14:28.973Z] OK: 224 MiB in 56 packages [2022-05-10T12:14:29.546Z] Removing intermediate container 3a60777d0113 [2022-05-10T12:14:29.546Z] ---> 1c6ccc96f777 [2022-05-10T12:14:29.546Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-10T12:14:29.546Z] ---> Running in fe2847bfa5cf [2022-05-10T12:14:29.806Z] Removing intermediate container fe2847bfa5cf [2022-05-10T12:14:29.806Z] ---> c9bed0c5c1ba [2022-05-10T12:14:29.806Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-10T12:14:29.806Z] ---> 545c2b66a66c [2022-05-10T12:14:29.806Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:14:29.901Z] Still waiting to schedule task [2022-05-10T12:14:29.901Z] ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T12:14:29.901Z] ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T12:14:29.901Z] ‘prd-ubuntu20.04-docker-8c-8g-47570’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T12:14:29.901Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-47567’ is offline [2022-05-10T12:14:30.067Z] ---> Running in 355152f9e1cb [2022-05-10T12:14:44.995Z] Removing intermediate container 355152f9e1cb [2022-05-10T12:14:44.995Z] ---> 9bf2c0d5e019 [2022-05-10T12:14:44.995Z] Step 11/12 : COPY . . [2022-05-10T12:14:44.995Z] ---> 6a06aaf9f4b1 [2022-05-10T12:14:44.995Z] Step 12/12 : RUN $MAKE [2022-05-10T12:14:44.995Z] ---> Running in 132cef4d6189 [2022-05-10T12:14:44.995Z] noop [2022-05-10T12:14:45.567Z] Removing intermediate container 132cef4d6189 [2022-05-10T12:14:45.567Z] ---> d8ca7f1ca27d [2022-05-10T12:14:45.567Z] Successfully built d8ca7f1ca27d [2022-05-10T12:14:45.567Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:14:45.867Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T12:14:45.867Z] . [Pipeline] withDockerContainer [2022-05-10T12:14:45.944Z] prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container [2022-05-10T12:14:45.982Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-10T12:14:46.400Z] $ docker top 4f0871ce14b9b2d55bbd77fe2489d6375aa29f1e09a46aa470d8e3b505b16856 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:14:46.814Z] + go version [2022-05-10T12:14:46.814Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T12:14:46.845Z] $ docker stop --time=1 4f0871ce14b9b2d55bbd77fe2489d6375aa29f1e09a46aa470d8e3b505b16856 [2022-05-10T12:14:48.125Z] $ docker rm -f 4f0871ce14b9b2d55bbd77fe2489d6375aa29f1e09a46aa470d8e3b505b16856 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:14:48.537Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T12:14:48.537Z] . [Pipeline] withDockerContainer [2022-05-10T12:14:48.602Z] prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container [2022-05-10T12:14:48.642Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-10T12:14:49.049Z] $ docker top 3064d472191196a5d3779625f1ce1c026a738f271e4e981c0fe61ca8063305c7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T12:14:49.412Z] + make test [2022-05-10T12:14:49.412Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T12:14:49.672Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-10T12:14:59.666Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-10T12:14:59.666Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2022-05-10T12:15:07.802Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T12:15:11.095Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T12:15:11.095Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T12:15:11.095Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T12:15:11.106Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T12:15:11.130Z] $ docker stop --time=1 3064d472191196a5d3779625f1ce1c026a738f271e4e981c0fe61ca8063305c7 [2022-05-10T12:15:12.910Z] $ docker rm -f 3064d472191196a5d3779625f1ce1c026a738f271e4e981c0fe61ca8063305c7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:15:13.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T12:15:13.395Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T12:15:13.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T12:15:14.218Z] + ls -al . [2022-05-10T12:15:14.218Z] total 172 [2022-05-10T12:15:14.218Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 12:15 . [2022-05-10T12:15:14.218Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:13 .. [2022-05-10T12:15:14.218Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 12:13 .dockerignore [2022-05-10T12:15:14.218Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:14 .git [2022-05-10T12:15:14.218Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:13 .github [2022-05-10T12:15:14.218Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 12:13 .gitignore [2022-05-10T12:15:14.218Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:13 .golangci.yml [2022-05-10T12:15:14.218Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:14 .semver [2022-05-10T12:15:14.218Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 10 12:13 Attribution.txt [2022-05-10T12:15:14.218Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 10 12:13 CHANGELOG.md [2022-05-10T12:15:14.218Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 10 12:13 Dockerfile [2022-05-10T12:15:14.219Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:13 GOVERNANCE.md [2022-05-10T12:15:14.219Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 12:13 Jenkinsfile [2022-05-10T12:15:14.219Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:13 LICENSE [2022-05-10T12:15:14.219Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 10 12:13 Makefile [2022-05-10T12:15:14.219Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 12:13 OWNERS.md [2022-05-10T12:15:14.219Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 10 12:13 README.md [2022-05-10T12:15:14.219Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:14 VERSION [2022-05-10T12:15:14.219Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:13 bin [2022-05-10T12:15:14.219Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:13 cmd [2022-05-10T12:15:14.219Z] -rw-r--r-- 1 jenkins jenkins 9355 May 10 12:14 coverage.out [2022-05-10T12:15:14.219Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:13 driver [2022-05-10T12:15:14.219Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 10 12:13 go.mod [2022-05-10T12:15:14.219Z] -rw-rw-r-- 1 jenkins jenkins 35377 May 10 12:13 go.sum [2022-05-10T12:15:14.219Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:13 snap [2022-05-10T12:15:14.219Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 12:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:14.511Z] + 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=9b53a838cf715098176e329c4fd19d0f7ded052f --label arch=amd64 --label version=2.2.0-dev.17 . [2022-05-10T12:15:14.511Z] Sending build context to Docker daemon 10.63MB [2022-05-10T12:15:14.511Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:15:14.511Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T12:15:14.511Z] ---> d8ca7f1ca27d [2022-05-10T12:15:14.511Z] Step 3/25 : ARG MAKE='make build' [2022-05-10T12:15:14.511Z] ---> Running in 35e442907a11 [2022-05-10T12:15:14.772Z] Removing intermediate container 35e442907a11 [2022-05-10T12:15:14.772Z] ---> 4f95238eb676 [2022-05-10T12:15:14.772Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:15:14.772Z] ---> Running in e2294dc06a54 [2022-05-10T12:15:14.772Z] Removing intermediate container e2294dc06a54 [2022-05-10T12:15:14.772Z] ---> ebbeffe7f4b4 [2022-05-10T12:15:14.772Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:15:14.772Z] ---> Running in 63bcdc91e015 [2022-05-10T12:15:15.041Z] Removing intermediate container 63bcdc91e015 [2022-05-10T12:15:15.041Z] ---> 2d12911aa846 [2022-05-10T12:15:15.041Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:15:15.041Z] ---> Running in cdf27a0ca442 [2022-05-10T12:15:15.609Z] Removing intermediate container cdf27a0ca442 [2022-05-10T12:15:15.609Z] ---> 5424d50e1b38 [2022-05-10T12:15:15.609Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:15:15.609Z] ---> Running in 2f4010c7320a [2022-05-10T12:15:15.868Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:15:16.808Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:15:17.069Z] OK: 224 MiB in 56 packages [2022-05-10T12:15:17.640Z] Removing intermediate container 2f4010c7320a [2022-05-10T12:15:17.640Z] ---> a5253b8f5d8d [2022-05-10T12:15:17.640Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-10T12:15:17.640Z] ---> Running in 1674c4f3dace [2022-05-10T12:15:17.640Z] Removing intermediate container 1674c4f3dace [2022-05-10T12:15:17.640Z] ---> c1b774c599a4 [2022-05-10T12:15:17.640Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-10T12:15:17.640Z] ---> 5bf0e2852a0b [2022-05-10T12:15:17.640Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:15:17.901Z] ---> Running in b2da310558d3 [2022-05-10T12:15:18.472Z] Removing intermediate container b2da310558d3 [2022-05-10T12:15:18.472Z] ---> 3b2de57ada54 [2022-05-10T12:15:18.472Z] Step 11/25 : COPY . . [2022-05-10T12:15:18.732Z] ---> a8d3ee407dcc [2022-05-10T12:15:18.732Z] Step 12/25 : RUN $MAKE [2022-05-10T12:15:18.732Z] ---> Running in 6d0c82f99a3f [2022-05-10T12:15:19.301Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-10T12:15:41.245Z] Removing intermediate container 6d0c82f99a3f [2022-05-10T12:15:41.246Z] ---> d92e6e884b57 [2022-05-10T12:15:41.246Z] Step 13/25 : FROM alpine:3.14 [2022-05-10T12:15:41.246Z] 3.14: Pulling from library/alpine [2022-05-10T12:15:41.246Z] 8663204ce13b: Pulling fs layer [2022-05-10T12:15:41.246Z] 8663204ce13b: Download complete [2022-05-10T12:15:41.246Z] 8663204ce13b: Pull complete [2022-05-10T12:15:41.246Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T12:15:41.246Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T12:15:41.246Z] ---> e04c818066af [2022-05-10T12:15:41.246Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-10T12:15:41.246Z] ---> Running in c94aa164c8e1 [2022-05-10T12:15:41.246Z] Removing intermediate container c94aa164c8e1 [2022-05-10T12:15:41.246Z] ---> 5d85c818a69c [2022-05-10T12:15:41.246Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-10T12:15:41.246Z] ---> Running in 64055e9718f6 [2022-05-10T12:15:41.246Z] Removing intermediate container 64055e9718f6 [2022-05-10T12:15:41.246Z] ---> 5d134aa81ddd [2022-05-10T12:15:41.246Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T12:15:41.246Z] ---> Running in dfd3aec34564 [2022-05-10T12:15:41.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:15:41.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:15:41.504Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T12:15:41.504Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T12:15:41.772Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T12:15:41.772Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T12:15:41.772Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T12:15:41.772Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T12:15:41.772Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T12:15:41.772Z] OK: 8 MiB in 20 packages [2022-05-10T12:15:42.036Z] Removing intermediate container dfd3aec34564 [2022-05-10T12:15:42.036Z] ---> 2464df416436 [2022-05-10T12:15:42.036Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-10T12:15:42.620Z] ---> 945fdecdd2ee [2022-05-10T12:15:42.620Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-10T12:15:42.880Z] ---> 205126995c9e [2022-05-10T12:15:42.880Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-10T12:15:43.148Z] ---> bbff26d232f4 [2022-05-10T12:15:43.148Z] Step 20/25 : EXPOSE 59986 [2022-05-10T12:15:43.148Z] ---> Running in 79d4fc98fae1 [2022-05-10T12:15:43.408Z] Removing intermediate container 79d4fc98fae1 [2022-05-10T12:15:43.408Z] ---> eac8e629f892 [2022-05-10T12:15:43.408Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-10T12:15:43.408Z] ---> Running in 109daa5eed38 [2022-05-10T12:15:43.408Z] Removing intermediate container 109daa5eed38 [2022-05-10T12:15:43.408Z] ---> 7063826cffad [2022-05-10T12:15:43.408Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-10T12:15:43.408Z] ---> Running in 58e3c97d8649 [2022-05-10T12:15:43.674Z] Removing intermediate container 58e3c97d8649 [2022-05-10T12:15:43.674Z] ---> c5bd554d55a7 [2022-05-10T12:15:43.674Z] Step 23/25 : LABEL arch=amd64 [2022-05-10T12:15:43.674Z] ---> Running in 02603b6c8546 [2022-05-10T12:15:43.674Z] Removing intermediate container 02603b6c8546 [2022-05-10T12:15:43.674Z] ---> 210baaad4b74 [2022-05-10T12:15:43.674Z] Step 24/25 : LABEL git_sha=9b53a838cf715098176e329c4fd19d0f7ded052f [2022-05-10T12:15:43.674Z] ---> Running in ef98ba62821d [2022-05-10T12:15:43.939Z] Removing intermediate container ef98ba62821d [2022-05-10T12:15:43.939Z] ---> 04407c55145d [2022-05-10T12:15:43.939Z] Step 25/25 : LABEL version=2.2.0-dev.17 [2022-05-10T12:15:43.939Z] ---> Running in d7e6d0ad3205 [2022-05-10T12:15:44.199Z] Removing intermediate container d7e6d0ad3205 [2022-05-10T12:15:44.199Z] ---> cffac79335f4 [2022-05-10T12:15:44.199Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T12:15:44.199Z] Successfully built cffac79335f4 [2022-05-10T12:15:44.199Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:15:44.286Z] provisioning config files... [2022-05-10T12:15:44.295Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4086811345973438563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:15:44.593Z] ---> docker-login.sh [2022-05-10T12:15:44.593Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:15:44.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:44.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:44.593Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:44.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:44.593Z] [2022-05-10T12:15:44.593Z] Login Succeeded [2022-05-10T12:15:44.593Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:15:44.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:44.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:44.853Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:44.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:44.853Z] [2022-05-10T12:15:44.853Z] Login Succeeded [2022-05-10T12:15:44.853Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:15:44.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:44.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:44.854Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:44.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:44.854Z] [2022-05-10T12:15:44.854Z] Login Succeeded [2022-05-10T12:15:44.854Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:15:44.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:45.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:45.119Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:45.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:45.119Z] [2022-05-10T12:15:45.119Z] Login Succeeded [2022-05-10T12:15:45.119Z] docker.io [2022-05-10T12:15:45.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:45.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:45.383Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:45.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:45.383Z] [2022-05-10T12:15:45.383Z] Login Succeeded [2022-05-10T12:15:45.383Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:15:45.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:15:45.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:15:45.452Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-05-10T12:15:45.452Z] 9b53a838cf715098176e329c4fd19d0f7ded052f [2022-05-10T12:15:45.452Z] latest [2022-05-10T12:15:45.452Z] 2.2.0-dev.17 [2022-05-10T12:15:45.452Z] 9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 [2022-05-10T12:15:45.452Z] main [2022-05-10T12:15:45.452Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:45.770Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:46.069Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:9b53a838cf715098176e329c4fd19d0f7ded052f [2022-05-10T12:15:46.069Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-10T12:15:46.069Z] 5024e5df4596: Preparing [2022-05-10T12:15:46.069Z] 4ac34fcd88e7: Preparing [2022-05-10T12:15:46.069Z] b4b116c92567: Preparing [2022-05-10T12:15:46.069Z] b66b09f50090: Preparing [2022-05-10T12:15:46.069Z] b541d28bf3b4: Preparing [2022-05-10T12:15:46.069Z] b541d28bf3b4: Layer already exists [2022-05-10T12:15:46.069Z] 4ac34fcd88e7: Pushed [2022-05-10T12:15:46.069Z] 5024e5df4596: Pushed [2022-05-10T12:15:46.330Z] b66b09f50090: Pushed [2022-05-10T12:15:48.238Z] b4b116c92567: Pushed [2022-05-10T12:15:48.498Z] 9b53a838cf715098176e329c4fd19d0f7ded052f: digest: sha256:8a71301ded6c45f30f33e95ce067b95dfffacccc6256f7064f4b7506ca90ce77 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:48.797Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:49.092Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-05-10T12:15:49.092Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-10T12:15:49.092Z] 5024e5df4596: Preparing [2022-05-10T12:15:49.092Z] 4ac34fcd88e7: Preparing [2022-05-10T12:15:49.092Z] b4b116c92567: Preparing [2022-05-10T12:15:49.092Z] b66b09f50090: Preparing [2022-05-10T12:15:49.092Z] b541d28bf3b4: Preparing [2022-05-10T12:15:49.092Z] 5024e5df4596: Layer already exists [2022-05-10T12:15:49.092Z] b541d28bf3b4: Layer already exists [2022-05-10T12:15:49.092Z] b4b116c92567: Layer already exists [2022-05-10T12:15:49.092Z] 4ac34fcd88e7: Layer already exists [2022-05-10T12:15:49.092Z] b66b09f50090: Layer already exists [2022-05-10T12:15:49.092Z] latest: digest: sha256:8a71301ded6c45f30f33e95ce067b95dfffacccc6256f7064f4b7506ca90ce77 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:49.406Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:49.699Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.17 [2022-05-10T12:15:49.699Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-10T12:15:49.699Z] 5024e5df4596: Preparing [2022-05-10T12:15:49.699Z] 4ac34fcd88e7: Preparing [2022-05-10T12:15:49.699Z] b4b116c92567: Preparing [2022-05-10T12:15:49.699Z] b66b09f50090: Preparing [2022-05-10T12:15:49.699Z] b541d28bf3b4: Preparing [2022-05-10T12:15:49.699Z] b541d28bf3b4: Layer already exists [2022-05-10T12:15:49.699Z] b4b116c92567: Layer already exists [2022-05-10T12:15:49.699Z] 4ac34fcd88e7: Layer already exists [2022-05-10T12:15:49.699Z] 5024e5df4596: Layer already exists [2022-05-10T12:15:49.699Z] b66b09f50090: Layer already exists [2022-05-10T12:15:49.699Z] 2.2.0-dev.17: digest: sha256:8a71301ded6c45f30f33e95ce067b95dfffacccc6256f7064f4b7506ca90ce77 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:50.001Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:50.301Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 [2022-05-10T12:15:50.301Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-10T12:15:50.301Z] 5024e5df4596: Preparing [2022-05-10T12:15:50.301Z] 4ac34fcd88e7: Preparing [2022-05-10T12:15:50.301Z] b4b116c92567: Preparing [2022-05-10T12:15:50.301Z] b66b09f50090: Preparing [2022-05-10T12:15:50.301Z] b541d28bf3b4: Preparing [2022-05-10T12:15:50.301Z] b541d28bf3b4: Layer already exists [2022-05-10T12:15:50.301Z] b66b09f50090: Layer already exists [2022-05-10T12:15:50.301Z] b4b116c92567: Layer already exists [2022-05-10T12:15:50.301Z] 4ac34fcd88e7: Layer already exists [2022-05-10T12:15:50.301Z] 5024e5df4596: Layer already exists [2022-05-10T12:15:50.301Z] 9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17: digest: sha256:8a71301ded6c45f30f33e95ce067b95dfffacccc6256f7064f4b7506ca90ce77 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:50.604Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:50.967Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-05-10T12:15:50.967Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-10T12:15:50.967Z] 5024e5df4596: Preparing [2022-05-10T12:15:50.967Z] 4ac34fcd88e7: Preparing [2022-05-10T12:15:50.967Z] b4b116c92567: Preparing [2022-05-10T12:15:50.967Z] b66b09f50090: Preparing [2022-05-10T12:15:50.967Z] b541d28bf3b4: Preparing [2022-05-10T12:15:50.967Z] b66b09f50090: Layer already exists [2022-05-10T12:15:50.967Z] 4ac34fcd88e7: Layer already exists [2022-05-10T12:15:50.967Z] b4b116c92567: Layer already exists [2022-05-10T12:15:50.967Z] 5024e5df4596: Layer already exists [2022-05-10T12:15:50.967Z] b541d28bf3b4: Layer already exists [2022-05-10T12:15:50.967Z] main: digest: sha256:8a71301ded6c45f30f33e95ce067b95dfffacccc6256f7064f4b7506ca90ce77 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:15:51.046Z] ===================================================== [Pipeline] echo [2022-05-10T12:15:51.060Z] taggedImages: [2022-05-10T12:15:51.060Z] - nexus3.edgexfoundry.org:10004/device-rest:9b53a838cf715098176e329c4fd19d0f7ded052f [2022-05-10T12:15:51.060Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-05-10T12:15:51.060Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.17 [2022-05-10T12:15:51.060Z] - nexus3.edgexfoundry.org:10004/device-rest:9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 [2022-05-10T12:15:51.060Z] - 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] sh [2022-05-10T12:15:51.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:15:51.434Z] [2022-05-10T12:15:51.434Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:51.744Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:15:51.744Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T12:15:51.744Z] 5eb5b503b376: Pulling fs layer [2022-05-10T12:15:51.744Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T12:15:51.744Z] ec43610c2a17: Pulling fs layer [2022-05-10T12:15:51.744Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T12:15:51.744Z] 33b1e0a273af: Pulling fs layer [2022-05-10T12:15:51.744Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T12:15:51.744Z] 2f39f015ded8: Pulling fs layer [2022-05-10T12:15:51.744Z] 3a2ae6a8a46f: Waiting [2022-05-10T12:15:51.744Z] 33b1e0a273af: Waiting [2022-05-10T12:15:51.744Z] 5d3b04190fa2: Waiting [2022-05-10T12:15:51.744Z] 2f39f015ded8: Waiting [2022-05-10T12:15:51.744Z] 5c69ac0246d0: Download complete [2022-05-10T12:15:51.744Z] 3a2ae6a8a46f: Download complete [2022-05-10T12:15:51.744Z] ec43610c2a17: Verifying Checksum [2022-05-10T12:15:51.744Z] ec43610c2a17: Download complete [2022-05-10T12:15:51.744Z] 33b1e0a273af: Verifying Checksum [2022-05-10T12:15:51.744Z] 33b1e0a273af: Download complete [2022-05-10T12:15:51.744Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T12:15:51.744Z] 5d3b04190fa2: Download complete [2022-05-10T12:15:52.007Z] 5eb5b503b376: Verifying Checksum [2022-05-10T12:15:52.007Z] 5eb5b503b376: Download complete [2022-05-10T12:15:53.386Z] 5eb5b503b376: Pull complete [2022-05-10T12:15:53.646Z] 5c69ac0246d0: Pull complete [2022-05-10T12:15:54.215Z] ec43610c2a17: Pull complete [2022-05-10T12:15:54.215Z] 3a2ae6a8a46f: Pull complete [2022-05-10T12:15:54.475Z] 33b1e0a273af: Pull complete [2022-05-10T12:15:54.475Z] 5d3b04190fa2: Pull complete [2022-05-10T12:15:59.753Z] 2f39f015ded8: Pull complete [2022-05-10T12:15:59.753Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T12:15:59.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:15:59.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T12:15:59.828Z] prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container [2022-05-10T12:15:59.872Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T12:16:01.565Z] $ docker top ac8163cb673ed6904bd274723c953f4d177f8d7d92ade108ea45096777b1df35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:16:02.024Z] ---> job-cost.sh [2022-05-10T12:16:02.024Z] lf-activate-venv: SKIPPING [2022-05-10T12:16:02.024Z] INFO: No Stack... [2022-05-10T12:16:02.285Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T12:16:02.856Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T12:16:03.151Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-05-10T12:16:03.151Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T12:16:03.169Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] [2022-05-10T12:16:03.177Z] Resource [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] did not exist. Created. [2022-05-10T12:16:03.177Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T12:16:03.484Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T12:16:03.526Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T12:16:03.532Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T12:16:03.552Z] $ docker stop --time=1 ac8163cb673ed6904bd274723c953f4d177f8d7d92ade108ea45096777b1df35 [2022-05-10T12:16:04.742Z] $ docker rm -f ac8163cb673ed6904bd274723c953f4d177f8d7d92ade108ea45096777b1df35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T12:24:57.777Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-47723 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-05-10T12:24:57.789Z] Running in /w/workspace/device-rest-go/39 [Pipeline] { [Pipeline] checkout [2022-05-10T12:24:58.265Z] The recommended git tool is: git [2022-05-10T12:25:06.409Z] using credential edgex-jenkins-ssh [2022-05-10T12:25:06.431Z] Cloning the remote Git repository [2022-05-10T12:25:06.506Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T12:25:06.599Z] > git init /w/workspace/device-rest-go/39 # timeout=10 [2022-05-10T12:25:06.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T12:25:06.813Z] > git --version # timeout=10 [2022-05-10T12:25:06.866Z] > git --version # 'git version 2.25.1' [2022-05-10T12:25:06.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T12:25:07.034Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T12:25:09.146Z] Avoid second fetch [2022-05-10T12:25:09.147Z] Checking out Revision 9b53a838cf715098176e329c4fd19d0f7ded052f (main) [2022-05-10T12:25:09.112Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-10T12:25:09.132Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T12:25:09.176Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T12:25:09.195Z] > git checkout -f 9b53a838cf715098176e329c4fd19d0f7ded052f # timeout=10 [2022-05-10T12:25:13.626Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#188)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:25:14.621Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T12:25:14.621Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T12:25:14.621Z] Dload Upload Total Spent Left Speed [2022-05-10T12:25:14.621Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 92523 0 --:--:-- --:--:-- --:--:-- 92523 [Pipeline] sh [2022-05-10T12:25:15.160Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T12:25:15.521Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T12:25:15.521Z] + sudo tee /etc/docker/daemon.new [2022-05-10T12:25:15.521Z] { [2022-05-10T12:25:15.521Z] "registry-mirrors": [ [2022-05-10T12:25:15.521Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T12:25:15.521Z] ], [2022-05-10T12:25:15.521Z] "bip": "10.250.0.254/24", [2022-05-10T12:25:15.521Z] "hosts": [ [2022-05-10T12:25:15.521Z] "tcp://0.0.0.0:5555", [2022-05-10T12:25:15.521Z] "unix:///var/run/docker.sock" [2022-05-10T12:25:15.521Z] ], [2022-05-10T12:25:15.521Z] "mtu": 1458, [2022-05-10T12:25:15.521Z] "selinux-enabled": true, [2022-05-10T12:25:15.521Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T12:25:15.521Z] } [Pipeline] sh [2022-05-10T12:25:15.883Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T12:25:16.221Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:25:34.566Z] provisioning config files... [2022-05-10T12:25:34.593Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/39@tmp/config1047093946449670516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:25:34.969Z] ---> docker-login.sh [2022-05-10T12:25:34.969Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:25:35.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:25:35.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:25:35.846Z] Configure a credential helper to remove this warning. See [2022-05-10T12:25:35.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:25:35.846Z] [2022-05-10T12:25:35.846Z] Login Succeeded [2022-05-10T12:25:35.846Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:25:36.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:25:36.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:25:36.446Z] Configure a credential helper to remove this warning. See [2022-05-10T12:25:36.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:25:36.446Z] [2022-05-10T12:25:36.446Z] Login Succeeded [2022-05-10T12:25:36.446Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:25:36.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:25:37.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:25:37.000Z] Configure a credential helper to remove this warning. See [2022-05-10T12:25:37.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:25:37.000Z] [2022-05-10T12:25:37.000Z] Login Succeeded [2022-05-10T12:25:37.000Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:25:37.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:25:37.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:25:37.280Z] Configure a credential helper to remove this warning. See [2022-05-10T12:25:37.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:25:37.281Z] [2022-05-10T12:25:37.281Z] Login Succeeded [2022-05-10T12:25:37.281Z] docker.io [2022-05-10T12:25:37.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:25:38.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:25:38.160Z] Configure a credential helper to remove this warning. See [2022-05-10T12:25:38.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:25:38.160Z] [2022-05-10T12:25:38.160Z] Login Succeeded [2022-05-10T12:25:38.160Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:25:38.179Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T12:25:38.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:25:38.925Z] ========================================================= [2022-05-10T12:25:38.925Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T12:25:38.925Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:25:39.295Z] + 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-05-10T12:25:39.295Z] Sending build context to Docker daemon 128.5kB [2022-05-10T12:25:39.574Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:25:39.574Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T12:25:39.852Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T12:25:39.852Z] 9b3977197b4f: Pulling fs layer [2022-05-10T12:25:39.852Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T12:25:39.852Z] 94645a83ff95: Pulling fs layer [2022-05-10T12:25:39.852Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T12:25:39.852Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T12:25:39.852Z] 3096ccb668a1: Pulling fs layer [2022-05-10T12:25:39.852Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T12:25:39.852Z] a4caa8a26152: Pulling fs layer [2022-05-10T12:25:39.852Z] 3f3a8bcf1eab: Waiting [2022-05-10T12:25:39.852Z] 3096ccb668a1: Waiting [2022-05-10T12:25:39.852Z] 0c92f367c5e7: Waiting [2022-05-10T12:25:39.852Z] e8cf19c19ddd: Waiting [2022-05-10T12:25:39.852Z] a4caa8a26152: Waiting [2022-05-10T12:25:39.852Z] 94645a83ff95: Verifying Checksum [2022-05-10T12:25:39.852Z] 94645a83ff95: Download complete [2022-05-10T12:25:39.852Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T12:25:39.852Z] 1a89e8eeedd5: Download complete [2022-05-10T12:25:39.852Z] 0c92f367c5e7: Download complete [2022-05-10T12:25:39.852Z] 3096ccb668a1: Download complete [2022-05-10T12:25:39.852Z] e8cf19c19ddd: Download complete [2022-05-10T12:25:39.852Z] 9b3977197b4f: Verifying Checksum [2022-05-10T12:25:40.855Z] 9b3977197b4f: Pull complete [2022-05-10T12:25:41.455Z] 1a89e8eeedd5: Pull complete [2022-05-10T12:25:41.737Z] 94645a83ff95: Pull complete [2022-05-10T12:25:42.014Z] a4caa8a26152: Verifying Checksum [2022-05-10T12:25:42.014Z] a4caa8a26152: Download complete [2022-05-10T12:25:42.610Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T12:25:42.610Z] 3f3a8bcf1eab: Download complete [2022-05-10T12:25:55.058Z] 3f3a8bcf1eab: Pull complete [2022-05-10T12:25:55.058Z] 0c92f367c5e7: Pull complete [2022-05-10T12:25:55.058Z] 3096ccb668a1: Pull complete [2022-05-10T12:25:55.058Z] e8cf19c19ddd: Pull complete [2022-05-10T12:26:01.823Z] a4caa8a26152: Pull complete [2022-05-10T12:26:01.823Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T12:26:01.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T12:26:01.823Z] ---> 725f1c02e7f9 [2022-05-10T12:26:01.823Z] Step 3/12 : ARG MAKE='make build' [2022-05-10T12:26:01.823Z] ---> Running in 88ea8caa5f74 [2022-05-10T12:26:02.112Z] Removing intermediate container 88ea8caa5f74 [2022-05-10T12:26:02.112Z] ---> 7e8b326cd545 [2022-05-10T12:26:02.112Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:26:02.387Z] ---> Running in d3f4b033e414 [2022-05-10T12:26:02.664Z] Removing intermediate container d3f4b033e414 [2022-05-10T12:26:02.664Z] ---> 54e71b5edfb2 [2022-05-10T12:26:02.664Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:26:02.664Z] ---> Running in 2d6a0646b179 [2022-05-10T12:26:03.263Z] Removing intermediate container 2d6a0646b179 [2022-05-10T12:26:03.263Z] ---> 34577f86642f [2022-05-10T12:26:03.263Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:26:03.263Z] ---> Running in 18968e9af6ef [2022-05-10T12:26:05.244Z] Removing intermediate container 18968e9af6ef [2022-05-10T12:26:05.244Z] ---> aca942e767e2 [2022-05-10T12:26:05.244Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:26:05.244Z] ---> Running in f42210690158 [2022-05-10T12:26:06.693Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:26:07.672Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:26:08.655Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T12:26:08.655Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T12:26:08.655Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T12:26:08.928Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T12:26:09.203Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T12:26:09.203Z] OK: 224 MiB in 56 packages [2022-05-10T12:26:10.208Z] Removing intermediate container f42210690158 [2022-05-10T12:26:10.208Z] ---> 51b7a3a7f420 [2022-05-10T12:26:10.208Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-10T12:26:10.484Z] ---> Running in 8ec6027482b7 [2022-05-10T12:26:10.758Z] Removing intermediate container 8ec6027482b7 [2022-05-10T12:26:10.758Z] ---> 67de5fb1d8f9 [2022-05-10T12:26:10.758Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-10T12:26:11.373Z] ---> e77e55e2f18b [2022-05-10T12:26:11.373Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:26:11.373Z] ---> Running in e70e94aee9a8 [2022-05-10T12:27:08.020Z] Removing intermediate container e70e94aee9a8 [2022-05-10T12:27:08.020Z] ---> 5a915e63f537 [2022-05-10T12:27:08.020Z] Step 11/12 : COPY . . [2022-05-10T12:27:08.020Z] ---> 982393046033 [2022-05-10T12:27:08.020Z] Step 12/12 : RUN $MAKE [2022-05-10T12:27:08.020Z] ---> Running in 8ee3c4ff30fd [2022-05-10T12:27:08.020Z] noop [2022-05-10T12:27:08.020Z] Removing intermediate container 8ee3c4ff30fd [2022-05-10T12:27:08.020Z] ---> 4909a11f53da [2022-05-10T12:27:08.020Z] Successfully built 4909a11f53da [2022-05-10T12:27:08.020Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:27:08.383Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T12:27:08.383Z] . [Pipeline] withDockerContainer [2022-05-10T12:27:08.675Z] prd-ubuntu20.04-docker-arm64-4c-16g-47723 does not seem to be running inside a container [2022-05-10T12:27:08.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/39 -v /w/workspace/device-rest-go/39:/w/workspace/device-rest-go/39:rw,z -v /w/workspace/device-rest-go/39@tmp:/w/workspace/device-rest-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T12:27:10.268Z] $ docker top 055d8b747223e4f31ff86fad83d3c79a7d90c3460498a3787d82e16f778ab1ab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:27:11.233Z] + go version [2022-05-10T12:27:11.233Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T12:27:11.270Z] $ docker stop --time=1 055d8b747223e4f31ff86fad83d3c79a7d90c3460498a3787d82e16f778ab1ab [2022-05-10T12:27:13.002Z] $ docker rm -f 055d8b747223e4f31ff86fad83d3c79a7d90c3460498a3787d82e16f778ab1ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:27:13.657Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T12:27:13.657Z] . [Pipeline] withDockerContainer [2022-05-10T12:27:13.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-47723 does not seem to be running inside a container [2022-05-10T12:27:14.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/39 -v /w/workspace/device-rest-go/39:/w/workspace/device-rest-go/39:rw,z -v /w/workspace/device-rest-go/39@tmp:/w/workspace/device-rest-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T12:27:15.436Z] $ docker top afa1ec33cac316c4cf6e5cae841c67ec1c8bef1e068782d3d29af16d36f3f821 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T12:27:16.419Z] + make test [2022-05-10T12:27:16.419Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T12:27:18.415Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-10T12:28:55.352Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-10T12:28:55.352Z] ok github.com/edgexfoundry/device-rest-go/driver 0.078s coverage: 55.2% of statements [2022-05-10T12:28:55.352Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T12:28:55.352Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T12:29:22.195Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T12:29:22.195Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T12:29:22.195Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T12:29:25.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T12:29:25.627Z] $ docker stop --time=1 afa1ec33cac316c4cf6e5cae841c67ec1c8bef1e068782d3d29af16d36f3f821 [2022-05-10T12:29:27.400Z] $ docker rm -f afa1ec33cac316c4cf6e5cae841c67ec1c8bef1e068782d3d29af16d36f3f821 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:29:28.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T12:29:28.426Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T12:29:28.914Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:29:29.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T12:29:29.655Z] + ls -al . [2022-05-10T12:29:29.655Z] total 168 [2022-05-10T12:29:29.655Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:29 . [2022-05-10T12:29:29.655Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:25 .. [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 12:25 .dockerignore [2022-05-10T12:29:29.655Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:25 .git [2022-05-10T12:29:29.655Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 .github [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 12:25 .gitignore [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:25 .golangci.yml [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 10 12:25 Attribution.txt [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 10 12:25 CHANGELOG.md [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 10 12:25 Dockerfile [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:25 GOVERNANCE.md [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 12:25 Jenkinsfile [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:25 LICENSE [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 10 12:25 Makefile [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 12:25 OWNERS.md [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 10 12:25 README.md [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:14 VERSION [2022-05-10T12:29:29.655Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:25 bin [2022-05-10T12:29:29.655Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 cmd [2022-05-10T12:29:29.655Z] -rw-r--r-- 1 jenkins jenkins 9355 May 10 12:28 coverage.out [2022-05-10T12:29:29.655Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:25 driver [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 10 12:25 go.mod [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 35377 May 10 12:25 go.sum [2022-05-10T12:29:29.655Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 snap [2022-05-10T12:29:29.655Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 12:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:29:30.001Z] + 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=9b53a838cf715098176e329c4fd19d0f7ded052f --label arch=arm64 --label version=2.2.0-dev.17 . [2022-05-10T12:29:30.001Z] Sending build context to Docker daemon 138.8kB [2022-05-10T12:29:30.273Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:29:30.273Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T12:29:30.273Z] ---> 4909a11f53da [2022-05-10T12:29:30.273Z] Step 3/25 : ARG MAKE='make build' [2022-05-10T12:29:30.546Z] ---> Running in 95fb739ac89e [2022-05-10T12:29:30.817Z] Removing intermediate container 95fb739ac89e [2022-05-10T12:29:30.817Z] ---> a8a19d096ade [2022-05-10T12:29:30.817Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:29:30.818Z] ---> Running in f49e4ab1f105 [2022-05-10T12:29:31.089Z] Removing intermediate container f49e4ab1f105 [2022-05-10T12:29:31.089Z] ---> 5cc8353e9803 [2022-05-10T12:29:31.089Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:29:31.089Z] ---> Running in d5aa3e5765bc [2022-05-10T12:29:31.690Z] Removing intermediate container d5aa3e5765bc [2022-05-10T12:29:31.690Z] ---> d665ec810fd5 [2022-05-10T12:29:31.690Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:29:31.690Z] ---> Running in 0c40342265a4 [2022-05-10T12:29:33.130Z] Removing intermediate container 0c40342265a4 [2022-05-10T12:29:33.130Z] ---> 8c39414492f1 [2022-05-10T12:29:33.130Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:29:33.404Z] ---> Running in 5d84364a070a [2022-05-10T12:29:34.394Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:29:35.373Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:29:36.351Z] OK: 224 MiB in 56 packages [2022-05-10T12:29:36.953Z] Removing intermediate container 5d84364a070a [2022-05-10T12:29:36.953Z] ---> 348de23c9c53 [2022-05-10T12:29:36.953Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-10T12:29:36.953Z] ---> Running in 7c962b428f24 [2022-05-10T12:29:37.563Z] Removing intermediate container 7c962b428f24 [2022-05-10T12:29:37.563Z] ---> 02afedc382c0 [2022-05-10T12:29:37.563Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-10T12:29:37.835Z] ---> 0b0db3b2c900 [2022-05-10T12:29:37.835Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:29:38.124Z] ---> Running in d7d686d408b0 [2022-05-10T12:29:40.100Z] Removing intermediate container d7d686d408b0 [2022-05-10T12:29:40.100Z] ---> 013c96bdb7be [2022-05-10T12:29:40.100Z] Step 11/25 : COPY . . [2022-05-10T12:29:40.371Z] ---> 4312bb12a18d [2022-05-10T12:29:40.371Z] Step 12/25 : RUN $MAKE [2022-05-10T12:29:40.651Z] ---> Running in 8c74d5607564 [2022-05-10T12:29:41.635Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-10T12:32:03.565Z] Removing intermediate container 8c74d5607564 [2022-05-10T12:32:03.565Z] ---> 2aedd3b51f99 [2022-05-10T12:32:03.565Z] Step 13/25 : FROM alpine:3.14 [2022-05-10T12:32:03.565Z] 3.14: Pulling from library/alpine [2022-05-10T12:32:03.565Z] 455c02918c45: Pulling fs layer [2022-05-10T12:32:03.565Z] 455c02918c45: Verifying Checksum [2022-05-10T12:32:03.565Z] 455c02918c45: Download complete [2022-05-10T12:32:03.565Z] 455c02918c45: Pull complete [2022-05-10T12:32:03.565Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T12:32:03.565Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T12:32:03.565Z] ---> ac73e934f311 [2022-05-10T12:32:03.565Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-10T12:32:03.565Z] ---> Running in 62ecbbf6ccd2 [2022-05-10T12:32:03.565Z] Removing intermediate container 62ecbbf6ccd2 [2022-05-10T12:32:03.565Z] ---> eaf0df2e7cb4 [2022-05-10T12:32:03.565Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-10T12:32:03.565Z] ---> Running in f54ccb6700b1 [2022-05-10T12:32:03.565Z] Removing intermediate container f54ccb6700b1 [2022-05-10T12:32:03.565Z] ---> f90027d7ac36 [2022-05-10T12:32:03.565Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T12:32:03.565Z] ---> Running in aadf8a169c2b [2022-05-10T12:32:03.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:32:03.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:32:03.565Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T12:32:03.565Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T12:32:03.565Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T12:32:03.565Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T12:32:03.565Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T12:32:03.565Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T12:32:03.565Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T12:32:03.565Z] OK: 8 MiB in 20 packages [2022-05-10T12:32:03.565Z] Removing intermediate container aadf8a169c2b [2022-05-10T12:32:03.565Z] ---> db5c3b5b8db3 [2022-05-10T12:32:03.565Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-10T12:32:03.565Z] ---> 495ab75da622 [2022-05-10T12:32:03.565Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-10T12:32:03.565Z] ---> 3f17ed4d8174 [2022-05-10T12:32:03.565Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-10T12:32:03.565Z] ---> 42160d6ac4be [2022-05-10T12:32:03.565Z] Step 20/25 : EXPOSE 59986 [2022-05-10T12:32:03.565Z] ---> Running in 85b9c7663d77 [2022-05-10T12:32:03.565Z] Removing intermediate container 85b9c7663d77 [2022-05-10T12:32:03.565Z] ---> 11e5daec245a [2022-05-10T12:32:03.565Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-10T12:32:03.565Z] ---> Running in 254697b05440 [2022-05-10T12:32:03.565Z] Removing intermediate container 254697b05440 [2022-05-10T12:32:03.565Z] ---> de4866039afd [2022-05-10T12:32:03.565Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-10T12:32:03.565Z] ---> Running in 621272a1ce47 [2022-05-10T12:32:03.565Z] Removing intermediate container 621272a1ce47 [2022-05-10T12:32:03.565Z] ---> 7f7032560bc8 [2022-05-10T12:32:03.565Z] Step 23/25 : LABEL arch=arm64 [2022-05-10T12:32:03.565Z] ---> Running in fac3c81535c2 [2022-05-10T12:32:03.565Z] Removing intermediate container fac3c81535c2 [2022-05-10T12:32:03.565Z] ---> ed2887aaa773 [2022-05-10T12:32:03.565Z] Step 24/25 : LABEL git_sha=9b53a838cf715098176e329c4fd19d0f7ded052f [2022-05-10T12:32:03.565Z] ---> Running in 159f4ca5a6ef [2022-05-10T12:32:03.565Z] Removing intermediate container 159f4ca5a6ef [2022-05-10T12:32:03.565Z] ---> c77ad8b564f3 [2022-05-10T12:32:03.565Z] Step 25/25 : LABEL version=2.2.0-dev.17 [2022-05-10T12:32:03.565Z] ---> Running in da180af9a136 [2022-05-10T12:32:03.565Z] Removing intermediate container da180af9a136 [2022-05-10T12:32:03.565Z] ---> 5e8249b45f01 [2022-05-10T12:32:03.565Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T12:32:03.565Z] Successfully built 5e8249b45f01 [2022-05-10T12:32:03.565Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:32:03.688Z] provisioning config files... [2022-05-10T12:32:03.710Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/39@tmp/config2020698032383220419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:32:04.072Z] ---> docker-login.sh [2022-05-10T12:32:04.072Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:32:04.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:32:04.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:32:04.354Z] Configure a credential helper to remove this warning. See [2022-05-10T12:32:04.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:32:04.354Z] [2022-05-10T12:32:04.354Z] Login Succeeded [2022-05-10T12:32:04.354Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:32:04.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:32:04.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:32:04.954Z] Configure a credential helper to remove this warning. See [2022-05-10T12:32:04.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:32:04.954Z] [2022-05-10T12:32:04.954Z] Login Succeeded [2022-05-10T12:32:04.954Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:32:05.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:32:05.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:32:05.504Z] Configure a credential helper to remove this warning. See [2022-05-10T12:32:05.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:32:05.504Z] [2022-05-10T12:32:05.504Z] Login Succeeded [2022-05-10T12:32:05.504Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:32:05.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:32:06.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:32:06.053Z] Configure a credential helper to remove this warning. See [2022-05-10T12:32:06.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:32:06.053Z] [2022-05-10T12:32:06.053Z] Login Succeeded [2022-05-10T12:32:06.053Z] docker.io [2022-05-10T12:32:06.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:32:06.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:32:06.926Z] Configure a credential helper to remove this warning. See [2022-05-10T12:32:06.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:32:06.926Z] [2022-05-10T12:32:06.926Z] Login Succeeded [2022-05-10T12:32:06.926Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:32:06.945Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:32:06.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:32:07.007Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-05-10T12:32:07.007Z] 9b53a838cf715098176e329c4fd19d0f7ded052f [2022-05-10T12:32:07.007Z] latest [2022-05-10T12:32:07.007Z] 2.2.0-dev.17 [2022-05-10T12:32:07.007Z] 9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 [2022-05-10T12:32:07.007Z] main [2022-05-10T12:32:07.007Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:07.389Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:07.776Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53a838cf715098176e329c4fd19d0f7ded052f [2022-05-10T12:32:07.776Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-10T12:32:07.776Z] 5e11febf7b26: Preparing [2022-05-10T12:32:07.776Z] 7ad2a72522e0: Preparing [2022-05-10T12:32:07.776Z] 26d13d391491: Preparing [2022-05-10T12:32:07.776Z] 035afcb31ca0: Preparing [2022-05-10T12:32:07.776Z] f73e7dbfee58: Preparing [2022-05-10T12:32:07.776Z] f73e7dbfee58: Layer already exists [2022-05-10T12:32:08.059Z] 7ad2a72522e0: Pushed [2022-05-10T12:32:08.059Z] 5e11febf7b26: Pushed [2022-05-10T12:32:08.662Z] 035afcb31ca0: Pushed [2022-05-10T12:32:15.386Z] 26d13d391491: Pushed [2022-05-10T12:32:15.386Z] 9b53a838cf715098176e329c4fd19d0f7ded052f: digest: sha256:1c7c849cc3f57847cf7fb80322db8e4c35603ef8b152fb652ee574e3f94429b0 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:15.746Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:16.102Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-05-10T12:32:16.102Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-10T12:32:16.102Z] 5e11febf7b26: Preparing [2022-05-10T12:32:16.102Z] 7ad2a72522e0: Preparing [2022-05-10T12:32:16.102Z] 26d13d391491: Preparing [2022-05-10T12:32:16.102Z] 035afcb31ca0: Preparing [2022-05-10T12:32:16.102Z] f73e7dbfee58: Preparing [2022-05-10T12:32:16.102Z] 26d13d391491: Layer already exists [2022-05-10T12:32:16.102Z] f73e7dbfee58: Layer already exists [2022-05-10T12:32:16.102Z] 7ad2a72522e0: Layer already exists [2022-05-10T12:32:16.102Z] 035afcb31ca0: Layer already exists [2022-05-10T12:32:16.102Z] 5e11febf7b26: Layer already exists [2022-05-10T12:32:16.378Z] latest: digest: sha256:1c7c849cc3f57847cf7fb80322db8e4c35603ef8b152fb652ee574e3f94429b0 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:16.733Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:17.093Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.17 [2022-05-10T12:32:17.093Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-10T12:32:17.093Z] 5e11febf7b26: Preparing [2022-05-10T12:32:17.093Z] 7ad2a72522e0: Preparing [2022-05-10T12:32:17.093Z] 26d13d391491: Preparing [2022-05-10T12:32:17.093Z] 035afcb31ca0: Preparing [2022-05-10T12:32:17.093Z] f73e7dbfee58: Preparing [2022-05-10T12:32:17.093Z] f73e7dbfee58: Layer already exists [2022-05-10T12:32:17.093Z] 035afcb31ca0: Layer already exists [2022-05-10T12:32:17.093Z] 26d13d391491: Layer already exists [2022-05-10T12:32:17.093Z] 7ad2a72522e0: Layer already exists [2022-05-10T12:32:17.093Z] 5e11febf7b26: Layer already exists [2022-05-10T12:32:17.370Z] 2.2.0-dev.17: digest: sha256:1c7c849cc3f57847cf7fb80322db8e4c35603ef8b152fb652ee574e3f94429b0 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:17.729Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:18.082Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 [2022-05-10T12:32:18.082Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-10T12:32:18.082Z] 5e11febf7b26: Preparing [2022-05-10T12:32:18.082Z] 7ad2a72522e0: Preparing [2022-05-10T12:32:18.082Z] 26d13d391491: Preparing [2022-05-10T12:32:18.082Z] 035afcb31ca0: Preparing [2022-05-10T12:32:18.082Z] f73e7dbfee58: Preparing [2022-05-10T12:32:18.082Z] f73e7dbfee58: Layer already exists [2022-05-10T12:32:18.082Z] 035afcb31ca0: Layer already exists [2022-05-10T12:32:18.082Z] 7ad2a72522e0: Layer already exists [2022-05-10T12:32:18.082Z] 5e11febf7b26: Layer already exists [2022-05-10T12:32:18.082Z] 26d13d391491: Layer already exists [2022-05-10T12:32:18.356Z] 9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17: digest: sha256:1c7c849cc3f57847cf7fb80322db8e4c35603ef8b152fb652ee574e3f94429b0 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:18.712Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:19.058Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-05-10T12:32:19.058Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-10T12:32:19.058Z] 5e11febf7b26: Preparing [2022-05-10T12:32:19.058Z] 7ad2a72522e0: Preparing [2022-05-10T12:32:19.058Z] 26d13d391491: Preparing [2022-05-10T12:32:19.058Z] 035afcb31ca0: Preparing [2022-05-10T12:32:19.058Z] f73e7dbfee58: Preparing [2022-05-10T12:32:19.058Z] f73e7dbfee58: Layer already exists [2022-05-10T12:32:19.058Z] 7ad2a72522e0: Layer already exists [2022-05-10T12:32:19.058Z] 5e11febf7b26: Layer already exists [2022-05-10T12:32:19.058Z] 035afcb31ca0: Layer already exists [2022-05-10T12:32:19.058Z] 26d13d391491: Layer already exists [2022-05-10T12:32:19.332Z] main: digest: sha256:1c7c849cc3f57847cf7fb80322db8e4c35603ef8b152fb652ee574e3f94429b0 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:32:19.374Z] ===================================================== [Pipeline] echo [2022-05-10T12:32:19.385Z] taggedImages: [2022-05-10T12:32:19.385Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53a838cf715098176e329c4fd19d0f7ded052f [2022-05-10T12:32:19.385Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-05-10T12:32:19.385Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.17 [2022-05-10T12:32:19.385Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 [2022-05-10T12:32:19.385Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:19.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:32:19.757Z] [2022-05-10T12:32:19.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:20.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:32:20.409Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T12:32:20.409Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T12:32:20.409Z] 04944245beec: Pulling fs layer [2022-05-10T12:32:20.409Z] 699f458cf7ca: Pulling fs layer [2022-05-10T12:32:20.409Z] 765212b225bb: Pulling fs layer [2022-05-10T12:32:20.409Z] f23df028b6ca: Pulling fs layer [2022-05-10T12:32:20.409Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T12:32:20.409Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T12:32:20.409Z] 765212b225bb: Waiting [2022-05-10T12:32:20.409Z] d65c8cfc05b1: Waiting [2022-05-10T12:32:20.409Z] f23df028b6ca: Waiting [2022-05-10T12:32:20.409Z] 2437ff75d9bd: Waiting [2022-05-10T12:32:20.409Z] 04944245beec: Verifying Checksum [2022-05-10T12:32:20.409Z] 04944245beec: Download complete [2022-05-10T12:32:20.409Z] 765212b225bb: Verifying Checksum [2022-05-10T12:32:20.409Z] 765212b225bb: Download complete [2022-05-10T12:32:20.687Z] f23df028b6ca: Download complete [2022-05-10T12:32:20.687Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T12:32:20.687Z] d65c8cfc05b1: Download complete [2022-05-10T12:32:20.687Z] 699f458cf7ca: Verifying Checksum [2022-05-10T12:32:20.687Z] 699f458cf7ca: Download complete [2022-05-10T12:32:20.963Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T12:32:20.963Z] 8998bd30e6a1: Download complete [2022-05-10T12:32:23.593Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T12:32:23.593Z] 2437ff75d9bd: Download complete [2022-05-10T12:32:25.579Z] 8998bd30e6a1: Pull complete [2022-05-10T12:32:25.854Z] 04944245beec: Pull complete [2022-05-10T12:32:27.294Z] 699f458cf7ca: Pull complete [2022-05-10T12:32:27.569Z] 765212b225bb: Pull complete [2022-05-10T12:32:28.168Z] f23df028b6ca: Pull complete [2022-05-10T12:32:28.764Z] d65c8cfc05b1: Pull complete [2022-05-10T12:32:43.885Z] 2437ff75d9bd: Pull complete [2022-05-10T12:32:43.885Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T12:32:43.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:32:43.885Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T12:32:44.109Z] prd-ubuntu20.04-docker-arm64-4c-16g-47723 does not seem to be running inside a container [2022-05-10T12:32:44.204Z] $ 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/39 -v /w/workspace/device-rest-go/39:/w/workspace/device-rest-go/39:rw,z -v /w/workspace/device-rest-go/39@tmp:/w/workspace/device-rest-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T12:32:46.769Z] $ docker top 608435dd0417ed343fb63b1fe3a8467aeecec67c3b711df6236d717dd2138d0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:32:47.702Z] ---> job-cost.sh [2022-05-10T12:32:47.702Z] lf-activate-venv: SKIPPING [2022-05-10T12:32:47.702Z] INFO: No Stack... [2022-05-10T12:32:47.975Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T12:32:48.958Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T12:32:49.634Z] + cat /w/workspace/device-rest-go/39/archives/cost.csv [2022-05-10T12:32:49.634Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T12:32:49.708Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] [2022-05-10T12:32:49.717Z] Resource [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] did not exist. Created. [2022-05-10T12:32:49.717Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T12:32:50.426Z] /w/workspace/device-rest-go/39@tmp/durable-99edcf78/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T12:32:51.124Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T12:32:51.147Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T12:32:51.192Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T12:32:51.198Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T12:32:51.225Z] $ docker stop --time=1 608435dd0417ed343fb63b1fe3a8467aeecec67c3b711df6236d717dd2138d0c [2022-05-10T12:32:52.756Z] $ docker rm -f 608435dd0417ed343fb63b1fe3a8467aeecec67c3b711df6236d717dd2138d0c [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-05-10T12:32:53.215Z] provisioning config files... [2022-05-10T12:32:53.223Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3394183551976071005tmp [Pipeline] { [Pipeline] sh [2022-05-10T12:32:53.520Z] + set +x [2022-05-10T12:32:53.520Z] + curl -s https://codecov.io/bash [2022-05-10T12:32:53.520Z] + bash -s -- [2022-05-10T12:32:53.520Z] [2022-05-10T12:32:53.520Z] _____ _ [2022-05-10T12:32:53.520Z] / ____| | | [2022-05-10T12:32:53.520Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T12:32:53.520Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T12:32:53.520Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T12:32:53.520Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T12:32:53.520Z] Bash-1.0.6 [2022-05-10T12:32:53.520Z] [2022-05-10T12:32:53.520Z] [2022-05-10T12:32:53.520Z] ==> git version 2.25.1 found [2022-05-10T12:32:53.520Z] ==> 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-05-10T12:32:53.520Z] Release-Date: 2020-01-08 [2022-05-10T12:32:53.520Z] 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-05-10T12:32:53.520Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T12:32:53.520Z] ==> Jenkins CI detected. [2022-05-10T12:32:53.520Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-05-10T12:32:53.520Z] project root: . [2022-05-10T12:32:53.520Z] --> token set from env [2022-05-10T12:32:53.520Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T12:32:53.520Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T12:32:53.520Z] ==> Python coveragepy not found [2022-05-10T12:32:53.520Z] ==> Searching for coverage reports in: [2022-05-10T12:32:53.520Z] + . [2022-05-10T12:32:53.520Z] -> Found 1 reports [2022-05-10T12:32:53.520Z] ==> Detecting git/mercurial file structure [2022-05-10T12:32:53.520Z] ==> Reading reports [2022-05-10T12:32:53.520Z] + ./coverage.out bytes=9355 [2022-05-10T12:32:53.520Z] ==> Appending adjustments [2022-05-10T12:32:53.520Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T12:32:53.520Z] + Found adjustments [2022-05-10T12:32:53.779Z] ==> Gzipping contents [2022-05-10T12:32:53.779Z] 4.0K /tmp/codecov.SkY0V2.gz [2022-05-10T12:32:53.779Z] ==> Uploading reports [2022-05-10T12:32:53.779Z] url: https://codecov.io [2022-05-10T12:32:53.779Z] query: branch=main&commit=9b53a838cf715098176e329c4fd19d0f7ded052f&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T12:32:53.779Z] -> Pinging Codecov [2022-05-10T12:32:53.779Z] 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=9b53a838cf715098176e329c4fd19d0f7ded052f&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T12:32:54.346Z] -> Uploading to [2022-05-10T12:32:54.346Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/4E5D53B4F1F92C436F7061BF334D961C/9b53a838cf715098176e329c4fd19d0f7ded052f/a1467e56-e57f-4c50-8e33-4fc3bf585547.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T123254Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e96879c8a409eb11f1d93302243723994524d12c362585c5fc12900ef2099ae1 [2022-05-10T12:32:54.346Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T12:32:54.346Z] Dload Upload Total Spent Left Speed [2022-05-10T12:32:54.346Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8361 --:--:-- --:--:-- --:--:-- 8361 [2022-05-10T12:32:54.346Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] } [2022-05-10T12:32:54.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-10T12:32:54.490Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-10T12:32:54.506Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:54.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T12:32:54.798Z] [2022-05-10T12:32:54.798Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:32:55.101Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T12:32:55.101Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-10T12:32:55.101Z] 188c0c94c7c5: Pulling fs layer [2022-05-10T12:32:55.101Z] 0ef7d3d256c8: Pulling fs layer [2022-05-10T12:32:55.101Z] de9db76c5a1d: Pulling fs layer [2022-05-10T12:32:55.101Z] 0eba1c9be4d2: Pulling fs layer [2022-05-10T12:32:55.101Z] 0d57e429df01: Pulling fs layer [2022-05-10T12:32:55.101Z] 4e4be7b47b0d: Pulling fs layer [2022-05-10T12:32:55.101Z] e1f770b5df2f: Pulling fs layer [2022-05-10T12:32:55.101Z] 85a0685a4137: Pulling fs layer [2022-05-10T12:32:55.101Z] 4e4be7b47b0d: Waiting [2022-05-10T12:32:55.101Z] 0eba1c9be4d2: Waiting [2022-05-10T12:32:55.101Z] e1f770b5df2f: Waiting [2022-05-10T12:32:55.101Z] 85a0685a4137: Waiting [2022-05-10T12:32:55.101Z] 0d57e429df01: Waiting [2022-05-10T12:32:55.101Z] de9db76c5a1d: Verifying Checksum [2022-05-10T12:32:55.101Z] de9db76c5a1d: Download complete [2022-05-10T12:32:55.101Z] 0ef7d3d256c8: Verifying Checksum [2022-05-10T12:32:55.101Z] 0ef7d3d256c8: Download complete [2022-05-10T12:32:55.101Z] 0d57e429df01: Verifying Checksum [2022-05-10T12:32:55.101Z] 0d57e429df01: Download complete [2022-05-10T12:32:55.101Z] 4e4be7b47b0d: Download complete [2022-05-10T12:32:55.101Z] 188c0c94c7c5: Download complete [2022-05-10T12:32:55.361Z] 188c0c94c7c5: Pull complete [2022-05-10T12:32:55.361Z] e1f770b5df2f: Verifying Checksum [2022-05-10T12:32:55.361Z] e1f770b5df2f: Download complete [2022-05-10T12:32:55.361Z] 0ef7d3d256c8: Pull complete [2022-05-10T12:32:55.622Z] de9db76c5a1d: Pull complete [2022-05-10T12:32:55.881Z] 0eba1c9be4d2: Verifying Checksum [2022-05-10T12:32:55.881Z] 0eba1c9be4d2: Download complete [2022-05-10T12:32:56.140Z] 85a0685a4137: Verifying Checksum [2022-05-10T12:32:56.140Z] 85a0685a4137: Download complete [2022-05-10T12:32:59.436Z] 0eba1c9be4d2: Pull complete [2022-05-10T12:32:59.436Z] 0d57e429df01: Pull complete [2022-05-10T12:32:59.696Z] 4e4be7b47b0d: Pull complete [2022-05-10T12:32:59.955Z] e1f770b5df2f: Pull complete [2022-05-10T12:33:04.155Z] 85a0685a4137: Pull complete [2022-05-10T12:33:04.155Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-10T12:33:04.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T12:33:04.155Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-10T12:33:04.233Z] prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container [2022-05-10T12:33:04.265Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-10T12:33:06.338Z] $ docker top ac19be2be18002f49b010390227ab33778b681f9fd0fb0bba5322513fe92ad34 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-10T12:33:06.422Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-10T12:33:06.705Z] + set -o pipefail [2022-05-10T12:33:06.705Z] + snyk monitor '--org=edgex-jenkins' [2022-05-10T12:33:12.000Z] [2022-05-10T12:33:12.000Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-05-10T12:33:12.000Z] [2022-05-10T12:33:12.000Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/84dff2fa-8a91-49d1-9093-a29fa55fd30b [2022-05-10T12:33:12.000Z] [2022-05-10T12:33:12.000Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-10T12:33:12.000Z] [2022-05-10T12:33:12.000Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-10T12:33:12.000Z] [2022-05-10T12:33:12.000Z] [Pipeline] } [2022-05-10T12:33:12.012Z] $ docker stop --time=1 ac19be2be18002f49b010390227ab33778b681f9fd0fb0bba5322513fe92ad34 [2022-05-10T12:33:14.070Z] $ docker rm -f ac19be2be18002f49b010390227ab33778b681f9fd0fb0bba5322513fe92ad34 [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-05-10T12:33:14.821Z] + git log --format=format:%s -1 9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] sh [2022-05-10T12:33:15.120Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:33:15.120Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:33:15.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:33:15.419Z] . [Pipeline] withDockerContainer [2022-05-10T12:33:15.481Z] prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container [2022-05-10T12:33:15.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:33:15.902Z] $ docker top ac579ee7ab07a19ef074be30eefb590a05f6a7a1741f7c975ee1e4dd497414dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:33:16.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:33:16.018Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:33:16.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:33:16.138Z] $ docker exec ac579ee7ab07a19ef074be30eefb590a05f6a7a1741f7c975ee1e4dd497414dd ssh-agent [2022-05-10T12:33:16.273Z] SSH_AUTH_SOCK=/tmp/ssh-mr3NIVYJbG6k/agent.35 [2022-05-10T12:33:16.273Z] SSH_AGENT_PID=43 [2022-05-10T12:33:16.280Z] Running ssh-add (command line suppressed) [2022-05-10T12:33:16.387Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8948218505569033139.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8948218505569033139.key) [2022-05-10T12:33:16.404Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:33:16.693Z] + git semver tag [2022-05-10T12:33:16.953Z] 2022-05-10 12:33:16,895 [run_tag] DEBUG tag force:False [2022-05-10T12:33:16.953Z] 2022-05-10 12:33:16,895 [check_head_tag] DEBUG check head tag [2022-05-10T12:33:16.953Z] 2022-05-10 12:33:16,895 [execute] INFO git cat-file --batch-check [2022-05-10T12:33:16.953Z] 2022-05-10 12:33:16,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T12:33:16.953Z] 2022-05-10 12:33:16,899 [execute] INFO git cat-file --batch [2022-05-10T12:33:16.953Z] 2022-05-10 12:33:16,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T12:33:16.953Z] 2022-05-10 12:33:16,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T12:33:16.953Z] 2022-05-10 12:33:16,915 [execute] INFO git tag -a v2.2.0-dev.17 -m v2.2.0-dev.17 [2022-05-10T12:33:16.953Z] 2022-05-10 12:33:16,915 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.17', '-m', 'v2.2.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T12:33:16.953Z] 2022-05-10 12:33:16,919 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T12:33:16.953Z] 2.2.0-dev.17 [Pipeline] } [2022-05-10T12:33:16.962Z] $ docker exec --env ******** --env ******** ac579ee7ab07a19ef074be30eefb590a05f6a7a1741f7c975ee1e4dd497414dd ssh-agent -k [2022-05-10T12:33:17.058Z] unset SSH_AUTH_SOCK; [2022-05-10T12:33:17.059Z] unset SSH_AGENT_PID; [2022-05-10T12:33:17.059Z] echo Agent pid 43 killed; [2022-05-10T12:33:17.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:33:17.386Z] + git semver [Pipeline] } [2022-05-10T12:33:17.660Z] $ docker stop --time=1 ac579ee7ab07a19ef074be30eefb590a05f6a7a1741f7c975ee1e4dd497414dd [2022-05-10T12:33:18.911Z] $ docker rm -f ac579ee7ab07a19ef074be30eefb590a05f6a7a1741f7c975ee1e4dd497414dd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:33:19.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T12:33:19.304Z] [2022-05-10T12:33:19.304Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:33:19.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T12:33:19.607Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-10T12:33:19.607Z] ab5ef0e58194: Pulling fs layer [2022-05-10T12:33:19.607Z] 9712f1f96733: Pulling fs layer [2022-05-10T12:33:19.607Z] 63f879dbbcfc: Pulling fs layer [2022-05-10T12:33:19.607Z] 0d9ebad4ef96: Pulling fs layer [2022-05-10T12:33:19.607Z] e9a5061849ea: Pulling fs layer [2022-05-10T12:33:19.607Z] d747dcd14b5f: Pulling fs layer [2022-05-10T12:33:19.607Z] 2de7ff778b66: Pulling fs layer [2022-05-10T12:33:19.607Z] e9a5061849ea: Waiting [2022-05-10T12:33:19.607Z] d747dcd14b5f: Waiting [2022-05-10T12:33:19.607Z] 2de7ff778b66: Waiting [2022-05-10T12:33:19.607Z] 0d9ebad4ef96: Waiting [2022-05-10T12:33:19.607Z] 9712f1f96733: Verifying Checksum [2022-05-10T12:33:19.607Z] 9712f1f96733: Download complete [2022-05-10T12:33:19.867Z] 63f879dbbcfc: Verifying Checksum [2022-05-10T12:33:19.867Z] 63f879dbbcfc: Download complete [2022-05-10T12:33:20.125Z] e9a5061849ea: Verifying Checksum [2022-05-10T12:33:20.125Z] e9a5061849ea: Download complete [2022-05-10T12:33:20.125Z] d747dcd14b5f: Download complete [2022-05-10T12:33:20.125Z] 0d9ebad4ef96: Verifying Checksum [2022-05-10T12:33:20.125Z] 0d9ebad4ef96: Download complete [2022-05-10T12:33:20.125Z] ab5ef0e58194: Verifying Checksum [2022-05-10T12:33:20.125Z] ab5ef0e58194: Download complete [2022-05-10T12:33:20.126Z] 2de7ff778b66: Verifying Checksum [2022-05-10T12:33:20.126Z] 2de7ff778b66: Download complete [2022-05-10T12:33:22.662Z] ab5ef0e58194: Pull complete [2022-05-10T12:33:22.662Z] 9712f1f96733: Pull complete [2022-05-10T12:33:23.602Z] 63f879dbbcfc: Pull complete [2022-05-10T12:33:27.804Z] 0d9ebad4ef96: Pull complete [2022-05-10T12:33:27.804Z] e9a5061849ea: Pull complete [2022-05-10T12:33:27.804Z] d747dcd14b5f: Pull complete [2022-05-10T12:33:28.373Z] 2de7ff778b66: Pull complete [2022-05-10T12:33:28.373Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-10T12:33:28.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T12:33:28.373Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-10T12:33:28.447Z] prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container [2022-05-10T12:33:28.482Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-10T12:33:30.641Z] $ docker top fd032fd281839aa567daf059963ff38bb151422dd163d43e707d0bf96791d6d3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:33:30.725Z] provisioning config files... [2022-05-10T12:33:30.736Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7152271430950658416tmp [2022-05-10T12:33:30.746Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6533246091881392695tmp [2022-05-10T12:33:30.756Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3360369545194241456tmp [Pipeline] { [Pipeline] echo [2022-05-10T12:33:30.771Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:33:31.063Z] ---> sigul-configuration.sh [2022-05-10T12:33:31.063Z] gpg: directory `/root/.gnupg' created [2022-05-10T12:33:31.063Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-10T12:33:31.063Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-10T12:33:31.063Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-10T12:33:31.063Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-10T12:33:31.063Z] gpg: CAST5 encrypted data [2022-05-10T12:33:31.063Z] gpg: encrypted with 1 passphrase [2022-05-10T12:33:31.063Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-10T12:33:31.354Z] + mkdir /home/jenkins [2022-05-10T12:33:31.354Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-10T12:33:31.644Z] + 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-05-10T12:33:31.655Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:33:31.941Z] ---> sigul-install.sh [2022-05-10T12:33:31.941Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-10T12:33:32.232Z] + git tag --list [2022-05-10T12:33:32.232Z] v1.0.0 [2022-05-10T12:33:32.232Z] v1.1.0 [2022-05-10T12:33:32.232Z] v1.1.1 [2022-05-10T12:33:32.232Z] v1.1.2 [2022-05-10T12:33:32.232Z] v1.2.0 [2022-05-10T12:33:32.232Z] v1.2.1 [2022-05-10T12:33:32.232Z] v2.0.0 [2022-05-10T12:33:32.232Z] v2.0.1-dev.1 [2022-05-10T12:33:32.232Z] v2.0.1-dev.10 [2022-05-10T12:33:32.232Z] v2.0.1-dev.11 [2022-05-10T12:33:32.232Z] v2.0.1-dev.12 [2022-05-10T12:33:32.232Z] v2.0.1-dev.13 [2022-05-10T12:33:32.232Z] v2.0.1-dev.14 [2022-05-10T12:33:32.232Z] v2.0.1-dev.2 [2022-05-10T12:33:32.232Z] v2.0.1-dev.3 [2022-05-10T12:33:32.232Z] v2.0.1-dev.4 [2022-05-10T12:33:32.232Z] v2.0.1-dev.5 [2022-05-10T12:33:32.232Z] v2.0.1-dev.6 [2022-05-10T12:33:32.232Z] v2.0.1-dev.7 [2022-05-10T12:33:32.232Z] v2.0.1-dev.8 [2022-05-10T12:33:32.232Z] v2.0.1-dev.9 [2022-05-10T12:33:32.232Z] v2.1.0 [2022-05-10T12:33:32.232Z] v2.2.0-dev.1 [2022-05-10T12:33:32.232Z] v2.2.0-dev.10 [2022-05-10T12:33:32.232Z] v2.2.0-dev.11 [2022-05-10T12:33:32.232Z] v2.2.0-dev.12 [2022-05-10T12:33:32.232Z] v2.2.0-dev.13 [2022-05-10T12:33:32.232Z] v2.2.0-dev.14 [2022-05-10T12:33:32.232Z] v2.2.0-dev.15 [2022-05-10T12:33:32.232Z] v2.2.0-dev.16 [2022-05-10T12:33:32.232Z] v2.2.0-dev.17 [2022-05-10T12:33:32.232Z] v2.2.0-dev.2 [2022-05-10T12:33:32.232Z] v2.2.0-dev.3 [2022-05-10T12:33:32.232Z] v2.2.0-dev.4 [2022-05-10T12:33:32.232Z] v2.2.0-dev.5 [2022-05-10T12:33:32.232Z] v2.2.0-dev.6 [2022-05-10T12:33:32.232Z] v2.2.0-dev.7 [2022-05-10T12:33:32.232Z] v2.2.0-dev.8 [2022-05-10T12:33:32.232Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-10T12:33:32.525Z] + lftools sign git-tag v2.2.0-dev.17 [2022-05-10T12:33:33.096Z] Signing Git tag with Sigul... [2022-05-10T12:33:33.096Z] Signing v2.2.0-dev.17 [Pipeline] echo [2022-05-10T12:33:33.674Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:33:33.959Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-10T12:33:34.025Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-10T12:33:34.044Z] $ docker stop --time=1 fd032fd281839aa567daf059963ff38bb151422dd163d43e707d0bf96791d6d3 [2022-05-10T12:33:35.355Z] $ docker rm -f fd032fd281839aa567daf059963ff38bb151422dd163d43e707d0bf96791d6d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-10T12:33:35.778Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:33:35.778Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:33:36.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:33:36.075Z] . [Pipeline] withDockerContainer [2022-05-10T12:33:36.140Z] prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container [2022-05-10T12:33:36.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:33:36.545Z] $ docker top 32e61ccefe4e6f3b8c16b42ea4fca817993cfdc90d40435c7cb3cc3da64771c1 -eo pid,comm [2022-05-10T12:33:36.610Z] 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-05-10T12:33:36.610Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:33:36.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:33:36.651Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:33:36.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:33:36.792Z] $ docker exec 32e61ccefe4e6f3b8c16b42ea4fca817993cfdc90d40435c7cb3cc3da64771c1 ssh-agent [2022-05-10T12:33:36.909Z] SSH_AUTH_SOCK=/tmp/ssh-uvyjz4RMS9A2/agent.33 [2022-05-10T12:33:36.909Z] SSH_AGENT_PID=40 [2022-05-10T12:33:36.919Z] Running ssh-add (command line suppressed) [2022-05-10T12:33:37.034Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_319837145387864330.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_319837145387864330.key) [2022-05-10T12:33:37.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:33:37.360Z] + git semver bump pre [2022-05-10T12:33:37.621Z] 2022-05-10 12:33:37,605 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T12:33:37.621Z] 2022-05-10 12:33:37,605 [bump_version] DEBUG bumping version:2.2.0-dev.17 on axis:pre with prefix:dev [2022-05-10T12:33:37.621Z] 2022-05-10 12:33:37,605 [bump_version] DEBUG bumped version:2.2.0-dev.18 [2022-05-10T12:33:37.621Z] 2022-05-10 12:33:37,605 [write_version] DEBUG write version:2.2.0-dev.18 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-05-10T12:33:37.621Z] 2022-05-10 12:33:37,605 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T12:33:37.621Z] 2022-05-10 12:33:37,605 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T12:33:37.621Z] 2022-05-10 12:33:37,607 [execute] INFO git cat-file --batch-check [2022-05-10T12:33:37.621Z] 2022-05-10 12:33:37,607 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T12:33:37.621Z] 2022-05-10 12:33:37,615 [execute] INFO git cat-file --batch [2022-05-10T12:33:37.621Z] 2022-05-10 12:33:37,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T12:33:37.880Z] 2022-05-10 12:33:37,621 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T12:33:37.880Z] 2.2.0-dev.18 [Pipeline] } [2022-05-10T12:33:37.890Z] $ docker exec --env ******** --env ******** 32e61ccefe4e6f3b8c16b42ea4fca817993cfdc90d40435c7cb3cc3da64771c1 ssh-agent -k [2022-05-10T12:33:37.994Z] unset SSH_AUTH_SOCK; [2022-05-10T12:33:37.994Z] unset SSH_AGENT_PID; [2022-05-10T12:33:37.994Z] echo Agent pid 40 killed; [2022-05-10T12:33:38.004Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:33:38.307Z] + git semver [Pipeline] } [2022-05-10T12:33:38.576Z] $ docker stop --time=1 32e61ccefe4e6f3b8c16b42ea4fca817993cfdc90d40435c7cb3cc3da64771c1 [2022-05-10T12:33:39.868Z] $ docker rm -f 32e61ccefe4e6f3b8c16b42ea4fca817993cfdc90d40435c7cb3cc3da64771c1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:33:40.242Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:33:40.242Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:33:40.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:33:40.573Z] . [Pipeline] withDockerContainer [2022-05-10T12:33:40.660Z] prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container [2022-05-10T12:33:40.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:33:41.186Z] $ docker top e38fca56426273a291b3e0f0e990b2cbeb82625f62ba1a8a5523e704d9a49d4c -eo pid,comm [2022-05-10T12:33:41.250Z] 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-05-10T12:33:41.250Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:33:41.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:33:41.293Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:33:41.429Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:33:41.432Z] $ docker exec e38fca56426273a291b3e0f0e990b2cbeb82625f62ba1a8a5523e704d9a49d4c ssh-agent [2022-05-10T12:33:41.548Z] SSH_AUTH_SOCK=/tmp/ssh-Fziz3vZMUVak/agent.34 [2022-05-10T12:33:41.548Z] SSH_AGENT_PID=40 [2022-05-10T12:33:41.554Z] Running ssh-add (command line suppressed) [2022-05-10T12:33:41.682Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2385377548604739952.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2385377548604739952.key) [2022-05-10T12:33:41.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:33:41.990Z] + git semver push [2022-05-10T12:33:42.250Z] 2022-05-10 12:33:42,185 [run_push] DEBUG push [2022-05-10T12:33:42.250Z] 2022-05-10 12:33:42,186 [execute] INFO git push origin semver [2022-05-10T12:33:42.250Z] 2022-05-10 12:33:42,186 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-10T12:33:43.191Z] 2022-05-10 12:33:42,957 [run_push] DEBUG push all version tags [2022-05-10T12:33:43.191Z] 2022-05-10 12:33:42,957 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-10T12:33:43.191Z] 2022-05-10 12:33:42,958 [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-05-10T12:33:43.763Z] 2022-05-10 12:33:43,700 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-10T12:33:43.763Z] 2.2.0-dev.18 [Pipeline] } [2022-05-10T12:33:43.772Z] $ docker exec --env ******** --env ******** e38fca56426273a291b3e0f0e990b2cbeb82625f62ba1a8a5523e704d9a49d4c ssh-agent -k [2022-05-10T12:33:43.868Z] unset SSH_AUTH_SOCK; [2022-05-10T12:33:43.869Z] unset SSH_AGENT_PID; [2022-05-10T12:33:43.869Z] echo Agent pid 40 killed; [2022-05-10T12:33:43.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:33:44.198Z] + git semver [Pipeline] } [2022-05-10T12:33:44.472Z] $ docker stop --time=1 e38fca56426273a291b3e0f0e990b2cbeb82625f62ba1a8a5523e704d9a49d4c [2022-05-10T12:33:45.815Z] $ docker rm -f e38fca56426273a291b3e0f0e990b2cbeb82625f62ba1a8a5523e704d9a49d4c [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-05-10T12:33:46.369Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-05-10T12:33:46.369Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-10T12:33:46.369Z] total 16 [2022-05-10T12:33:46.369Z] drwxr-xr-x 3 root root 4096 May 10 12:16 . [2022-05-10T12:33:46.369Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:33 .. [2022-05-10T12:33:46.369Z] drwxr-xr-x 2 root root 4096 May 10 12:16 cost [2022-05-10T12:33:46.369Z] -rw-r--r-- 1 root root 84 May 10 12:16 cost.csv [2022-05-10T12:33:46.369Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-10T12:33:46.369Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-10T12:33:46.369Z] total 16 [2022-05-10T12:33:46.369Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:16 . [2022-05-10T12:33:46.369Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:33 .. [2022-05-10T12:33:46.369Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 12:16 cost [2022-05-10T12:33:46.369Z] -rw-r--r-- 1 jenkins jenkins 84 May 10 12:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:33:46.667Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:33:47.537Z] ---> package-listing.sh [2022-05-10T12:33:47.537Z] ++ facter osfamily [2022-05-10T12:33:47.537Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T12:33:47.796Z] + OS_FAMILY=debian [2022-05-10T12:33:47.796Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-05-10T12:33:47.796Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T12:33:47.796Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T12:33:47.796Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T12:33:47.796Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T12:33:47.796Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-05-10T12:33:47.796Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T12:33:47.796Z] + case "${OS_FAMILY}" in [2022-05-10T12:33:47.796Z] + dpkg -l [2022-05-10T12:33:47.796Z] + grep '^ii' [2022-05-10T12:33:47.796Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T12:33:47.796Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T12:33:47.796Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T12:33:47.796Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-05-10T12:33:47.796Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-05-10T12:33:47.796Z] + 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-05-10T12:33:47.808Z] 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-05-10T12:33:48.088Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:33:48.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:33:48.642Z] . [Pipeline] withDockerContainer [2022-05-10T12:33:48.720Z] prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container [2022-05-10T12:33:48.756Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T12:33:49.016Z] $ docker top bf0bb3d4ba0f01302249e173fa63ccb74269ee4fade56e317727e443358a7f60 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:33:49.375Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T12:33:49.666Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T12:33:49.952Z] + ls /var/log/sa-host [2022-05-10T12:33:49.952Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:33:50.042Z] provisioning config files... [2022-05-10T12:33:50.052Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8742514008744099186tmp [Pipeline] { [Pipeline] echo [2022-05-10T12:33:50.068Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:33:50.355Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T12:33:50.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:33:50.693Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T12:33:50.706Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:33:50.996Z] ---> sudo-logs.sh [2022-05-10T12:33:50.996Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T12:33:51.020Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:33:51.303Z] ---> job-cost.sh [2022-05-10T12:33:51.303Z] lf-activate-venv: SKIPPING [2022-05-10T12:33:51.303Z] DEBUG: total: 0.2199999988079071 [2022-05-10T12:33:51.303Z] INFO: Retrieving Stack Cost... [2022-05-10T12:33:52.242Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T12:33:52.502Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T12:33:52.515Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:33:52.802Z] ---> logs-deploy.sh [2022-05-10T12:33:52.802Z] lf-activate-venv: SKIPPING [2022-05-10T12:33:52.802Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/39 [2022-05-10T12:33:52.802Z] INFO: archiving workspace using pattern(s): [2022-05-10T12:33:53.749Z] Archives upload complete. [2022-05-10T12:33:53.749Z] INFO: archiving logs to Nexus