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 12:13:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:13:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:13:55 ========================================================= 12:13:55 EdgeX Global Pipelines Version Info 12:13:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:13:56 ------------------- 12:13:56 stable info: 12:13:56 ------------------- 12:13:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:13:56 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 12:13:56 Message: update stable to v1.0.227 12:13:57 ------------------- 12:13:57 experimental info: 12:13:57 ------------------- 12:13:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:13:57 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 12:13:57 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b53a83 [Pipeline] echo 12:13:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:57 provisioning config files... 12:13:57 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config182635066284038600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:58 ---> docker-login.sh 12:13:58 nexus3.edgexfoundry.org:10001 12:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:58 Configure a credential helper to remove this warning. See 12:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:58 12:13:58 Login Succeeded 12:13:58 nexus3.edgexfoundry.org:10002 12:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:58 Configure a credential helper to remove this warning. See 12:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:58 12:13:58 Login Succeeded 12:13:58 nexus3.edgexfoundry.org:10003 12:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:59 Configure a credential helper to remove this warning. See 12:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:59 12:13:59 Login Succeeded 12:13:59 nexus3.edgexfoundry.org:10004 12:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:59 Configure a credential helper to remove this warning. See 12:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:59 12:13:59 Login Succeeded 12:13:59 docker.io 12:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:59 Configure a credential helper to remove this warning. See 12:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:59 12:13:59 Login Succeeded 12:13:59 ---> docker-login.sh ends [Pipeline] } 12:13:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:13:59 + git rev-list -1 --merges 9b53a838cf715098176e329c4fd19d0f7ded052f~1..9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] echo 12:14:00 -----------> git rev-list -1 --merges 9b53a838cf715098176e329c4fd19d0f7ded052f~1..9b53a838cf715098176e329c4fd19d0f7ded052f 9b53a838cf715098176e329c4fd19d0f7ded052f [false] [Pipeline] sh 12:14:00 + git log --format=format:%s -1 9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] echo 12:14:00 ========================================================= 12:14:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:14:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:14:00 + git log --format=format:%s -1 9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] echo 12:14:00 [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 12:14:00 [semverPrep] This is not a build commit. [Pipeline] sh 12:14:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:14:01 + grep -v github /etc/ssh/ssh_known_hosts 12:14:01 + [ -e /tmp/ssh_known_hosts ] 12:14:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:14:01 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:14:01 sudo tee -a /etc/ssh/ssh_known_hosts 12:14:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:14:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:14:01 12:14:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:14:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:14:01 latest: Pulling from edgex-devops/py-git-semver 12:14:01 1fe172e4850f: Pulling fs layer 12:14:01 caf521ccaac6: Pulling fs layer 12:14:01 3ead6fa29328: Pulling fs layer 12:14:01 5c2a1cbceb83: Pulling fs layer 12:14:01 a8d5f1318db7: Pulling fs layer 12:14:01 c427282e49a2: Pulling fs layer 12:14:01 1827001aaf11: Pulling fs layer 12:14:01 0714d37db230: Pulling fs layer 12:14:01 ac28cf19c067: Pulling fs layer 12:14:01 ca983d60f3e2: Pulling fs layer 12:14:01 9f894cec8388: Pulling fs layer 12:14:01 5c2a1cbceb83: Waiting 12:14:01 0714d37db230: Waiting 12:14:01 a8d5f1318db7: Waiting 12:14:01 1827001aaf11: Waiting 12:14:01 c427282e49a2: Waiting 12:14:01 ac28cf19c067: Waiting 12:14:01 ca983d60f3e2: Waiting 12:14:01 caf521ccaac6: Verifying Checksum 12:14:01 caf521ccaac6: Download complete 12:14:01 5c2a1cbceb83: Download complete 12:14:02 a8d5f1318db7: Verifying Checksum 12:14:02 a8d5f1318db7: Download complete 12:14:02 3ead6fa29328: Download complete 12:14:02 c427282e49a2: Download complete 12:14:02 0714d37db230: Verifying Checksum 12:14:02 0714d37db230: Download complete 12:14:02 ac28cf19c067: Verifying Checksum 12:14:02 ac28cf19c067: Download complete 12:14:02 ca983d60f3e2: Verifying Checksum 12:14:02 ca983d60f3e2: Download complete 12:14:02 9f894cec8388: Verifying Checksum 12:14:02 9f894cec8388: Download complete 12:14:02 1fe172e4850f: Download complete 12:14:02 1827001aaf11: Verifying Checksum 12:14:02 1827001aaf11: Download complete 12:14:03 1fe172e4850f: Pull complete 12:14:03 caf521ccaac6: Pull complete 12:14:04 3ead6fa29328: Pull complete 12:14:04 5c2a1cbceb83: Pull complete 12:14:04 a8d5f1318db7: Pull complete 12:14:04 c427282e49a2: Pull complete 12:14:06 1827001aaf11: Pull complete 12:14:06 0714d37db230: Pull complete 12:14:06 ac28cf19c067: Pull complete 12:14:06 ca983d60f3e2: Pull complete 12:14:06 9f894cec8388: Pull complete 12:14:06 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 12:14:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:14:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 12:14:07 prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container 12:14:07 $ 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 12:14:08 $ docker top 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 -eo pid,comm 12:14:08 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). 12:14:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:14:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:14:08 [ssh-agent] Looking for ssh-agent implementation... 12:14:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:14:08 $ docker exec 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 ssh-agent 12:14:08 SSH_AUTH_SOCK=/tmp/ssh-P2PF6XOu5eLD/agent.32 12:14:08 SSH_AGENT_PID=39 12:14:08 Running ssh-add (command line suppressed) 12:14:09 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) 12:14:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:14:09 + git tag --points-at HEAD [Pipeline] } 12:14:09 $ docker exec --env ******** --env ******** 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 ssh-agent -k 12:14:09 unset SSH_AUTH_SOCK; 12:14:09 unset SSH_AGENT_PID; 12:14:09 echo Agent pid 39 killed; 12:14:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:14:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:14:09 [ssh-agent] Looking for ssh-agent implementation... 12:14:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:14:09 $ docker exec 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 ssh-agent 12:14:09 SSH_AUTH_SOCK=/tmp/ssh-fMgJPeJDIyKk/agent.74 12:14:09 SSH_AGENT_PID=81 12:14:09 Running ssh-add (command line suppressed) 12:14:09 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) 12:14:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:14:10 + git semver init 12:14:10 2022-05-10 12:14:10,580 [run_init] DEBUG init version:0.0.0 force:False 12:14:10 2022-05-10 12:14:10,581 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 12:14:10 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 12:14:10 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) 12:14:11 2022-05-10 12:14:11,600 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 12:14:11 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 12:14:11 2022-05-10 12:14:11,600 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 12:14:11 2022-05-10 12:14:11,601 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 12:14:11 2.2.0-dev.17 [Pipeline] } 12:14:11 $ docker exec --env ******** --env ******** 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 ssh-agent -k 12:14:11 unset SSH_AUTH_SOCK; 12:14:11 unset SSH_AGENT_PID; 12:14:11 echo Agent pid 81 killed; 12:14:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:14:12 + git semver [Pipeline] } 12:14:12 $ docker stop --time=1 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 12:14:14 $ docker rm -f 7fec4b2f0940a5795b9bb442a905097410d8c03be005fa9f167a46f189db27c0 [Pipeline] // withDockerContainer [Pipeline] sh 12:14:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:14:14 Stashed 1 file(s) [Pipeline] echo 12:14:14 [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 12:14:14 provisioning config files... 12:14:14 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config536999732159748742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:14:15 ---> docker-login.sh 12:14:15 nexus3.edgexfoundry.org:10001 12:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:15 Configure a credential helper to remove this warning. See 12:14:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:15 12:14:15 Login Succeeded 12:14:15 nexus3.edgexfoundry.org:10002 12:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:15 Configure a credential helper to remove this warning. See 12:14:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:15 12:14:15 Login Succeeded 12:14:15 nexus3.edgexfoundry.org:10003 12:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:15 Configure a credential helper to remove this warning. See 12:14:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:15 12:14:15 Login Succeeded 12:14:15 nexus3.edgexfoundry.org:10004 12:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:15 Configure a credential helper to remove this warning. See 12:14:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:15 12:14:15 Login Succeeded 12:14:15 docker.io 12:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:16 Configure a credential helper to remove this warning. See 12:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:16 12:14:16 Login Succeeded 12:14:16 ---> docker-login.sh ends [Pipeline] } 12:14:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:14:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:14:16 ========================================================= 12:14:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:14:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:14:16 + 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 . 12:14:16 Sending build context to Docker daemon 10.62MB 12:14:16 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:14:16 Step 2/12 : FROM ${BASE} AS builder 12:14:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:14:16 59bf1c3509f3: Pulling fs layer 12:14:16 666ba61612fd: Pulling fs layer 12:14:16 8ed8ca486205: Pulling fs layer 12:14:16 4fe6c5a15a65: Pulling fs layer 12:14:16 22a0e8bec74d: Pulling fs layer 12:14:16 ca2b28591e48: Pulling fs layer 12:14:16 a51346096db8: Pulling fs layer 12:14:16 daebc70d1ce1: Pulling fs layer 12:14:16 0e18a0eac166: Pulling fs layer 12:14:16 4fe6c5a15a65: Waiting 12:14:16 22a0e8bec74d: Waiting 12:14:16 ca2b28591e48: Waiting 12:14:16 daebc70d1ce1: Waiting 12:14:16 0e18a0eac166: Waiting 12:14:16 a51346096db8: Waiting 12:14:16 8ed8ca486205: Verifying Checksum 12:14:16 8ed8ca486205: Download complete 12:14:16 666ba61612fd: Verifying Checksum 12:14:16 666ba61612fd: Download complete 12:14:16 22a0e8bec74d: Download complete 12:14:16 ca2b28591e48: Download complete 12:14:16 59bf1c3509f3: Verifying Checksum 12:14:16 59bf1c3509f3: Download complete 12:14:16 a51346096db8: Verifying Checksum 12:14:16 a51346096db8: Download complete 12:14:16 daebc70d1ce1: Verifying Checksum 12:14:16 daebc70d1ce1: Download complete 12:14:16 59bf1c3509f3: Pull complete 12:14:16 666ba61612fd: Pull complete 12:14:16 8ed8ca486205: Pull complete 12:14:17 0e18a0eac166: Verifying Checksum 12:14:17 0e18a0eac166: Download complete 12:14:17 4fe6c5a15a65: Verifying Checksum 12:14:17 4fe6c5a15a65: Download complete 12:14:21 4fe6c5a15a65: Pull complete 12:14:21 22a0e8bec74d: Pull complete 12:14:21 ca2b28591e48: Pull complete 12:14:21 a51346096db8: Pull complete 12:14:21 daebc70d1ce1: Pull complete 12:14:24 0e18a0eac166: Pull complete 12:14:24 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:14:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:14:24 ---> f018257e8ee9 12:14:24 Step 3/12 : ARG MAKE='make build' 12:14:25 ---> Running in 16267439c377 12:14:26 Removing intermediate container 16267439c377 12:14:26 ---> 6b01014d8ef7 12:14:26 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:14:26 ---> Running in 6d78e4863888 12:14:26 Removing intermediate container 6d78e4863888 12:14:26 ---> 38f73920427d 12:14:26 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:14:26 ---> Running in 58a4df9ec027 12:14:26 Removing intermediate container 58a4df9ec027 12:14:26 ---> c81faf9c5d25 12:14:26 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:14:26 ---> Running in 86a5ca69d32f 12:14:26 Removing intermediate container 86a5ca69d32f 12:14:26 ---> 3db2bdd77fd6 12:14:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:14:26 ---> Running in 3a60777d0113 12:14:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:14:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:14:28 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:14:28 (2/4) Installing libedit (20210910.3.1-r0) 12:14:28 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:14:28 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:14:28 Executing busybox-1.34.1-r3.trigger 12:14:28 OK: 224 MiB in 56 packages 12:14:29 Removing intermediate container 3a60777d0113 12:14:29 ---> 1c6ccc96f777 12:14:29 Step 8/12 : WORKDIR /device-rest-go 12:14:29 ---> Running in fe2847bfa5cf 12:14:29 Removing intermediate container fe2847bfa5cf 12:14:29 ---> c9bed0c5c1ba 12:14:29 Step 9/12 : COPY go.mod vendor* ./ 12:14:29 ---> 545c2b66a66c 12:14:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:14:29 Still waiting to schedule task 12:14:29 ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 12:14:29 ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 12:14:29 ‘prd-ubuntu20.04-docker-8c-8g-47570’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 12:14:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-47567’ is offline 12:14:30 ---> Running in 355152f9e1cb 12:14:44 Removing intermediate container 355152f9e1cb 12:14:44 ---> 9bf2c0d5e019 12:14:44 Step 11/12 : COPY . . 12:14:44 ---> 6a06aaf9f4b1 12:14:44 Step 12/12 : RUN $MAKE 12:14:44 ---> Running in 132cef4d6189 12:14:44 noop 12:14:45 Removing intermediate container 132cef4d6189 12:14:45 ---> d8ca7f1ca27d 12:14:45 Successfully built d8ca7f1ca27d 12:14:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:14:45 + docker inspect -f . ci-base-image-x86_64 12:14:45 . [Pipeline] withDockerContainer 12:14:45 prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container 12:14:45 $ 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 12:14:46 $ docker top 4f0871ce14b9b2d55bbd77fe2489d6375aa29f1e09a46aa470d8e3b505b16856 -eo pid,comm [Pipeline] { [Pipeline] sh 12:14:46 + go version 12:14:46 go version go1.17.6 linux/amd64 [Pipeline] } 12:14:46 $ docker stop --time=1 4f0871ce14b9b2d55bbd77fe2489d6375aa29f1e09a46aa470d8e3b505b16856 12:14:48 $ docker rm -f 4f0871ce14b9b2d55bbd77fe2489d6375aa29f1e09a46aa470d8e3b505b16856 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:14:48 + docker inspect -f . ci-base-image-x86_64 12:14:48 . [Pipeline] withDockerContainer 12:14:48 prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container 12:14:48 $ 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 12:14:49 $ docker top 3064d472191196a5d3779625f1ce1c026a738f271e4e981c0fe61ca8063305c7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:14:49 + make test 12:14:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:14:49 ? github.com/edgexfoundry/device-rest-go [no test files] 12:14:59 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 12:14:59 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements 12:15:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:15:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:15:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:15:11 ./bin/test-attribution-txt.sh [Pipeline] echo 12:15:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:15:11 $ docker stop --time=1 3064d472191196a5d3779625f1ce1c026a738f271e4e981c0fe61ca8063305c7 12:15:12 $ docker rm -f 3064d472191196a5d3779625f1ce1c026a738f271e4e981c0fe61ca8063305c7 [Pipeline] // withDockerContainer [Pipeline] sh 12:15:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:15:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:15:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:15:14 + ls -al . 12:15:14 total 172 12:15:14 drwxrwxr-x 9 jenkins jenkins 4096 May 10 12:15 . 12:15:14 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:13 .. 12:15:14 -rw-rw-r-- 1 jenkins jenkins 151 May 10 12:13 .dockerignore 12:15:14 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:14 .git 12:15:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:13 .github 12:15:14 -rw-rw-r-- 1 jenkins jenkins 329 May 10 12:13 .gitignore 12:15:14 -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:13 .golangci.yml 12:15:14 drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:14 .semver 12:15:14 -rw-rw-r-- 1 jenkins jenkins 8463 May 10 12:13 Attribution.txt 12:15:14 -rw-rw-r-- 1 jenkins jenkins 11736 May 10 12:13 CHANGELOG.md 12:15:14 -rw-rw-r-- 1 jenkins jenkins 1672 May 10 12:13 Dockerfile 12:15:14 -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:13 GOVERNANCE.md 12:15:14 -rw-rw-r-- 1 jenkins jenkins 680 May 10 12:13 Jenkinsfile 12:15:14 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:13 LICENSE 12:15:14 -rw-rw-r-- 1 jenkins jenkins 1977 May 10 12:13 Makefile 12:15:14 -rw-rw-r-- 1 jenkins jenkins 620 May 10 12:13 OWNERS.md 12:15:14 -rw-rw-r-- 1 jenkins jenkins 8003 May 10 12:13 README.md 12:15:14 -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:14 VERSION 12:15:14 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:13 bin 12:15:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:13 cmd 12:15:14 -rw-r--r-- 1 jenkins jenkins 9355 May 10 12:14 coverage.out 12:15:14 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:13 driver 12:15:14 -rw-rw-r-- 1 jenkins jenkins 3333 May 10 12:13 go.mod 12:15:14 -rw-rw-r-- 1 jenkins jenkins 35377 May 10 12:13 go.sum 12:15:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:13 snap 12:15:14 -rw-rw-r-- 1 jenkins jenkins 713 May 10 12:13 version.go [Pipeline] isUnix [Pipeline] sh 12:15:14 + 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 . 12:15:14 Sending build context to Docker daemon 10.63MB 12:15:14 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 12:15:14 Step 2/25 : FROM ${BASE} AS builder 12:15:14 ---> d8ca7f1ca27d 12:15:14 Step 3/25 : ARG MAKE='make build' 12:15:14 ---> Running in 35e442907a11 12:15:14 Removing intermediate container 35e442907a11 12:15:14 ---> 4f95238eb676 12:15:14 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:15:14 ---> Running in e2294dc06a54 12:15:14 Removing intermediate container e2294dc06a54 12:15:14 ---> ebbeffe7f4b4 12:15:14 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 12:15:14 ---> Running in 63bcdc91e015 12:15:15 Removing intermediate container 63bcdc91e015 12:15:15 ---> 2d12911aa846 12:15:15 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:15:15 ---> Running in cdf27a0ca442 12:15:15 Removing intermediate container cdf27a0ca442 12:15:15 ---> 5424d50e1b38 12:15:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:15:15 ---> Running in 2f4010c7320a 12:15:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:15:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:15:17 OK: 224 MiB in 56 packages 12:15:17 Removing intermediate container 2f4010c7320a 12:15:17 ---> a5253b8f5d8d 12:15:17 Step 8/25 : WORKDIR /device-rest-go 12:15:17 ---> Running in 1674c4f3dace 12:15:17 Removing intermediate container 1674c4f3dace 12:15:17 ---> c1b774c599a4 12:15:17 Step 9/25 : COPY go.mod vendor* ./ 12:15:17 ---> 5bf0e2852a0b 12:15:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:15:17 ---> Running in b2da310558d3 12:15:18 Removing intermediate container b2da310558d3 12:15:18 ---> 3b2de57ada54 12:15:18 Step 11/25 : COPY . . 12:15:18 ---> a8d3ee407dcc 12:15:18 Step 12/25 : RUN $MAKE 12:15:18 ---> Running in 6d0c82f99a3f 12:15:19 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 12:15:41 Removing intermediate container 6d0c82f99a3f 12:15:41 ---> d92e6e884b57 12:15:41 Step 13/25 : FROM alpine:3.14 12:15:41 3.14: Pulling from library/alpine 12:15:41 8663204ce13b: Pulling fs layer 12:15:41 8663204ce13b: Download complete 12:15:41 8663204ce13b: Pull complete 12:15:41 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:15:41 Status: Downloaded newer image for alpine:3.14 12:15:41 ---> e04c818066af 12:15:41 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:15:41 ---> Running in c94aa164c8e1 12:15:41 Removing intermediate container c94aa164c8e1 12:15:41 ---> 5d85c818a69c 12:15:41 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 12:15:41 ---> Running in 64055e9718f6 12:15:41 Removing intermediate container 64055e9718f6 12:15:41 ---> 5d134aa81ddd 12:15:41 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 12:15:41 ---> Running in dfd3aec34564 12:15:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:15:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:15:41 (1/6) Installing dumb-init (1.2.5-r1) 12:15:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:15:41 (3/6) Installing libsodium (1.0.18-r0) 12:15:41 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:15:41 (5/6) Installing libzmq (4.3.4-r0) 12:15:41 (6/6) Installing zeromq (4.3.4-r0) 12:15:41 Executing busybox-1.33.1-r7.trigger 12:15:41 OK: 8 MiB in 20 packages 12:15:42 Removing intermediate container dfd3aec34564 12:15:42 ---> 2464df416436 12:15:42 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 12:15:42 ---> 945fdecdd2ee 12:15:42 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 12:15:42 ---> 205126995c9e 12:15:42 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 12:15:43 ---> bbff26d232f4 12:15:43 Step 20/25 : EXPOSE 59986 12:15:43 ---> Running in 79d4fc98fae1 12:15:43 Removing intermediate container 79d4fc98fae1 12:15:43 ---> eac8e629f892 12:15:43 Step 21/25 : ENTRYPOINT ["/device-rest"] 12:15:43 ---> Running in 109daa5eed38 12:15:43 Removing intermediate container 109daa5eed38 12:15:43 ---> 7063826cffad 12:15:43 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 12:15:43 ---> Running in 58e3c97d8649 12:15:43 Removing intermediate container 58e3c97d8649 12:15:43 ---> c5bd554d55a7 12:15:43 Step 23/25 : LABEL arch=amd64 12:15:43 ---> Running in 02603b6c8546 12:15:43 Removing intermediate container 02603b6c8546 12:15:43 ---> 210baaad4b74 12:15:43 Step 24/25 : LABEL git_sha=9b53a838cf715098176e329c4fd19d0f7ded052f 12:15:43 ---> Running in ef98ba62821d 12:15:43 Removing intermediate container ef98ba62821d 12:15:43 ---> 04407c55145d 12:15:43 Step 25/25 : LABEL version=2.2.0-dev.17 12:15:43 ---> Running in d7e6d0ad3205 12:15:44 Removing intermediate container d7e6d0ad3205 12:15:44 ---> cffac79335f4 12:15:44 [Warning] One or more build-args [ARCH] were not consumed 12:15:44 Successfully built cffac79335f4 12:15:44 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:15:44 provisioning config files... 12:15:44 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4086811345973438563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:15:44 ---> docker-login.sh 12:15:44 nexus3.edgexfoundry.org:10001 12:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:44 Configure a credential helper to remove this warning. See 12:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:44 12:15:44 Login Succeeded 12:15:44 nexus3.edgexfoundry.org:10002 12:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:44 Configure a credential helper to remove this warning. See 12:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:44 12:15:44 Login Succeeded 12:15:44 nexus3.edgexfoundry.org:10003 12:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:44 Configure a credential helper to remove this warning. See 12:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:44 12:15:44 Login Succeeded 12:15:44 nexus3.edgexfoundry.org:10004 12:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:45 Configure a credential helper to remove this warning. See 12:15:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:45 12:15:45 Login Succeeded 12:15:45 docker.io 12:15:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:45 Configure a credential helper to remove this warning. See 12:15:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:45 12:15:45 Login Succeeded 12:15:45 ---> docker-login.sh ends [Pipeline] } 12:15:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:15:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:15:45 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 12:15:45 9b53a838cf715098176e329c4fd19d0f7ded052f 12:15:45 latest 12:15:45 2.2.0-dev.17 12:15:45 9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 12:15:45 main 12:15:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:15:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] isUnix [Pipeline] sh 12:15:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:9b53a838cf715098176e329c4fd19d0f7ded052f 12:15:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 12:15:46 5024e5df4596: Preparing 12:15:46 4ac34fcd88e7: Preparing 12:15:46 b4b116c92567: Preparing 12:15:46 b66b09f50090: Preparing 12:15:46 b541d28bf3b4: Preparing 12:15:46 b541d28bf3b4: Layer already exists 12:15:46 4ac34fcd88e7: Pushed 12:15:46 5024e5df4596: Pushed 12:15:46 b66b09f50090: Pushed 12:15:48 b4b116c92567: Pushed 12:15:48 9b53a838cf715098176e329c4fd19d0f7ded052f: digest: sha256:8a71301ded6c45f30f33e95ce067b95dfffacccc6256f7064f4b7506ca90ce77 size: 1367 [Pipeline] isUnix [Pipeline] sh 12:15:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 12:15:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 12:15:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 12:15:49 5024e5df4596: Preparing 12:15:49 4ac34fcd88e7: Preparing 12:15:49 b4b116c92567: Preparing 12:15:49 b66b09f50090: Preparing 12:15:49 b541d28bf3b4: Preparing 12:15:49 5024e5df4596: Layer already exists 12:15:49 b541d28bf3b4: Layer already exists 12:15:49 b4b116c92567: Layer already exists 12:15:49 4ac34fcd88e7: Layer already exists 12:15:49 b66b09f50090: Layer already exists 12:15:49 latest: digest: sha256:8a71301ded6c45f30f33e95ce067b95dfffacccc6256f7064f4b7506ca90ce77 size: 1367 [Pipeline] isUnix [Pipeline] sh 12:15:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 12:15:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.17 12:15:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 12:15:49 5024e5df4596: Preparing 12:15:49 4ac34fcd88e7: Preparing 12:15:49 b4b116c92567: Preparing 12:15:49 b66b09f50090: Preparing 12:15:49 b541d28bf3b4: Preparing 12:15:49 b541d28bf3b4: Layer already exists 12:15:49 b4b116c92567: Layer already exists 12:15:49 4ac34fcd88e7: Layer already exists 12:15:49 5024e5df4596: Layer already exists 12:15:49 b66b09f50090: Layer already exists 12:15:49 2.2.0-dev.17: digest: sha256:8a71301ded6c45f30f33e95ce067b95dfffacccc6256f7064f4b7506ca90ce77 size: 1367 [Pipeline] isUnix [Pipeline] sh 12:15:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 12:15:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 12:15:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 12:15:50 5024e5df4596: Preparing 12:15:50 4ac34fcd88e7: Preparing 12:15:50 b4b116c92567: Preparing 12:15:50 b66b09f50090: Preparing 12:15:50 b541d28bf3b4: Preparing 12:15:50 b541d28bf3b4: Layer already exists 12:15:50 b66b09f50090: Layer already exists 12:15:50 b4b116c92567: Layer already exists 12:15:50 4ac34fcd88e7: Layer already exists 12:15:50 5024e5df4596: Layer already exists 12:15:50 9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17: digest: sha256:8a71301ded6c45f30f33e95ce067b95dfffacccc6256f7064f4b7506ca90ce77 size: 1367 [Pipeline] isUnix [Pipeline] sh 12:15:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 12:15:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 12:15:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 12:15:50 5024e5df4596: Preparing 12:15:50 4ac34fcd88e7: Preparing 12:15:50 b4b116c92567: Preparing 12:15:50 b66b09f50090: Preparing 12:15:50 b541d28bf3b4: Preparing 12:15:50 b66b09f50090: Layer already exists 12:15:50 4ac34fcd88e7: Layer already exists 12:15:50 b4b116c92567: Layer already exists 12:15:50 5024e5df4596: Layer already exists 12:15:50 b541d28bf3b4: Layer already exists 12:15:50 main: digest: sha256:8a71301ded6c45f30f33e95ce067b95dfffacccc6256f7064f4b7506ca90ce77 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:15:51 ===================================================== [Pipeline] echo 12:15:51 taggedImages: 12:15:51 - nexus3.edgexfoundry.org:10004/device-rest:9b53a838cf715098176e329c4fd19d0f7ded052f 12:15:51 - nexus3.edgexfoundry.org:10004/device-rest:latest 12:15:51 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.17 12:15:51 - nexus3.edgexfoundry.org:10004/device-rest:9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 12:15:51 - 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 12:15:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:15:51 12:15:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:15:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:15:51 latest: Pulling from edgex-lftools-log-publisher 12:15:51 5eb5b503b376: Pulling fs layer 12:15:51 5c69ac0246d0: Pulling fs layer 12:15:51 ec43610c2a17: Pulling fs layer 12:15:51 3a2ae6a8a46f: Pulling fs layer 12:15:51 33b1e0a273af: Pulling fs layer 12:15:51 5d3b04190fa2: Pulling fs layer 12:15:51 2f39f015ded8: Pulling fs layer 12:15:51 3a2ae6a8a46f: Waiting 12:15:51 33b1e0a273af: Waiting 12:15:51 5d3b04190fa2: Waiting 12:15:51 2f39f015ded8: Waiting 12:15:51 5c69ac0246d0: Download complete 12:15:51 3a2ae6a8a46f: Download complete 12:15:51 ec43610c2a17: Verifying Checksum 12:15:51 ec43610c2a17: Download complete 12:15:51 33b1e0a273af: Verifying Checksum 12:15:51 33b1e0a273af: Download complete 12:15:51 5d3b04190fa2: Verifying Checksum 12:15:51 5d3b04190fa2: Download complete 12:15:52 5eb5b503b376: Verifying Checksum 12:15:52 5eb5b503b376: Download complete 12:15:53 5eb5b503b376: Pull complete 12:15:53 5c69ac0246d0: Pull complete 12:15:54 ec43610c2a17: Pull complete 12:15:54 3a2ae6a8a46f: Pull complete 12:15:54 33b1e0a273af: Pull complete 12:15:54 5d3b04190fa2: Pull complete 12:15:59 2f39f015ded8: Pull complete 12:15:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:15:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:15:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:15:59 prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container 12:15:59 $ 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 12:16:01 $ docker top ac8163cb673ed6904bd274723c953f4d177f8d7d92ade108ea45096777b1df35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:16:02 ---> job-cost.sh 12:16:02 lf-activate-venv: SKIPPING 12:16:02 INFO: No Stack... 12:16:02 INFO: Retrieving Pricing Info for: v3-standard-8 12:16:02 INFO: Archiving Costs [Pipeline] sh 12:16:03 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 12:16:03 + cut -d, -f6 [Pipeline] lock 12:16:03 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] 12:16:03 Resource [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] did not exist. Created. 12:16:03 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:16:03 + echo total: 0.2199999988079071 [Pipeline] stash 12:16:03 Stashed 1 file(s) [Pipeline] } 12:16:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] [Pipeline] // lock [Pipeline] } 12:16:03 $ docker stop --time=1 ac8163cb673ed6904bd274723c953f4d177f8d7d92ade108ea45096777b1df35 12:16:04 $ docker rm -f ac8163cb673ed6904bd274723c953f4d177f8d7d92ade108ea45096777b1df35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:24:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47723 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 12:24:57 Running in /w/workspace/device-rest-go/39 [Pipeline] { [Pipeline] checkout 12:24:58 The recommended git tool is: git 12:25:06 using credential edgex-jenkins-ssh 12:25:06 Cloning the remote Git repository 12:25:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 12:25:06 > git init /w/workspace/device-rest-go/39 # timeout=10 12:25:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 12:25:06 > git --version # timeout=10 12:25:06 > git --version # 'git version 2.25.1' 12:25:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:25:09 Avoid second fetch 12:25:09 Checking out Revision 9b53a838cf715098176e329c4fd19d0f7ded052f (main) 12:25:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 12:25:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:25:09 > git config core.sparsecheckout # timeout=10 12:25:09 > git checkout -f 9b53a838cf715098176e329c4fd19d0f7ded052f # timeout=10 12:25:13 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 12:25:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:25:14 % Total % Received % Xferd Average Speed Time Time Time Current 12:25:14 Dload Upload Total Spent Left Speed 12:25:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 92523 0 --:--:-- --:--:-- --:--:-- 92523 [Pipeline] sh 12:25:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:25:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:25:15 + sudo tee /etc/docker/daemon.new 12:25:15 { 12:25:15 "registry-mirrors": [ 12:25:15 "https://nexus3.edgexfoundry.org:10001" 12:25:15 ], 12:25:15 "bip": "10.250.0.254/24", 12:25:15 "hosts": [ 12:25:15 "tcp://0.0.0.0:5555", 12:25:15 "unix:///var/run/docker.sock" 12:25:15 ], 12:25:15 "mtu": 1458, 12:25:15 "selinux-enabled": true, 12:25:15 "seccomp-profile": "/etc/docker/seccomp.json" 12:25:15 } [Pipeline] sh 12:25:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:25:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:25:34 provisioning config files... 12:25:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/39@tmp/config1047093946449670516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:25:34 ---> docker-login.sh 12:25:34 nexus3.edgexfoundry.org:10001 12:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:35 Configure a credential helper to remove this warning. See 12:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:35 12:25:35 Login Succeeded 12:25:35 nexus3.edgexfoundry.org:10002 12:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:36 Configure a credential helper to remove this warning. See 12:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:36 12:25:36 Login Succeeded 12:25:36 nexus3.edgexfoundry.org:10003 12:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:37 Configure a credential helper to remove this warning. See 12:25:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:37 12:25:37 Login Succeeded 12:25:37 nexus3.edgexfoundry.org:10004 12:25:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:37 Configure a credential helper to remove this warning. See 12:25:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:37 12:25:37 Login Succeeded 12:25:37 docker.io 12:25:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:38 Configure a credential helper to remove this warning. See 12:25:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:38 12:25:38 Login Succeeded 12:25:38 ---> docker-login.sh ends [Pipeline] } 12:25:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:25:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:25:38 ========================================================= 12:25:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:25:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:25:39 + 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 . 12:25:39 Sending build context to Docker daemon 128.5kB 12:25:39 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:25:39 Step 2/12 : FROM ${BASE} AS builder 12:25:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:25:39 9b3977197b4f: Pulling fs layer 12:25:39 1a89e8eeedd5: Pulling fs layer 12:25:39 94645a83ff95: Pulling fs layer 12:25:39 3f3a8bcf1eab: Pulling fs layer 12:25:39 0c92f367c5e7: Pulling fs layer 12:25:39 3096ccb668a1: Pulling fs layer 12:25:39 e8cf19c19ddd: Pulling fs layer 12:25:39 a4caa8a26152: Pulling fs layer 12:25:39 3f3a8bcf1eab: Waiting 12:25:39 3096ccb668a1: Waiting 12:25:39 0c92f367c5e7: Waiting 12:25:39 e8cf19c19ddd: Waiting 12:25:39 a4caa8a26152: Waiting 12:25:39 94645a83ff95: Verifying Checksum 12:25:39 94645a83ff95: Download complete 12:25:39 1a89e8eeedd5: Verifying Checksum 12:25:39 1a89e8eeedd5: Download complete 12:25:39 0c92f367c5e7: Download complete 12:25:39 3096ccb668a1: Download complete 12:25:39 e8cf19c19ddd: Download complete 12:25:39 9b3977197b4f: Verifying Checksum 12:25:40 9b3977197b4f: Pull complete 12:25:41 1a89e8eeedd5: Pull complete 12:25:41 94645a83ff95: Pull complete 12:25:42 a4caa8a26152: Verifying Checksum 12:25:42 a4caa8a26152: Download complete 12:25:42 3f3a8bcf1eab: Verifying Checksum 12:25:42 3f3a8bcf1eab: Download complete 12:25:55 3f3a8bcf1eab: Pull complete 12:25:55 0c92f367c5e7: Pull complete 12:25:55 3096ccb668a1: Pull complete 12:25:55 e8cf19c19ddd: Pull complete 12:26:01 a4caa8a26152: Pull complete 12:26:01 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:26:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:26:01 ---> 725f1c02e7f9 12:26:01 Step 3/12 : ARG MAKE='make build' 12:26:01 ---> Running in 88ea8caa5f74 12:26:02 Removing intermediate container 88ea8caa5f74 12:26:02 ---> 7e8b326cd545 12:26:02 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:26:02 ---> Running in d3f4b033e414 12:26:02 Removing intermediate container d3f4b033e414 12:26:02 ---> 54e71b5edfb2 12:26:02 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:26:02 ---> Running in 2d6a0646b179 12:26:03 Removing intermediate container 2d6a0646b179 12:26:03 ---> 34577f86642f 12:26:03 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:26:03 ---> Running in 18968e9af6ef 12:26:05 Removing intermediate container 18968e9af6ef 12:26:05 ---> aca942e767e2 12:26:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:26:05 ---> Running in f42210690158 12:26:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:26:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:26:08 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:26:08 (2/4) Installing libedit (20210910.3.1-r0) 12:26:08 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:26:08 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:26:09 Executing busybox-1.34.1-r3.trigger 12:26:09 OK: 224 MiB in 56 packages 12:26:10 Removing intermediate container f42210690158 12:26:10 ---> 51b7a3a7f420 12:26:10 Step 8/12 : WORKDIR /device-rest-go 12:26:10 ---> Running in 8ec6027482b7 12:26:10 Removing intermediate container 8ec6027482b7 12:26:10 ---> 67de5fb1d8f9 12:26:10 Step 9/12 : COPY go.mod vendor* ./ 12:26:11 ---> e77e55e2f18b 12:26:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:26:11 ---> Running in e70e94aee9a8 12:27:08 Removing intermediate container e70e94aee9a8 12:27:08 ---> 5a915e63f537 12:27:08 Step 11/12 : COPY . . 12:27:08 ---> 982393046033 12:27:08 Step 12/12 : RUN $MAKE 12:27:08 ---> Running in 8ee3c4ff30fd 12:27:08 noop 12:27:08 Removing intermediate container 8ee3c4ff30fd 12:27:08 ---> 4909a11f53da 12:27:08 Successfully built 4909a11f53da 12:27:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:27:08 + docker inspect -f . ci-base-image-arm64 12:27:08 . [Pipeline] withDockerContainer 12:27:08 prd-ubuntu20.04-docker-arm64-4c-16g-47723 does not seem to be running inside a container 12:27:08 $ 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 12:27:10 $ docker top 055d8b747223e4f31ff86fad83d3c79a7d90c3460498a3787d82e16f778ab1ab -eo pid,comm [Pipeline] { [Pipeline] sh 12:27:11 + go version 12:27:11 go version go1.17.6 linux/arm64 [Pipeline] } 12:27:11 $ docker stop --time=1 055d8b747223e4f31ff86fad83d3c79a7d90c3460498a3787d82e16f778ab1ab 12:27:13 $ docker rm -f 055d8b747223e4f31ff86fad83d3c79a7d90c3460498a3787d82e16f778ab1ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:27:13 + docker inspect -f . ci-base-image-arm64 12:27:13 . [Pipeline] withDockerContainer 12:27:13 prd-ubuntu20.04-docker-arm64-4c-16g-47723 does not seem to be running inside a container 12:27:14 $ 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 12:27:15 $ docker top afa1ec33cac316c4cf6e5cae841c67ec1c8bef1e068782d3d29af16d36f3f821 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:27:16 + make test 12:27:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:27:18 ? github.com/edgexfoundry/device-rest-go [no test files] 12:28:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 12:28:55 ok github.com/edgexfoundry/device-rest-go/driver 0.078s coverage: 55.2% of statements 12:28:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:28:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:29:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:29:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:29:22 ./bin/test-attribution-txt.sh [Pipeline] echo 12:29:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:29:25 $ docker stop --time=1 afa1ec33cac316c4cf6e5cae841c67ec1c8bef1e068782d3d29af16d36f3f821 12:29:27 $ docker rm -f afa1ec33cac316c4cf6e5cae841c67ec1c8bef1e068782d3d29af16d36f3f821 [Pipeline] // withDockerContainer [Pipeline] sh 12:29:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:29:28 Warning: overwriting stash ‘coverage-report’ 12:29:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:29:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:29:29 + ls -al . 12:29:29 total 168 12:29:29 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:29 . 12:29:29 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:25 .. 12:29:29 -rw-rw-r-- 1 jenkins jenkins 151 May 10 12:25 .dockerignore 12:29:29 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:25 .git 12:29:29 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 .github 12:29:29 -rw-rw-r-- 1 jenkins jenkins 329 May 10 12:25 .gitignore 12:29:29 -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:25 .golangci.yml 12:29:29 -rw-rw-r-- 1 jenkins jenkins 8463 May 10 12:25 Attribution.txt 12:29:29 -rw-rw-r-- 1 jenkins jenkins 11736 May 10 12:25 CHANGELOG.md 12:29:29 -rw-rw-r-- 1 jenkins jenkins 1672 May 10 12:25 Dockerfile 12:29:29 -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:25 GOVERNANCE.md 12:29:29 -rw-rw-r-- 1 jenkins jenkins 680 May 10 12:25 Jenkinsfile 12:29:29 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:25 LICENSE 12:29:29 -rw-rw-r-- 1 jenkins jenkins 1977 May 10 12:25 Makefile 12:29:29 -rw-rw-r-- 1 jenkins jenkins 620 May 10 12:25 OWNERS.md 12:29:29 -rw-rw-r-- 1 jenkins jenkins 8003 May 10 12:25 README.md 12:29:29 -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:14 VERSION 12:29:29 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:25 bin 12:29:29 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 cmd 12:29:29 -rw-r--r-- 1 jenkins jenkins 9355 May 10 12:28 coverage.out 12:29:29 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:25 driver 12:29:29 -rw-rw-r-- 1 jenkins jenkins 3333 May 10 12:25 go.mod 12:29:29 -rw-rw-r-- 1 jenkins jenkins 35377 May 10 12:25 go.sum 12:29:29 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 snap 12:29:29 -rw-rw-r-- 1 jenkins jenkins 713 May 10 12:25 version.go [Pipeline] isUnix [Pipeline] sh 12:29:30 + 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 . 12:29:30 Sending build context to Docker daemon 138.8kB 12:29:30 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 12:29:30 Step 2/25 : FROM ${BASE} AS builder 12:29:30 ---> 4909a11f53da 12:29:30 Step 3/25 : ARG MAKE='make build' 12:29:30 ---> Running in 95fb739ac89e 12:29:30 Removing intermediate container 95fb739ac89e 12:29:30 ---> a8a19d096ade 12:29:30 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:29:30 ---> Running in f49e4ab1f105 12:29:31 Removing intermediate container f49e4ab1f105 12:29:31 ---> 5cc8353e9803 12:29:31 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 12:29:31 ---> Running in d5aa3e5765bc 12:29:31 Removing intermediate container d5aa3e5765bc 12:29:31 ---> d665ec810fd5 12:29:31 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:29:31 ---> Running in 0c40342265a4 12:29:33 Removing intermediate container 0c40342265a4 12:29:33 ---> 8c39414492f1 12:29:33 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:29:33 ---> Running in 5d84364a070a 12:29:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:29:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:29:36 OK: 224 MiB in 56 packages 12:29:36 Removing intermediate container 5d84364a070a 12:29:36 ---> 348de23c9c53 12:29:36 Step 8/25 : WORKDIR /device-rest-go 12:29:36 ---> Running in 7c962b428f24 12:29:37 Removing intermediate container 7c962b428f24 12:29:37 ---> 02afedc382c0 12:29:37 Step 9/25 : COPY go.mod vendor* ./ 12:29:37 ---> 0b0db3b2c900 12:29:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:29:38 ---> Running in d7d686d408b0 12:29:40 Removing intermediate container d7d686d408b0 12:29:40 ---> 013c96bdb7be 12:29:40 Step 11/25 : COPY . . 12:29:40 ---> 4312bb12a18d 12:29:40 Step 12/25 : RUN $MAKE 12:29:40 ---> Running in 8c74d5607564 12:29:41 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 12:32:03 Removing intermediate container 8c74d5607564 12:32:03 ---> 2aedd3b51f99 12:32:03 Step 13/25 : FROM alpine:3.14 12:32:03 3.14: Pulling from library/alpine 12:32:03 455c02918c45: Pulling fs layer 12:32:03 455c02918c45: Verifying Checksum 12:32:03 455c02918c45: Download complete 12:32:03 455c02918c45: Pull complete 12:32:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:32:03 Status: Downloaded newer image for alpine:3.14 12:32:03 ---> ac73e934f311 12:32:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:32:03 ---> Running in 62ecbbf6ccd2 12:32:03 Removing intermediate container 62ecbbf6ccd2 12:32:03 ---> eaf0df2e7cb4 12:32:03 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 12:32:03 ---> Running in f54ccb6700b1 12:32:03 Removing intermediate container f54ccb6700b1 12:32:03 ---> f90027d7ac36 12:32:03 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 12:32:03 ---> Running in aadf8a169c2b 12:32:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:32:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:32:03 (1/6) Installing dumb-init (1.2.5-r1) 12:32:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:32:03 (3/6) Installing libsodium (1.0.18-r0) 12:32:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:32:03 (5/6) Installing libzmq (4.3.4-r0) 12:32:03 (6/6) Installing zeromq (4.3.4-r0) 12:32:03 Executing busybox-1.33.1-r7.trigger 12:32:03 OK: 8 MiB in 20 packages 12:32:03 Removing intermediate container aadf8a169c2b 12:32:03 ---> db5c3b5b8db3 12:32:03 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 12:32:03 ---> 495ab75da622 12:32:03 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 12:32:03 ---> 3f17ed4d8174 12:32:03 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 12:32:03 ---> 42160d6ac4be 12:32:03 Step 20/25 : EXPOSE 59986 12:32:03 ---> Running in 85b9c7663d77 12:32:03 Removing intermediate container 85b9c7663d77 12:32:03 ---> 11e5daec245a 12:32:03 Step 21/25 : ENTRYPOINT ["/device-rest"] 12:32:03 ---> Running in 254697b05440 12:32:03 Removing intermediate container 254697b05440 12:32:03 ---> de4866039afd 12:32:03 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 12:32:03 ---> Running in 621272a1ce47 12:32:03 Removing intermediate container 621272a1ce47 12:32:03 ---> 7f7032560bc8 12:32:03 Step 23/25 : LABEL arch=arm64 12:32:03 ---> Running in fac3c81535c2 12:32:03 Removing intermediate container fac3c81535c2 12:32:03 ---> ed2887aaa773 12:32:03 Step 24/25 : LABEL git_sha=9b53a838cf715098176e329c4fd19d0f7ded052f 12:32:03 ---> Running in 159f4ca5a6ef 12:32:03 Removing intermediate container 159f4ca5a6ef 12:32:03 ---> c77ad8b564f3 12:32:03 Step 25/25 : LABEL version=2.2.0-dev.17 12:32:03 ---> Running in da180af9a136 12:32:03 Removing intermediate container da180af9a136 12:32:03 ---> 5e8249b45f01 12:32:03 [Warning] One or more build-args [ARCH] were not consumed 12:32:03 Successfully built 5e8249b45f01 12:32:03 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 12:32:03 provisioning config files... 12:32:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/39@tmp/config2020698032383220419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:32:04 ---> docker-login.sh 12:32:04 nexus3.edgexfoundry.org:10001 12:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:32:04 Configure a credential helper to remove this warning. See 12:32:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:32:04 12:32:04 Login Succeeded 12:32:04 nexus3.edgexfoundry.org:10002 12:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:32:04 Configure a credential helper to remove this warning. See 12:32:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:32:04 12:32:04 Login Succeeded 12:32:04 nexus3.edgexfoundry.org:10003 12:32:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:32:05 Configure a credential helper to remove this warning. See 12:32:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:32:05 12:32:05 Login Succeeded 12:32:05 nexus3.edgexfoundry.org:10004 12:32:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:32:06 Configure a credential helper to remove this warning. See 12:32:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:32:06 12:32:06 Login Succeeded 12:32:06 docker.io 12:32:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:32:06 Configure a credential helper to remove this warning. See 12:32:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:32:06 12:32:06 Login Succeeded 12:32:06 ---> docker-login.sh ends [Pipeline] } 12:32:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:32:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:32:07 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 12:32:07 9b53a838cf715098176e329c4fd19d0f7ded052f 12:32:07 latest 12:32:07 2.2.0-dev.17 12:32:07 9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 12:32:07 main 12:32:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:32:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] isUnix [Pipeline] sh 12:32:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53a838cf715098176e329c4fd19d0f7ded052f 12:32:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 12:32:07 5e11febf7b26: Preparing 12:32:07 7ad2a72522e0: Preparing 12:32:07 26d13d391491: Preparing 12:32:07 035afcb31ca0: Preparing 12:32:07 f73e7dbfee58: Preparing 12:32:07 f73e7dbfee58: Layer already exists 12:32:08 7ad2a72522e0: Pushed 12:32:08 5e11febf7b26: Pushed 12:32:08 035afcb31ca0: Pushed 12:32:15 26d13d391491: Pushed 12:32:15 9b53a838cf715098176e329c4fd19d0f7ded052f: digest: sha256:1c7c849cc3f57847cf7fb80322db8e4c35603ef8b152fb652ee574e3f94429b0 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:32:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:32:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 12:32:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 12:32:16 5e11febf7b26: Preparing 12:32:16 7ad2a72522e0: Preparing 12:32:16 26d13d391491: Preparing 12:32:16 035afcb31ca0: Preparing 12:32:16 f73e7dbfee58: Preparing 12:32:16 26d13d391491: Layer already exists 12:32:16 f73e7dbfee58: Layer already exists 12:32:16 7ad2a72522e0: Layer already exists 12:32:16 035afcb31ca0: Layer already exists 12:32:16 5e11febf7b26: Layer already exists 12:32:16 latest: digest: sha256:1c7c849cc3f57847cf7fb80322db8e4c35603ef8b152fb652ee574e3f94429b0 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:32:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 12:32:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.17 12:32:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 12:32:17 5e11febf7b26: Preparing 12:32:17 7ad2a72522e0: Preparing 12:32:17 26d13d391491: Preparing 12:32:17 035afcb31ca0: Preparing 12:32:17 f73e7dbfee58: Preparing 12:32:17 f73e7dbfee58: Layer already exists 12:32:17 035afcb31ca0: Layer already exists 12:32:17 26d13d391491: Layer already exists 12:32:17 7ad2a72522e0: Layer already exists 12:32:17 5e11febf7b26: Layer already exists 12:32:17 2.2.0-dev.17: digest: sha256:1c7c849cc3f57847cf7fb80322db8e4c35603ef8b152fb652ee574e3f94429b0 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:32:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 12:32:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 12:32:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 12:32:18 5e11febf7b26: Preparing 12:32:18 7ad2a72522e0: Preparing 12:32:18 26d13d391491: Preparing 12:32:18 035afcb31ca0: Preparing 12:32:18 f73e7dbfee58: Preparing 12:32:18 f73e7dbfee58: Layer already exists 12:32:18 035afcb31ca0: Layer already exists 12:32:18 7ad2a72522e0: Layer already exists 12:32:18 5e11febf7b26: Layer already exists 12:32:18 26d13d391491: Layer already exists 12:32:18 9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17: digest: sha256:1c7c849cc3f57847cf7fb80322db8e4c35603ef8b152fb652ee574e3f94429b0 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:32:18 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 12:32:19 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 12:32:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 12:32:19 5e11febf7b26: Preparing 12:32:19 7ad2a72522e0: Preparing 12:32:19 26d13d391491: Preparing 12:32:19 035afcb31ca0: Preparing 12:32:19 f73e7dbfee58: Preparing 12:32:19 f73e7dbfee58: Layer already exists 12:32:19 7ad2a72522e0: Layer already exists 12:32:19 5e11febf7b26: Layer already exists 12:32:19 035afcb31ca0: Layer already exists 12:32:19 26d13d391491: Layer already exists 12:32:19 main: digest: sha256:1c7c849cc3f57847cf7fb80322db8e4c35603ef8b152fb652ee574e3f94429b0 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:32:19 ===================================================== [Pipeline] echo 12:32:19 taggedImages: 12:32:19 - nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53a838cf715098176e329c4fd19d0f7ded052f 12:32:19 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 12:32:19 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.17 12:32:19 - nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53a838cf715098176e329c4fd19d0f7ded052f-2.2.0-dev.17 12:32:19 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:32:19 12:32:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:32:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:32:20 arm64: Pulling from edgex-lftools-log-publisher 12:32:20 8998bd30e6a1: Pulling fs layer 12:32:20 04944245beec: Pulling fs layer 12:32:20 699f458cf7ca: Pulling fs layer 12:32:20 765212b225bb: Pulling fs layer 12:32:20 f23df028b6ca: Pulling fs layer 12:32:20 d65c8cfc05b1: Pulling fs layer 12:32:20 2437ff75d9bd: Pulling fs layer 12:32:20 765212b225bb: Waiting 12:32:20 d65c8cfc05b1: Waiting 12:32:20 f23df028b6ca: Waiting 12:32:20 2437ff75d9bd: Waiting 12:32:20 04944245beec: Verifying Checksum 12:32:20 04944245beec: Download complete 12:32:20 765212b225bb: Verifying Checksum 12:32:20 765212b225bb: Download complete 12:32:20 f23df028b6ca: Download complete 12:32:20 d65c8cfc05b1: Verifying Checksum 12:32:20 d65c8cfc05b1: Download complete 12:32:20 699f458cf7ca: Verifying Checksum 12:32:20 699f458cf7ca: Download complete 12:32:20 8998bd30e6a1: Verifying Checksum 12:32:20 8998bd30e6a1: Download complete 12:32:23 2437ff75d9bd: Verifying Checksum 12:32:23 2437ff75d9bd: Download complete 12:32:25 8998bd30e6a1: Pull complete 12:32:25 04944245beec: Pull complete 12:32:27 699f458cf7ca: Pull complete 12:32:27 765212b225bb: Pull complete 12:32:28 f23df028b6ca: Pull complete 12:32:28 d65c8cfc05b1: Pull complete 12:32:43 2437ff75d9bd: Pull complete 12:32:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:32:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:32:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:32:44 prd-ubuntu20.04-docker-arm64-4c-16g-47723 does not seem to be running inside a container 12:32:44 $ 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 12:32:46 $ docker top 608435dd0417ed343fb63b1fe3a8467aeecec67c3b711df6236d717dd2138d0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:32:47 ---> job-cost.sh 12:32:47 lf-activate-venv: SKIPPING 12:32:47 INFO: No Stack... 12:32:47 INFO: Retrieving Pricing Info for: v3-standard-4 12:32:48 INFO: Archiving Costs [Pipeline] sh 12:32:49 + cat /w/workspace/device-rest-go/39/archives/cost.csv 12:32:49 + cut -d, -f6 [Pipeline] lock 12:32:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] 12:32:49 Resource [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] did not exist. Created. 12:32:49 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:32:50 /w/workspace/device-rest-go/39@tmp/durable-99edcf78/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:32:51 + echo total: 0.10999999940395355 [Pipeline] stash 12:32:51 Warning: overwriting stash ‘stack-cost’ 12:32:51 Stashed 1 file(s) [Pipeline] } 12:32:51 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-39-stack-cost] [Pipeline] // lock [Pipeline] } 12:32:51 $ docker stop --time=1 608435dd0417ed343fb63b1fe3a8467aeecec67c3b711df6236d717dd2138d0c 12:32:52 $ 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 12:32:53 provisioning config files... 12:32:53 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3394183551976071005tmp [Pipeline] { [Pipeline] sh 12:32:53 + set +x 12:32:53 + curl -s https://codecov.io/bash 12:32:53 + bash -s -- 12:32:53 12:32:53 _____ _ 12:32:53 / ____| | | 12:32:53 | | ___ __| | ___ ___ _____ __ 12:32:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:32:53 | |___| (_) | (_| | __/ (_| (_) \ V / 12:32:53 \_____\___/ \__,_|\___|\___\___/ \_/ 12:32:53 Bash-1.0.6 12:32:53 12:32:53 12:32:53 ==> git version 2.25.1 found 12:32:53 ==> 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 12:32:53 Release-Date: 2020-01-08 12:32:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:32:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:32:53 ==> Jenkins CI detected. 12:32:53 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 12:32:53 project root: . 12:32:53 --> token set from env 12:32:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:32:53 ==> Running gcov in . (disable via -X gcov) 12:32:53 ==> Python coveragepy not found 12:32:53 ==> Searching for coverage reports in: 12:32:53 + . 12:32:53 -> Found 1 reports 12:32:53 ==> Detecting git/mercurial file structure 12:32:53 ==> Reading reports 12:32:53 + ./coverage.out bytes=9355 12:32:53 ==> Appending adjustments 12:32:53 https://docs.codecov.io/docs/fixing-reports 12:32:53 + Found adjustments 12:32:53 ==> Gzipping contents 12:32:53 4.0K /tmp/codecov.SkY0V2.gz 12:32:53 ==> Uploading reports 12:32:53 url: https://codecov.io 12:32:53 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= 12:32:53 -> Pinging Codecov 12:32:53 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= 12:32:54 -> Uploading to 12:32:54 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 12:32:54 % Total % Received % Xferd Average Speed Time Time Time Current 12:32:54 Dload Upload Total Spent Left Speed 12:32:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8361 --:--:-- --:--:-- --:--:-- 8361 12:32:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] } 12:32:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:32:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:32:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:32:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:32:54 12:32:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 12:32:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:32:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 12:32:55 188c0c94c7c5: Pulling fs layer 12:32:55 0ef7d3d256c8: Pulling fs layer 12:32:55 de9db76c5a1d: Pulling fs layer 12:32:55 0eba1c9be4d2: Pulling fs layer 12:32:55 0d57e429df01: Pulling fs layer 12:32:55 4e4be7b47b0d: Pulling fs layer 12:32:55 e1f770b5df2f: Pulling fs layer 12:32:55 85a0685a4137: Pulling fs layer 12:32:55 4e4be7b47b0d: Waiting 12:32:55 0eba1c9be4d2: Waiting 12:32:55 e1f770b5df2f: Waiting 12:32:55 85a0685a4137: Waiting 12:32:55 0d57e429df01: Waiting 12:32:55 de9db76c5a1d: Verifying Checksum 12:32:55 de9db76c5a1d: Download complete 12:32:55 0ef7d3d256c8: Verifying Checksum 12:32:55 0ef7d3d256c8: Download complete 12:32:55 0d57e429df01: Verifying Checksum 12:32:55 0d57e429df01: Download complete 12:32:55 4e4be7b47b0d: Download complete 12:32:55 188c0c94c7c5: Download complete 12:32:55 188c0c94c7c5: Pull complete 12:32:55 e1f770b5df2f: Verifying Checksum 12:32:55 e1f770b5df2f: Download complete 12:32:55 0ef7d3d256c8: Pull complete 12:32:55 de9db76c5a1d: Pull complete 12:32:55 0eba1c9be4d2: Verifying Checksum 12:32:55 0eba1c9be4d2: Download complete 12:32:56 85a0685a4137: Verifying Checksum 12:32:56 85a0685a4137: Download complete 12:32:59 0eba1c9be4d2: Pull complete 12:32:59 0d57e429df01: Pull complete 12:32:59 4e4be7b47b0d: Pull complete 12:32:59 e1f770b5df2f: Pull complete 12:33:04 85a0685a4137: Pull complete 12:33:04 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 12:33:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:33:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 12:33:04 prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container 12:33:04 $ 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 12:33:06 $ docker top ac19be2be18002f49b010390227ab33778b681f9fd0fb0bba5322513fe92ad34 -eo pid,comm [Pipeline] { [Pipeline] echo 12:33:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 12:33:06 + set -o pipefail 12:33:06 + snyk monitor '--org=edgex-jenkins' 12:33:12 12:33:12 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 12:33:12 12:33:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/84dff2fa-8a91-49d1-9093-a29fa55fd30b 12:33:12 12:33:12 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 12:33:12 12:33:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:33:12 12:33:12 [Pipeline] } 12:33:12 $ docker stop --time=1 ac19be2be18002f49b010390227ab33778b681f9fd0fb0bba5322513fe92ad34 12:33:14 $ 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 12:33:14 + git log --format=format:%s -1 9b53a838cf715098176e329c4fd19d0f7ded052f [Pipeline] sh 12:33:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:33:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:33:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:33:15 . [Pipeline] withDockerContainer 12:33:15 prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container 12:33:15 $ 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 12:33:15 $ docker top ac579ee7ab07a19ef074be30eefb590a05f6a7a1741f7c975ee1e4dd497414dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:33:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:33:16 [ssh-agent] Looking for ssh-agent implementation... 12:33:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:33:16 $ docker exec ac579ee7ab07a19ef074be30eefb590a05f6a7a1741f7c975ee1e4dd497414dd ssh-agent 12:33:16 SSH_AUTH_SOCK=/tmp/ssh-mr3NIVYJbG6k/agent.35 12:33:16 SSH_AGENT_PID=43 12:33:16 Running ssh-add (command line suppressed) 12:33:16 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) 12:33:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:33:16 + git semver tag 12:33:16 2022-05-10 12:33:16,895 [run_tag] DEBUG tag force:False 12:33:16 2022-05-10 12:33:16,895 [check_head_tag] DEBUG check head tag 12:33:16 2022-05-10 12:33:16,895 [execute] INFO git cat-file --batch-check 12:33:16 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=) 12:33:16 2022-05-10 12:33:16,899 [execute] INFO git cat-file --batch 12:33:16 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=) 12:33:16 2022-05-10 12:33:16,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 12:33:16 2022-05-10 12:33:16,915 [execute] INFO git tag -a v2.2.0-dev.17 -m v2.2.0-dev.17 12:33:16 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) 12:33:16 2022-05-10 12:33:16,919 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 12:33:16 2.2.0-dev.17 [Pipeline] } 12:33:16 $ docker exec --env ******** --env ******** ac579ee7ab07a19ef074be30eefb590a05f6a7a1741f7c975ee1e4dd497414dd ssh-agent -k 12:33:17 unset SSH_AUTH_SOCK; 12:33:17 unset SSH_AGENT_PID; 12:33:17 echo Agent pid 43 killed; 12:33:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:33:17 + git semver [Pipeline] } 12:33:17 $ docker stop --time=1 ac579ee7ab07a19ef074be30eefb590a05f6a7a1741f7c975ee1e4dd497414dd 12:33:18 $ docker rm -f ac579ee7ab07a19ef074be30eefb590a05f6a7a1741f7c975ee1e4dd497414dd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 12:33:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:33:19 12:33:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 12:33:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:33:19 0.23.1-centos7: Pulling from edgex-lftools 12:33:19 ab5ef0e58194: Pulling fs layer 12:33:19 9712f1f96733: Pulling fs layer 12:33:19 63f879dbbcfc: Pulling fs layer 12:33:19 0d9ebad4ef96: Pulling fs layer 12:33:19 e9a5061849ea: Pulling fs layer 12:33:19 d747dcd14b5f: Pulling fs layer 12:33:19 2de7ff778b66: Pulling fs layer 12:33:19 e9a5061849ea: Waiting 12:33:19 d747dcd14b5f: Waiting 12:33:19 2de7ff778b66: Waiting 12:33:19 0d9ebad4ef96: Waiting 12:33:19 9712f1f96733: Verifying Checksum 12:33:19 9712f1f96733: Download complete 12:33:19 63f879dbbcfc: Verifying Checksum 12:33:19 63f879dbbcfc: Download complete 12:33:20 e9a5061849ea: Verifying Checksum 12:33:20 e9a5061849ea: Download complete 12:33:20 d747dcd14b5f: Download complete 12:33:20 0d9ebad4ef96: Verifying Checksum 12:33:20 0d9ebad4ef96: Download complete 12:33:20 ab5ef0e58194: Verifying Checksum 12:33:20 ab5ef0e58194: Download complete 12:33:20 2de7ff778b66: Verifying Checksum 12:33:20 2de7ff778b66: Download complete 12:33:22 ab5ef0e58194: Pull complete 12:33:22 9712f1f96733: Pull complete 12:33:23 63f879dbbcfc: Pull complete 12:33:27 0d9ebad4ef96: Pull complete 12:33:27 e9a5061849ea: Pull complete 12:33:27 d747dcd14b5f: Pull complete 12:33:28 2de7ff778b66: Pull complete 12:33:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:33:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:33:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 12:33:28 prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container 12:33:28 $ 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 12:33:30 $ docker top fd032fd281839aa567daf059963ff38bb151422dd163d43e707d0bf96791d6d3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:33:30 provisioning config files... 12:33:30 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7152271430950658416tmp 12:33:30 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6533246091881392695tmp 12:33:30 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3360369545194241456tmp [Pipeline] { [Pipeline] echo 12:33:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:33:31 ---> sigul-configuration.sh 12:33:31 gpg: directory `/root/.gnupg' created 12:33:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:33:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:33:31 gpg: keyring `/root/.gnupg/secring.gpg' created 12:33:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:33:31 gpg: CAST5 encrypted data 12:33:31 gpg: encrypted with 1 passphrase 12:33:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:33:31 + mkdir /home/jenkins 12:33:31 + mkdir /home/jenkins/sigul [Pipeline] sh 12:33:31 + 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 12:33:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:33:31 ---> sigul-install.sh 12:33:31 Sigul already installed; skipping installation. [Pipeline] sh 12:33:32 + git tag --list 12:33:32 v1.0.0 12:33:32 v1.1.0 12:33:32 v1.1.1 12:33:32 v1.1.2 12:33:32 v1.2.0 12:33:32 v1.2.1 12:33:32 v2.0.0 12:33:32 v2.0.1-dev.1 12:33:32 v2.0.1-dev.10 12:33:32 v2.0.1-dev.11 12:33:32 v2.0.1-dev.12 12:33:32 v2.0.1-dev.13 12:33:32 v2.0.1-dev.14 12:33:32 v2.0.1-dev.2 12:33:32 v2.0.1-dev.3 12:33:32 v2.0.1-dev.4 12:33:32 v2.0.1-dev.5 12:33:32 v2.0.1-dev.6 12:33:32 v2.0.1-dev.7 12:33:32 v2.0.1-dev.8 12:33:32 v2.0.1-dev.9 12:33:32 v2.1.0 12:33:32 v2.2.0-dev.1 12:33:32 v2.2.0-dev.10 12:33:32 v2.2.0-dev.11 12:33:32 v2.2.0-dev.12 12:33:32 v2.2.0-dev.13 12:33:32 v2.2.0-dev.14 12:33:32 v2.2.0-dev.15 12:33:32 v2.2.0-dev.16 12:33:32 v2.2.0-dev.17 12:33:32 v2.2.0-dev.2 12:33:32 v2.2.0-dev.3 12:33:32 v2.2.0-dev.4 12:33:32 v2.2.0-dev.5 12:33:32 v2.2.0-dev.6 12:33:32 v2.2.0-dev.7 12:33:32 v2.2.0-dev.8 12:33:32 v2.2.0-dev.9 [Pipeline] sh 12:33:32 + lftools sign git-tag v2.2.0-dev.17 12:33:33 Signing Git tag with Sigul... 12:33:33 Signing v2.2.0-dev.17 [Pipeline] echo 12:33:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:33:33 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:33:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:33:34 $ docker stop --time=1 fd032fd281839aa567daf059963ff38bb151422dd163d43e707d0bf96791d6d3 12:33:35 $ docker rm -f fd032fd281839aa567daf059963ff38bb151422dd163d43e707d0bf96791d6d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:33:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:33:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:33:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:33:36 . [Pipeline] withDockerContainer 12:33:36 prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container 12:33:36 $ 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 12:33:36 $ docker top 32e61ccefe4e6f3b8c16b42ea4fca817993cfdc90d40435c7cb3cc3da64771c1 -eo pid,comm 12:33:36 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). 12:33:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:33:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:33:36 [ssh-agent] Looking for ssh-agent implementation... 12:33:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:33:36 $ docker exec 32e61ccefe4e6f3b8c16b42ea4fca817993cfdc90d40435c7cb3cc3da64771c1 ssh-agent 12:33:36 SSH_AUTH_SOCK=/tmp/ssh-uvyjz4RMS9A2/agent.33 12:33:36 SSH_AGENT_PID=40 12:33:36 Running ssh-add (command line suppressed) 12:33:37 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) 12:33:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:33:37 + git semver bump pre 12:33:37 2022-05-10 12:33:37,605 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 12:33:37 2022-05-10 12:33:37,605 [bump_version] DEBUG bumping version:2.2.0-dev.17 on axis:pre with prefix:dev 12:33:37 2022-05-10 12:33:37,605 [bump_version] DEBUG bumped version:2.2.0-dev.18 12:33:37 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 12:33:37 2022-05-10 12:33:37,605 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 12:33:37 2022-05-10 12:33:37,605 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 12:33:37 2022-05-10 12:33:37,607 [execute] INFO git cat-file --batch-check 12:33:37 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=) 12:33:37 2022-05-10 12:33:37,615 [execute] INFO git cat-file --batch 12:33:37 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=) 12:33:37 2022-05-10 12:33:37,621 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 12:33:37 2.2.0-dev.18 [Pipeline] } 12:33:37 $ docker exec --env ******** --env ******** 32e61ccefe4e6f3b8c16b42ea4fca817993cfdc90d40435c7cb3cc3da64771c1 ssh-agent -k 12:33:37 unset SSH_AUTH_SOCK; 12:33:37 unset SSH_AGENT_PID; 12:33:37 echo Agent pid 40 killed; 12:33:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:33:38 + git semver [Pipeline] } 12:33:38 $ docker stop --time=1 32e61ccefe4e6f3b8c16b42ea4fca817993cfdc90d40435c7cb3cc3da64771c1 12:33:39 $ docker rm -f 32e61ccefe4e6f3b8c16b42ea4fca817993cfdc90d40435c7cb3cc3da64771c1 [Pipeline] // withDockerContainer [Pipeline] sh 12:33:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:33:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:33:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:33:40 . [Pipeline] withDockerContainer 12:33:40 prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container 12:33:40 $ 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 12:33:41 $ docker top e38fca56426273a291b3e0f0e990b2cbeb82625f62ba1a8a5523e704d9a49d4c -eo pid,comm 12:33:41 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). 12:33:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:33:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:33:41 [ssh-agent] Looking for ssh-agent implementation... 12:33:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:33:41 $ docker exec e38fca56426273a291b3e0f0e990b2cbeb82625f62ba1a8a5523e704d9a49d4c ssh-agent 12:33:41 SSH_AUTH_SOCK=/tmp/ssh-Fziz3vZMUVak/agent.34 12:33:41 SSH_AGENT_PID=40 12:33:41 Running ssh-add (command line suppressed) 12:33:41 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) 12:33:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:33:41 + git semver push 12:33:42 2022-05-10 12:33:42,185 [run_push] DEBUG push 12:33:42 2022-05-10 12:33:42,186 [execute] INFO git push origin semver 12:33:42 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) 12:33:43 2022-05-10 12:33:42,957 [run_push] DEBUG push all version tags 12:33:43 2022-05-10 12:33:42,957 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:33:43 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) 12:33:43 2022-05-10 12:33:43,700 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 12:33:43 2.2.0-dev.18 [Pipeline] } 12:33:43 $ docker exec --env ******** --env ******** e38fca56426273a291b3e0f0e990b2cbeb82625f62ba1a8a5523e704d9a49d4c ssh-agent -k 12:33:43 unset SSH_AUTH_SOCK; 12:33:43 unset SSH_AGENT_PID; 12:33:43 echo Agent pid 40 killed; 12:33:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:33:44 + git semver [Pipeline] } 12:33:44 $ docker stop --time=1 e38fca56426273a291b3e0f0e990b2cbeb82625f62ba1a8a5523e704d9a49d4c 12:33:45 $ 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 12:33:46 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 12:33:46 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 12:33:46 total 16 12:33:46 drwxr-xr-x 3 root root 4096 May 10 12:16 . 12:33:46 drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:33 .. 12:33:46 drwxr-xr-x 2 root root 4096 May 10 12:16 cost 12:33:46 -rw-r--r-- 1 root root 84 May 10 12:16 cost.csv 12:33:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 12:33:46 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 12:33:46 total 16 12:33:46 drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:16 . 12:33:46 drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:33 .. 12:33:46 drwxr-xr-x 2 jenkins jenkins 4096 May 10 12:16 cost 12:33:46 -rw-r--r-- 1 jenkins jenkins 84 May 10 12:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:33:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:33:47 ---> package-listing.sh 12:33:47 ++ facter osfamily 12:33:47 ++ tr '[:upper:]' '[:lower:]' 12:33:47 + OS_FAMILY=debian 12:33:47 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 12:33:47 + START_PACKAGES=/tmp/packages_start.txt 12:33:47 + END_PACKAGES=/tmp/packages_end.txt 12:33:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:33:47 + PACKAGES=/tmp/packages_start.txt 12:33:47 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 12:33:47 + PACKAGES=/tmp/packages_end.txt 12:33:47 + case "${OS_FAMILY}" in 12:33:47 + dpkg -l 12:33:47 + grep '^ii' 12:33:47 + '[' -f /tmp/packages_start.txt ']' 12:33:47 + '[' -f /tmp/packages_end.txt ']' 12:33:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:33:47 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 12:33:47 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 12:33:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 12:33:47 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 12:33:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:33:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:33:48 . [Pipeline] withDockerContainer 12:33:48 prd-ubuntu20.04-docker-8c-8g-47566 does not seem to be running inside a container 12:33:48 $ 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 12:33:49 $ docker top bf0bb3d4ba0f01302249e173fa63ccb74269ee4fade56e317727e443358a7f60 -eo pid,comm [Pipeline] { [Pipeline] sh 12:33:49 + touch /tmp/pre-build-complete [Pipeline] sh 12:33:49 + mkdir -p /var/log/sysstat [Pipeline] sh 12:33:49 + ls /var/log/sa-host 12:33:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:33:50 provisioning config files... 12:33:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8742514008744099186tmp [Pipeline] { [Pipeline] echo 12:33:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:33:50 ---> create-netrc.sh [Pipeline] } 12:33:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:33:50 ---> python-tools-install.sh [Pipeline] echo 12:33:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:33:50 ---> sudo-logs.sh 12:33:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:33:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:33:51 ---> job-cost.sh 12:33:51 lf-activate-venv: SKIPPING 12:33:51 DEBUG: total: 0.2199999988079071 12:33:51 INFO: Retrieving Stack Cost... 12:33:52 INFO: Retrieving Pricing Info for: v3-standard-8 12:33:52 INFO: Archiving Costs [Pipeline] echo 12:33:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:33:52 ---> logs-deploy.sh 12:33:52 lf-activate-venv: SKIPPING 12:33:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/39 12:33:52 INFO: archiving workspace using pattern(s): 12:33:53 Archives upload complete. 12:33:53 INFO: archiving logs to Nexus