Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6db49600d84fbc344f4830d0628105aa21893aeb 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-ssh12250656502424207617.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh6127602577197485269.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13534546983356383114.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12545014168169681092.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5966178330146764871.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-568’ Running on prd-ubuntu20.04-docker-8c-8g-570 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 6db49600d84fbc344f4830d0628105aa21893aeb (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 6db49600d84fbc344f4830d0628105aa21893aeb # timeout=10 Commit message: "fix(snap): typo in install hook error log (#192)" > git rev-list --no-walk 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:35:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:35:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:35:18 ========================================================= 20:35:18 EdgeX Global Pipelines Version Info 20:35:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:35:19 ------------------- 20:35:19 stable info: 20:35:19 ------------------- 20:35:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:35:19 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 20:35:19 Message: update stable to v1.0.230 20:35:20 ------------------- 20:35:20 experimental info: 20:35:20 ------------------- 20:35:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:35:20 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 20:35:20 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6db4960 [Pipeline] echo 20:35:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:35:20 provisioning config files... 20:35:20 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config940739147542394380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:21 ---> docker-login.sh 20:35:21 nexus3.edgexfoundry.org:10001 20:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:21 Configure a credential helper to remove this warning. See 20:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:21 20:35:21 Login Succeeded 20:35:21 nexus3.edgexfoundry.org:10002 20:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:21 Configure a credential helper to remove this warning. See 20:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:21 20:35:21 Login Succeeded 20:35:21 nexus3.edgexfoundry.org:10003 20:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:21 Configure a credential helper to remove this warning. See 20:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:21 20:35:21 Login Succeeded 20:35:21 nexus3.edgexfoundry.org:10004 20:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:21 Configure a credential helper to remove this warning. See 20:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:21 20:35:21 Login Succeeded 20:35:21 docker.io 20:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:22 Configure a credential helper to remove this warning. See 20:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:22 20:35:22 Login Succeeded 20:35:22 ---> docker-login.sh ends [Pipeline] } 20:35:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:35:22 + git rev-list -1 --merges 6db49600d84fbc344f4830d0628105aa21893aeb~1..6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] echo 20:35:22 -----------> git rev-list -1 --merges 6db49600d84fbc344f4830d0628105aa21893aeb~1..6db49600d84fbc344f4830d0628105aa21893aeb 6db49600d84fbc344f4830d0628105aa21893aeb [false] [Pipeline] sh 20:35:23 + git log --format=format:%s -1 6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] echo 20:35:23 ========================================================= 20:35:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:35:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:35:23 + git log --format=format:%s -1 6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] echo 20:35:23 [semverPrep] GIT_COMMIT: 6db49600d84fbc344f4830d0628105aa21893aeb, Commit Message: fix(snap): typo in install hook error log (#192) [Pipeline] echo 20:35:23 [semverPrep] This is not a build commit. [Pipeline] sh 20:35:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:35:23 + grep -v github /etc/ssh/ssh_known_hosts 20:35:23 + [ -e /tmp/ssh_known_hosts ] 20:35:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:35:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:35:23 + sudo tee -a /etc/ssh/ssh_known_hosts 20:35:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:35:24 20:35:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:35:24 latest: Pulling from edgex-devops/py-git-semver 20:35:24 1fe172e4850f: Pulling fs layer 20:35:24 caf521ccaac6: Pulling fs layer 20:35:24 3ead6fa29328: Pulling fs layer 20:35:24 5c2a1cbceb83: Pulling fs layer 20:35:24 a8d5f1318db7: Pulling fs layer 20:35:24 c427282e49a2: Pulling fs layer 20:35:24 1827001aaf11: Pulling fs layer 20:35:24 5c2a1cbceb83: Waiting 20:35:24 a8d5f1318db7: Waiting 20:35:24 c427282e49a2: Waiting 20:35:24 0714d37db230: Pulling fs layer 20:35:24 ac28cf19c067: Pulling fs layer 20:35:24 ca983d60f3e2: Pulling fs layer 20:35:24 9f894cec8388: Pulling fs layer 20:35:24 ac28cf19c067: Waiting 20:35:24 0714d37db230: Waiting 20:35:24 1827001aaf11: Waiting 20:35:24 9f894cec8388: Waiting 20:35:24 ca983d60f3e2: Waiting 20:35:24 caf521ccaac6: Verifying Checksum 20:35:24 caf521ccaac6: Download complete 20:35:24 5c2a1cbceb83: Verifying Checksum 20:35:24 5c2a1cbceb83: Download complete 20:35:24 a8d5f1318db7: Verifying Checksum 20:35:24 a8d5f1318db7: Download complete 20:35:24 3ead6fa29328: Verifying Checksum 20:35:24 3ead6fa29328: Download complete 20:35:24 c427282e49a2: Download complete 20:35:24 0714d37db230: Verifying Checksum 20:35:24 0714d37db230: Download complete 20:35:24 ac28cf19c067: Download complete 20:35:24 ca983d60f3e2: Verifying Checksum 20:35:24 ca983d60f3e2: Download complete 20:35:24 9f894cec8388: Download complete 20:35:24 1fe172e4850f: Verifying Checksum 20:35:24 1fe172e4850f: Download complete 20:35:25 1827001aaf11: Verifying Checksum 20:35:25 1827001aaf11: Download complete 20:35:26 1fe172e4850f: Pull complete 20:35:26 caf521ccaac6: Pull complete 20:35:26 3ead6fa29328: Pull complete 20:35:26 5c2a1cbceb83: Pull complete 20:35:27 a8d5f1318db7: Pull complete 20:35:27 c427282e49a2: Pull complete 20:35:29 1827001aaf11: Pull complete 20:35:29 0714d37db230: Pull complete 20:35:29 ac28cf19c067: Pull complete 20:35:29 ca983d60f3e2: Pull complete 20:35:29 9f894cec8388: Pull complete 20:35:29 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 20:35:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:35:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:29 prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container 20:35:29 $ 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 20:35:31 $ docker top 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b -eo pid,comm 20:35:31 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). 20:35:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:35:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:35:31 [ssh-agent] Looking for ssh-agent implementation... 20:35:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:35:31 $ docker exec 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b ssh-agent 20:35:31 SSH_AUTH_SOCK=/tmp/ssh-m6wfl7ZyAv8z/agent.34 20:35:31 SSH_AGENT_PID=40 20:35:31 Running ssh-add (command line suppressed) 20:35:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4731754557521153184.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4731754557521153184.key) 20:35:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:35:31 + git tag --points-at HEAD [Pipeline] } 20:35:31 $ docker exec --env ******** --env ******** 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b ssh-agent -k 20:35:32 unset SSH_AUTH_SOCK; 20:35:32 unset SSH_AGENT_PID; 20:35:32 echo Agent pid 40 killed; 20:35:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:35:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:35:32 [ssh-agent] Looking for ssh-agent implementation... 20:35:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:35:32 $ docker exec 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b ssh-agent 20:35:32 SSH_AUTH_SOCK=/tmp/ssh-CcWTEDx1ixcF/agent.74 20:35:32 SSH_AGENT_PID=81 20:35:32 Running ssh-add (command line suppressed) 20:35:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1140873859316510013.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1140873859316510013.key) 20:35:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:35:32 + git semver init 20:35:33 2022-06-01 20:35:32,957 [run_init] DEBUG init version:0.0.0 force:False 20:35:33 2022-06-01 20:35:32,958 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:35:33 2022-06-01 20:35:32,958 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:35:33 2022-06-01 20:35:32,959 [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) 20:35:33 2022-06-01 20:35:33,897 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:35:33 2022-06-01 20:35:33,897 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:35:33 2022-06-01 20:35:33,897 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:35:33 2022-06-01 20:35:33,898 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:35:33 2.2.1-dev.2 [Pipeline] } 20:35:33 $ docker exec --env ******** --env ******** 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b ssh-agent -k 20:35:34 unset SSH_AUTH_SOCK; 20:35:34 unset SSH_AGENT_PID; 20:35:34 echo Agent pid 81 killed; 20:35:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:35:34 + git semver [Pipeline] } 20:35:34 $ docker stop --time=1 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b 20:35:36 $ docker rm -f 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b [Pipeline] // withDockerContainer [Pipeline] sh 20:35:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:35:36 Stashed 1 file(s) [Pipeline] echo 20:35:36 [edgeXSemver]: initialized semver on version 2.2.1-dev.2 [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 20:35:36 provisioning config files... 20:35:36 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config175254678802098908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:37 ---> docker-login.sh 20:35:37 nexus3.edgexfoundry.org:10001 20:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:37 Configure a credential helper to remove this warning. See 20:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:37 20:35:37 Login Succeeded 20:35:37 nexus3.edgexfoundry.org:10002 20:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:37 Configure a credential helper to remove this warning. See 20:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:37 20:35:37 Login Succeeded 20:35:37 nexus3.edgexfoundry.org:10003 20:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:37 Configure a credential helper to remove this warning. See 20:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:37 20:35:37 Login Succeeded 20:35:37 nexus3.edgexfoundry.org:10004 20:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:37 Configure a credential helper to remove this warning. See 20:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:37 20:35:37 Login Succeeded 20:35:37 docker.io 20:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:37 Configure a credential helper to remove this warning. See 20:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:37 20:35:37 Login Succeeded 20:35:37 ---> docker-login.sh ends [Pipeline] } 20:35:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:35:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:35:37 ========================================================= 20:35:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:35:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:38 + 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 . 20:35:38 Sending build context to Docker daemon 10.61MB 20:35:38 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:35:38 Step 2/12 : FROM ${BASE} AS builder 20:35:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:35:38 59bf1c3509f3: Pulling fs layer 20:35:38 666ba61612fd: Pulling fs layer 20:35:38 8ed8ca486205: Pulling fs layer 20:35:38 4fe6c5a15a65: Pulling fs layer 20:35:38 22a0e8bec74d: Pulling fs layer 20:35:38 ca2b28591e48: Pulling fs layer 20:35:38 a51346096db8: Pulling fs layer 20:35:38 daebc70d1ce1: Pulling fs layer 20:35:38 0e18a0eac166: Pulling fs layer 20:35:38 22a0e8bec74d: Waiting 20:35:38 daebc70d1ce1: Waiting 20:35:38 0e18a0eac166: Waiting 20:35:38 ca2b28591e48: Waiting 20:35:38 a51346096db8: Waiting 20:35:38 4fe6c5a15a65: Waiting 20:35:38 8ed8ca486205: Verifying Checksum 20:35:38 8ed8ca486205: Download complete 20:35:38 666ba61612fd: Verifying Checksum 20:35:38 666ba61612fd: Download complete 20:35:38 ca2b28591e48: Verifying Checksum 20:35:38 ca2b28591e48: Download complete 20:35:38 a51346096db8: Download complete 20:35:38 59bf1c3509f3: Download complete 20:35:38 daebc70d1ce1: Verifying Checksum 20:35:38 59bf1c3509f3: Pull complete 20:35:38 666ba61612fd: Pull complete 20:35:38 8ed8ca486205: Pull complete 20:35:39 0e18a0eac166: Verifying Checksum 20:35:39 0e18a0eac166: Download complete 20:35:39 4fe6c5a15a65: Download complete 20:35:43 4fe6c5a15a65: Pull complete 20:35:43 22a0e8bec74d: Pull complete 20:35:43 ca2b28591e48: Pull complete 20:35:43 a51346096db8: Pull complete 20:35:43 daebc70d1ce1: Pull complete 20:35:45 0e18a0eac166: Pull complete 20:35:45 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 20:35:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:35:45 ---> f018257e8ee9 20:35:45 Step 3/12 : ARG MAKE='make build' 20:35:47 ---> Running in 3e633b025f53 20:35:47 Removing intermediate container 3e633b025f53 20:35:47 ---> 5eba23e99590 20:35:47 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:35:47 ---> Running in d1e2489d8e30 20:35:47 Removing intermediate container d1e2489d8e30 20:35:47 ---> 1af59b8f8849 20:35:47 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:35:47 ---> Running in 38ffcb861c43 20:35:47 Removing intermediate container 38ffcb861c43 20:35:47 ---> a0e560570984 20:35:47 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:35:47 ---> Running in a26a441a520f 20:35:48 Removing intermediate container a26a441a520f 20:35:48 ---> e4871961f1ac 20:35:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:35:48 ---> Running in c5e31976cddb 20:35:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:35:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:35:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:35:50 (2/4) Installing libedit (20210910.3.1-r0) 20:35:50 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:35:50 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:35:50 Executing busybox-1.34.1-r3.trigger 20:35:50 OK: 224 MiB in 56 packages 20:35:51 Removing intermediate container c5e31976cddb 20:35:51 ---> a72ab794fb87 20:35:51 Step 8/12 : WORKDIR /device-rest-go 20:35:51 ---> Running in f38790c06b4f 20:35:51 Removing intermediate container f38790c06b4f 20:35:51 ---> 999ffe00dedb 20:35:51 Step 9/12 : COPY go.mod vendor* ./ 20:35:51 ---> bfe5d79c236c 20:35:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:51 ---> Running in 1fb53e428ffb 20:35:51 Still waiting to schedule task 20:35:51 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-569’ 20:36:09 Removing intermediate container 1fb53e428ffb 20:36:09 ---> c41c4c004fa8 20:36:09 Step 11/12 : COPY . . 20:36:09 ---> 6e8825310ebd 20:36:09 Step 12/12 : RUN $MAKE 20:36:09 ---> Running in efc3dc658010 20:36:09 noop 20:36:09 Removing intermediate container efc3dc658010 20:36:09 ---> 9ddb1ef32c98 20:36:09 Successfully built 9ddb1ef32c98 20:36:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:09 + docker inspect -f . ci-base-image-x86_64 20:36:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:09 prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container 20:36:09 $ 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 20:36:10 $ docker top e6a7154d9eea71dac5b2ba5e7a8198f6afed8a965b0540ed48c03b415f3c93e9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:10 + go version 20:36:10 go version go1.17.6 linux/amd64 [Pipeline] } 20:36:10 $ docker stop --time=1 e6a7154d9eea71dac5b2ba5e7a8198f6afed8a965b0540ed48c03b415f3c93e9 20:36:11 $ docker rm -f e6a7154d9eea71dac5b2ba5e7a8198f6afed8a965b0540ed48c03b415f3c93e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:12 + docker inspect -f . ci-base-image-x86_64 20:36:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:12 prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container 20:36:12 $ 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 20:36:12 $ docker top 1749415d9c6022f8a99e4291f6b05cf39da16e93e47453063c65ea11d57dade5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:36:13 + make test 20:36:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:36:13 ? github.com/edgexfoundry/device-rest-go [no test files] 20:36:23 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:36:23 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 20:36:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:36:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:36:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:36:33 ./bin/test-attribution-txt.sh [Pipeline] echo 20:36:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:36:33 $ docker stop --time=1 1749415d9c6022f8a99e4291f6b05cf39da16e93e47453063c65ea11d57dade5 20:36:34 $ docker rm -f 1749415d9c6022f8a99e4291f6b05cf39da16e93e47453063c65ea11d57dade5 [Pipeline] // withDockerContainer [Pipeline] sh 20:36:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:36:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:36:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:36:36 + ls -al . 20:36:36 total 172 20:36:36 drwxrwxr-x 9 jenkins jenkins 4096 Jun 1 20:36 . 20:36:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 20:35 .. 20:36:36 -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 20:35 .dockerignore 20:36:36 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 20:35 .git 20:36:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:35 .github 20:36:36 -rw-rw-r-- 1 jenkins jenkins 329 Jun 1 20:35 .gitignore 20:36:36 -rw-rw-r-- 1 jenkins jenkins 41 Jun 1 20:35 .golangci.yml 20:36:36 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 20:35 .semver 20:36:36 -rw-rw-r-- 1 jenkins jenkins 8596 Jun 1 20:35 Attribution.txt 20:36:36 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 1 20:35 CHANGELOG.md 20:36:36 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 1 20:35 Dockerfile 20:36:36 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 20:35 GOVERNANCE.md 20:36:36 -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 20:35 Jenkinsfile 20:36:36 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 20:35 LICENSE 20:36:36 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 1 20:35 Makefile 20:36:36 -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 20:35 OWNERS.md 20:36:36 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 1 20:35 README.md 20:36:36 -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 20:35 VERSION 20:36:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 20:35 bin 20:36:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:35 cmd 20:36:36 -rw-r--r-- 1 jenkins jenkins 9355 Jun 1 20:36 coverage.out 20:36:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 20:35 driver 20:36:36 -rw-rw-r-- 1 jenkins jenkins 3287 Jun 1 20:35 go.mod 20:36:36 -rw-rw-r-- 1 jenkins jenkins 34802 Jun 1 20:35 go.sum 20:36:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:35 snap 20:36:36 -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 20:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:36 + 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=6db49600d84fbc344f4830d0628105aa21893aeb --label arch=amd64 --label version=2.2.1-dev.2 . 20:36:36 Sending build context to Docker daemon 10.62MB 20:36:36 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:36:36 Step 2/25 : FROM ${BASE} AS builder 20:36:36 ---> 9ddb1ef32c98 20:36:36 Step 3/25 : ARG MAKE='make build' 20:36:36 ---> Running in 845b90a7e78c 20:36:36 Removing intermediate container 845b90a7e78c 20:36:36 ---> f1f66fa6c258 20:36:36 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:36:36 ---> Running in 6cd277ef686c 20:36:36 Removing intermediate container 6cd277ef686c 20:36:36 ---> cfea6c271e55 20:36:36 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:36:37 ---> Running in e2eb9da2a859 20:36:37 Removing intermediate container e2eb9da2a859 20:36:37 ---> ba97159f25d8 20:36:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:36:37 ---> Running in f1ec3c32a8c6 20:36:37 Removing intermediate container f1ec3c32a8c6 20:36:37 ---> db8207a620af 20:36:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:36:37 ---> Running in 36a443fa6e7a 20:36:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:36:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:36:39 OK: 224 MiB in 56 packages 20:36:39 Removing intermediate container 36a443fa6e7a 20:36:39 ---> b52c4cce0f6e 20:36:39 Step 8/25 : WORKDIR /device-rest-go 20:36:39 ---> Running in cec52d7636b1 20:36:39 Removing intermediate container cec52d7636b1 20:36:39 ---> 450a25209595 20:36:39 Step 9/25 : COPY go.mod vendor* ./ 20:36:39 ---> 6c3781ead3bb 20:36:39 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:36:39 ---> Running in 99b4d12793af 20:36:40 Removing intermediate container 99b4d12793af 20:36:40 ---> ec59ed73a93e 20:36:40 Step 11/25 : COPY . . 20:36:41 ---> 94d5f8c12ffe 20:36:41 Step 12/25 : RUN $MAKE 20:36:41 ---> Running in 2244c8a0c3d7 20:36:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:37:03 Removing intermediate container 2244c8a0c3d7 20:37:03 ---> 85ab0401ac09 20:37:03 Step 13/25 : FROM alpine:3.14 20:37:03 3.14: Pulling from library/alpine 20:37:03 8663204ce13b: Pulling fs layer 20:37:03 8663204ce13b: Verifying Checksum 20:37:03 8663204ce13b: Download complete 20:37:03 8663204ce13b: Pull complete 20:37:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:37:03 Status: Downloaded newer image for alpine:3.14 20:37:03 ---> e04c818066af 20:37:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:37:03 ---> Running in 6a2fc8087a44 20:37:03 Removing intermediate container 6a2fc8087a44 20:37:03 ---> 15de6dccafc1 20:37:03 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:37:03 ---> Running in 412c11414347 20:37:03 Removing intermediate container 412c11414347 20:37:03 ---> 369948da29b2 20:37:03 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:37:03 ---> Running in e03b2c5c7dac 20:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:37:03 (1/6) Installing dumb-init (1.2.5-r1) 20:37:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:37:03 (3/6) Installing libsodium (1.0.18-r0) 20:37:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:37:03 (5/6) Installing libzmq (4.3.4-r0) 20:37:03 (6/6) Installing zeromq (4.3.4-r0) 20:37:03 Executing busybox-1.33.1-r7.trigger 20:37:03 OK: 8 MiB in 20 packages 20:37:03 Removing intermediate container e03b2c5c7dac 20:37:03 ---> 576ac0d85610 20:37:03 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:37:03 ---> c40e031a46b5 20:37:03 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:37:03 ---> d4b13b47d869 20:37:03 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:37:03 ---> c8f4cd5ce1fb 20:37:03 Step 20/25 : EXPOSE 59986 20:37:03 ---> Running in 0e20247b105b 20:37:03 Removing intermediate container 0e20247b105b 20:37:03 ---> a7ae21684c16 20:37:03 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:37:03 ---> Running in a240fe90f548 20:37:03 Removing intermediate container a240fe90f548 20:37:03 ---> 9ce21bf1e030 20:37:03 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:37:03 ---> Running in b9e5e31c8dd3 20:37:04 Removing intermediate container b9e5e31c8dd3 20:37:04 ---> 463e4f75986b 20:37:04 Step 23/25 : LABEL arch=amd64 20:37:04 ---> Running in a2e7f7e5b0a7 20:37:04 Removing intermediate container a2e7f7e5b0a7 20:37:04 ---> c462a1f85941 20:37:04 Step 24/25 : LABEL git_sha=6db49600d84fbc344f4830d0628105aa21893aeb 20:37:04 ---> Running in b38fea79090e 20:37:04 Removing intermediate container b38fea79090e 20:37:04 ---> 81a364623941 20:37:04 Step 25/25 : LABEL version=2.2.1-dev.2 20:37:04 ---> Running in b00511c934b1 20:37:04 Removing intermediate container b00511c934b1 20:37:04 ---> 2932a9431774 20:37:04 [Warning] One or more build-args [ARCH] were not consumed 20:37:04 Successfully built 2932a9431774 20:37:04 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:04 provisioning config files... 20:37:04 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config743226661115184334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:04 ---> docker-login.sh 20:37:04 nexus3.edgexfoundry.org:10001 20:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:04 Configure a credential helper to remove this warning. See 20:37:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:04 20:37:04 Login Succeeded 20:37:04 nexus3.edgexfoundry.org:10002 20:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:04 Configure a credential helper to remove this warning. See 20:37:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:04 20:37:04 Login Succeeded 20:37:04 nexus3.edgexfoundry.org:10003 20:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:04 Configure a credential helper to remove this warning. See 20:37:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:04 20:37:04 Login Succeeded 20:37:04 nexus3.edgexfoundry.org:10004 20:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:05 Configure a credential helper to remove this warning. See 20:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:05 20:37:05 Login Succeeded 20:37:05 docker.io 20:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:05 Configure a credential helper to remove this warning. See 20:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:05 20:37:05 Login Succeeded 20:37:05 ---> docker-login.sh ends [Pipeline] } 20:37:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:37:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:05 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:37:05 6db49600d84fbc344f4830d0628105aa21893aeb 20:37:05 latest 20:37:05 2.2.1-dev.2 20:37:05 6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 20:37:05 main 20:37:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:6db49600d84fbc344f4830d0628105aa21893aeb 20:37:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:37:06 03cb662b1fc7: Preparing 20:37:06 7f2898701f8c: Preparing 20:37:06 4780e9af26f4: Preparing 20:37:06 70094703469d: Preparing 20:37:06 b541d28bf3b4: Preparing 20:37:06 b541d28bf3b4: Layer already exists 20:37:06 7f2898701f8c: Pushed 20:37:06 03cb662b1fc7: Pushed 20:37:06 70094703469d: Pushed 20:37:09 4780e9af26f4: Pushed 20:37:09 6db49600d84fbc344f4830d0628105aa21893aeb: digest: sha256:bc1c0a62e5b298377aba8fb7fb15e44e4041b1d0f8f69195a7b88f3fb415d0b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:09 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:37:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:37:09 03cb662b1fc7: Preparing 20:37:09 7f2898701f8c: Preparing 20:37:09 4780e9af26f4: Preparing 20:37:09 70094703469d: Preparing 20:37:09 b541d28bf3b4: Preparing 20:37:09 4780e9af26f4: Layer already exists 20:37:09 7f2898701f8c: Layer already exists 20:37:09 70094703469d: Layer already exists 20:37:09 03cb662b1fc7: Layer already exists 20:37:09 b541d28bf3b4: Layer already exists 20:37:09 latest: digest: sha256:bc1c0a62e5b298377aba8fb7fb15e44e4041b1d0f8f69195a7b88f3fb415d0b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.2 20:37:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:37:10 03cb662b1fc7: Preparing 20:37:10 7f2898701f8c: Preparing 20:37:10 4780e9af26f4: Preparing 20:37:10 70094703469d: Preparing 20:37:10 b541d28bf3b4: Preparing 20:37:10 70094703469d: Layer already exists 20:37:10 7f2898701f8c: Layer already exists 20:37:10 03cb662b1fc7: Layer already exists 20:37:10 4780e9af26f4: Layer already exists 20:37:10 b541d28bf3b4: Layer already exists 20:37:10 2.2.1-dev.2: digest: sha256:bc1c0a62e5b298377aba8fb7fb15e44e4041b1d0f8f69195a7b88f3fb415d0b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 20:37:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:37:11 03cb662b1fc7: Preparing 20:37:11 7f2898701f8c: Preparing 20:37:11 4780e9af26f4: Preparing 20:37:11 70094703469d: Preparing 20:37:11 b541d28bf3b4: Preparing 20:37:11 b541d28bf3b4: Layer already exists 20:37:11 7f2898701f8c: Layer already exists 20:37:11 70094703469d: Layer already exists 20:37:11 4780e9af26f4: Layer already exists 20:37:11 03cb662b1fc7: Layer already exists 20:37:11 6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2: digest: sha256:bc1c0a62e5b298377aba8fb7fb15e44e4041b1d0f8f69195a7b88f3fb415d0b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:37:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:37:11 03cb662b1fc7: Preparing 20:37:11 7f2898701f8c: Preparing 20:37:11 4780e9af26f4: Preparing 20:37:11 70094703469d: Preparing 20:37:11 b541d28bf3b4: Preparing 20:37:11 4780e9af26f4: Layer already exists 20:37:11 70094703469d: Layer already exists 20:37:11 7f2898701f8c: Layer already exists 20:37:11 03cb662b1fc7: Layer already exists 20:37:11 b541d28bf3b4: Layer already exists 20:37:11 main: digest: sha256:bc1c0a62e5b298377aba8fb7fb15e44e4041b1d0f8f69195a7b88f3fb415d0b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:37:11 ===================================================== [Pipeline] echo 20:37:11 taggedImages: 20:37:11 - nexus3.edgexfoundry.org:10004/device-rest:6db49600d84fbc344f4830d0628105aa21893aeb 20:37:11 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:37:11 - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.2 20:37:11 - nexus3.edgexfoundry.org:10004/device-rest:6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 20:37:11 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:37:12 20:37:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:37:12 latest: Pulling from edgex-lftools-log-publisher 20:37:12 5eb5b503b376: Pulling fs layer 20:37:12 5c69ac0246d0: Pulling fs layer 20:37:12 ec43610c2a17: Pulling fs layer 20:37:12 3a2ae6a8a46f: Pulling fs layer 20:37:12 33b1e0a273af: Pulling fs layer 20:37:12 5d3b04190fa2: Pulling fs layer 20:37:12 2f39f015ded8: Pulling fs layer 20:37:12 3a2ae6a8a46f: Waiting 20:37:12 33b1e0a273af: Waiting 20:37:12 2f39f015ded8: Waiting 20:37:12 5c69ac0246d0: Download complete 20:37:12 3a2ae6a8a46f: Download complete 20:37:12 33b1e0a273af: Verifying Checksum 20:37:12 33b1e0a273af: Download complete 20:37:12 ec43610c2a17: Verifying Checksum 20:37:12 ec43610c2a17: Download complete 20:37:12 5d3b04190fa2: Verifying Checksum 20:37:12 5d3b04190fa2: Download complete 20:37:12 5eb5b503b376: Verifying Checksum 20:37:12 5eb5b503b376: Download complete 20:37:13 2f39f015ded8: Download complete 20:37:14 5eb5b503b376: Pull complete 20:37:14 5c69ac0246d0: Pull complete 20:37:14 ec43610c2a17: Pull complete 20:37:14 3a2ae6a8a46f: Pull complete 20:37:14 33b1e0a273af: Pull complete 20:37:15 5d3b04190fa2: Pull complete 20:37:19 2f39f015ded8: Pull complete 20:37:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:37:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:37:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:19 prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container 20:37:19 $ 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 20:37:21 $ docker top 4ed058417fff3e9e3d696a13e900978fbf8f6723886e40f9b757246a28674758 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:22 ---> job-cost.sh 20:37:22 lf-activate-venv: SKIPPING 20:37:22 INFO: No Stack... 20:37:22 INFO: Retrieving Pricing Info for: v3-standard-8 20:37:22 INFO: Archiving Costs [Pipeline] sh 20:37:23 + + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 20:37:23 cut -d, -f6 [Pipeline] lock 20:37:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] 20:37:23 Resource [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] did not exist. Created. 20:37:23 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:37:23 + echo total: 0.2199999988079071 [Pipeline] stash 20:37:23 Stashed 1 file(s) [Pipeline] } 20:37:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } 20:37:23 $ docker stop --time=1 4ed058417fff3e9e3d696a13e900978fbf8f6723886e40f9b757246a28674758 20:37:24 $ docker rm -f 4ed058417fff3e9e3d696a13e900978fbf8f6723886e40f9b757246a28674758 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:38:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-571 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:38:56 Running in /w/workspace/device-rest-go/43 [Pipeline] { [Pipeline] checkout 20:38:56 The recommended git tool is: git 20:39:04 using credential edgex-jenkins-ssh 20:39:04 Cloning the remote Git repository 20:39:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:39:04 > git init /w/workspace/device-rest-go/43 # timeout=10 20:39:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:39:04 > git --version # timeout=10 20:39:04 > git --version # 'git version 2.25.1' 20:39:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:39:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:39:06 Avoid second fetch 20:39:06 Checking out Revision 6db49600d84fbc344f4830d0628105aa21893aeb (main) 20:39:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:39:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:39:06 > git config core.sparsecheckout # timeout=10 20:39:06 > git checkout -f 6db49600d84fbc344f4830d0628105aa21893aeb # timeout=10 20:39:10 Commit message: "fix(snap): typo in install hook error log (#192)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:39:11 % Total % Received % Xferd Average Speed Time Time Time Current 20:39:11 Dload Upload Total Spent Left Speed 20:39:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83924 0 --:--:-- --:--:-- --:--:-- 84503 [Pipeline] sh 20:39:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:39:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:39:12 + sudo tee /etc/docker/daemon.new 20:39:12 { 20:39:12 "registry-mirrors": [ 20:39:12 "https://nexus3.edgexfoundry.org:10001" 20:39:12 ], 20:39:12 "bip": "10.250.0.254/24", 20:39:12 "hosts": [ 20:39:12 "tcp://0.0.0.0:5555", 20:39:12 "unix:///var/run/docker.sock" 20:39:12 ], 20:39:12 "mtu": 1458, 20:39:12 "selinux-enabled": true, 20:39:12 "seccomp-profile": "/etc/docker/seccomp.json" 20:39:12 } [Pipeline] sh 20:39:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:39:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:31 provisioning config files... 20:39:31 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/43@tmp/config2259436815100044696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:32 ---> docker-login.sh 20:39:32 nexus3.edgexfoundry.org:10001 20:39:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:33 Configure a credential helper to remove this warning. See 20:39:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:33 20:39:33 Login Succeeded 20:39:33 nexus3.edgexfoundry.org:10002 20:39:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:33 Configure a credential helper to remove this warning. See 20:39:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:33 20:39:33 Login Succeeded 20:39:33 nexus3.edgexfoundry.org:10003 20:39:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:33 Configure a credential helper to remove this warning. See 20:39:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:33 20:39:33 Login Succeeded 20:39:33 nexus3.edgexfoundry.org:10004 20:39:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:34 Configure a credential helper to remove this warning. See 20:39:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:34 20:39:34 Login Succeeded 20:39:34 docker.io 20:39:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:35 Configure a credential helper to remove this warning. See 20:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:35 20:39:35 Login Succeeded 20:39:35 ---> docker-login.sh ends [Pipeline] } 20:39:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:39:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:35 ========================================================= 20:39:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:39:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:36 + 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 . 20:39:36 Sending build context to Docker daemon 128.5kB 20:39:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:39:36 Step 2/12 : FROM ${BASE} AS builder 20:39:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:39:36 9b3977197b4f: Pulling fs layer 20:39:36 1a89e8eeedd5: Pulling fs layer 20:39:36 94645a83ff95: Pulling fs layer 20:39:36 3f3a8bcf1eab: Pulling fs layer 20:39:36 0c92f367c5e7: Pulling fs layer 20:39:36 3096ccb668a1: Pulling fs layer 20:39:36 e8cf19c19ddd: Pulling fs layer 20:39:36 a4caa8a26152: Pulling fs layer 20:39:36 3096ccb668a1: Waiting 20:39:36 e8cf19c19ddd: Waiting 20:39:36 3f3a8bcf1eab: Waiting 20:39:36 a4caa8a26152: Waiting 20:39:36 0c92f367c5e7: Waiting 20:39:36 94645a83ff95: Verifying Checksum 20:39:36 94645a83ff95: Download complete 20:39:36 1a89e8eeedd5: Verifying Checksum 20:39:36 1a89e8eeedd5: Download complete 20:39:36 0c92f367c5e7: Verifying Checksum 20:39:36 0c92f367c5e7: Download complete 20:39:36 3096ccb668a1: Verifying Checksum 20:39:36 3096ccb668a1: Download complete 20:39:36 9b3977197b4f: Verifying Checksum 20:39:36 e8cf19c19ddd: Verifying Checksum 20:39:36 e8cf19c19ddd: Download complete 20:39:37 9b3977197b4f: Pull complete 20:39:37 1a89e8eeedd5: Pull complete 20:39:38 94645a83ff95: Pull complete 20:39:38 a4caa8a26152: Verifying Checksum 20:39:38 a4caa8a26152: Download complete 20:39:39 3f3a8bcf1eab: Verifying Checksum 20:39:39 3f3a8bcf1eab: Download complete 20:39:51 3f3a8bcf1eab: Pull complete 20:39:51 0c92f367c5e7: Pull complete 20:39:51 3096ccb668a1: Pull complete 20:39:51 e8cf19c19ddd: Pull complete 20:39:58 a4caa8a26152: Pull complete 20:39:58 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 20:39:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:39:58 ---> 725f1c02e7f9 20:39:58 Step 3/12 : ARG MAKE='make build' 20:39:59 ---> Running in 90728d45d2c2 20:39:59 Removing intermediate container 90728d45d2c2 20:39:59 ---> 48bdf4619610 20:39:59 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:39:59 ---> Running in 4a450d835404 20:40:00 Removing intermediate container 4a450d835404 20:40:00 ---> 3b4f188e99b1 20:40:00 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:40:00 ---> Running in b7c846670589 20:40:00 Removing intermediate container b7c846670589 20:40:00 ---> 95a9e9e67a67 20:40:00 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:40:00 ---> Running in 7e51c5879ace 20:40:02 Removing intermediate container 7e51c5879ace 20:40:02 ---> 875cf74da21c 20:40:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:40:02 ---> Running in c1e15b63f1c4 20:40:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:40:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:40:05 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:40:05 (2/4) Installing libedit (20210910.3.1-r0) 20:40:05 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:40:05 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:40:05 Executing busybox-1.34.1-r3.trigger 20:40:05 OK: 224 MiB in 56 packages 20:40:07 Removing intermediate container c1e15b63f1c4 20:40:07 ---> 4a9bc18a5ef4 20:40:07 Step 8/12 : WORKDIR /device-rest-go 20:40:07 ---> Running in f090d3015166 20:40:07 Removing intermediate container f090d3015166 20:40:07 ---> 6c37f35c4f8d 20:40:07 Step 9/12 : COPY go.mod vendor* ./ 20:40:07 ---> e818e57d198d 20:40:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:40:07 ---> Running in 8c5ac99c4460 20:40:54 Removing intermediate container 8c5ac99c4460 20:40:54 ---> 5fb11ed6f386 20:40:54 Step 11/12 : COPY . . 20:40:54 ---> ce7b4363bfdf 20:40:54 Step 12/12 : RUN $MAKE 20:40:54 ---> Running in bbc5d59f5f04 20:40:54 noop 20:40:54 Removing intermediate container bbc5d59f5f04 20:40:54 ---> 701468f335b2 20:40:54 Successfully built 701468f335b2 20:40:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:55 + docker inspect -f . ci-base-image-arm64 20:40:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:55 prd-ubuntu20.04-docker-arm64-4c-16g-571 does not seem to be running inside a container 20:40:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@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 20:40:56 $ docker top 0ce5980f32f30d30ac9a884f5a976de8daf032d76b462a6fd6dd7a3fc5b0a16b -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:57 + go version 20:40:57 go version go1.17.6 linux/arm64 [Pipeline] } 20:40:57 $ docker stop --time=1 0ce5980f32f30d30ac9a884f5a976de8daf032d76b462a6fd6dd7a3fc5b0a16b 20:40:59 $ docker rm -f 0ce5980f32f30d30ac9a884f5a976de8daf032d76b462a6fd6dd7a3fc5b0a16b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:59 + docker inspect -f . ci-base-image-arm64 20:40:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:00 prd-ubuntu20.04-docker-arm64-4c-16g-571 does not seem to be running inside a container 20:41:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@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 20:41:01 $ docker top e1c42a5733540b5c63426965fe557dd46bbb14b9a6ca626d3c7bc3884bfdd0ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:41:02 + make test 20:41:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:41:03 ? github.com/edgexfoundry/device-rest-go [no test files] 20:42:25 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:42:25 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements 20:42:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:42:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:42:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:42:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:42:47 ./bin/test-attribution-txt.sh [Pipeline] echo 20:42:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:42:50 $ docker stop --time=1 e1c42a5733540b5c63426965fe557dd46bbb14b9a6ca626d3c7bc3884bfdd0ca 20:42:52 $ docker rm -f e1c42a5733540b5c63426965fe557dd46bbb14b9a6ca626d3c7bc3884bfdd0ca [Pipeline] // withDockerContainer [Pipeline] sh 20:42:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:42:53 Warning: overwriting stash ‘coverage-report’ 20:42:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:42:54 + ls -al . 20:42:54 total 168 20:42:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 20:42 . 20:42:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 20:39 .. 20:42:54 -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 20:39 .dockerignore 20:42:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 20:39 .git 20:42:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:39 .github 20:42:54 -rw-rw-r-- 1 jenkins jenkins 329 Jun 1 20:39 .gitignore 20:42:54 -rw-rw-r-- 1 jenkins jenkins 41 Jun 1 20:39 .golangci.yml 20:42:54 -rw-rw-r-- 1 jenkins jenkins 8596 Jun 1 20:39 Attribution.txt 20:42:54 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 1 20:39 CHANGELOG.md 20:42:54 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 1 20:39 Dockerfile 20:42:54 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 20:39 GOVERNANCE.md 20:42:54 -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 20:39 Jenkinsfile 20:42:54 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 20:39 LICENSE 20:42:54 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 1 20:39 Makefile 20:42:54 -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 20:39 OWNERS.md 20:42:54 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 1 20:39 README.md 20:42:54 -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 20:35 VERSION 20:42:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 20:39 bin 20:42:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:39 cmd 20:42:54 -rw-r--r-- 1 jenkins jenkins 9355 Jun 1 20:42 coverage.out 20:42:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 20:39 driver 20:42:54 -rw-rw-r-- 1 jenkins jenkins 3287 Jun 1 20:39 go.mod 20:42:54 -rw-rw-r-- 1 jenkins jenkins 34802 Jun 1 20:39 go.sum 20:42:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:39 snap 20:42:54 -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 20:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:54 + 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=6db49600d84fbc344f4830d0628105aa21893aeb --label arch=arm64 --label version=2.2.1-dev.2 . 20:42:54 Sending build context to Docker daemon 138.8kB 20:42:55 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:42:55 Step 2/25 : FROM ${BASE} AS builder 20:42:55 ---> 701468f335b2 20:42:55 Step 3/25 : ARG MAKE='make build' 20:42:55 ---> Running in 31c44e650b13 20:42:55 Removing intermediate container 31c44e650b13 20:42:55 ---> 4ef42ab4dfab 20:42:55 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:42:55 ---> Running in 806e081c86a1 20:42:55 Removing intermediate container 806e081c86a1 20:42:55 ---> fd671b0ffe85 20:42:55 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:42:55 ---> Running in 8538c3c535a9 20:42:56 Removing intermediate container 8538c3c535a9 20:42:56 ---> 08c4cd6ede5c 20:42:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:42:56 ---> Running in 2de27687205a 20:42:57 Removing intermediate container 2de27687205a 20:42:57 ---> 8788b4daafe9 20:42:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:58 ---> Running in 8f69b1446fb5 20:42:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:43:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:43:00 OK: 224 MiB in 56 packages 20:43:01 Removing intermediate container 8f69b1446fb5 20:43:01 ---> 7c9335e56c02 20:43:01 Step 8/25 : WORKDIR /device-rest-go 20:43:01 ---> Running in 6ba0b662d3a9 20:43:02 Removing intermediate container 6ba0b662d3a9 20:43:02 ---> afd428bdb6af 20:43:02 Step 9/25 : COPY go.mod vendor* ./ 20:43:02 ---> 95551fe15ef9 20:43:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:02 ---> Running in 4b4038a5dfa1 20:43:04 Removing intermediate container 4b4038a5dfa1 20:43:04 ---> 1885689b5317 20:43:04 Step 11/25 : COPY . . 20:43:05 ---> e18ecf121ea0 20:43:05 Step 12/25 : RUN $MAKE 20:43:05 ---> Running in da8acb37d3f9 20:43:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:45:13 Removing intermediate container da8acb37d3f9 20:45:13 ---> d77a43ec544d 20:45:13 Step 13/25 : FROM alpine:3.14 20:45:13 3.14: Pulling from library/alpine 20:45:13 455c02918c45: Pulling fs layer 20:45:13 455c02918c45: Download complete 20:45:13 455c02918c45: Pull complete 20:45:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:45:13 Status: Downloaded newer image for alpine:3.14 20:45:13 ---> ac73e934f311 20:45:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:45:13 ---> Running in e99a58b6f17c 20:45:13 Removing intermediate container e99a58b6f17c 20:45:13 ---> c013e9134189 20:45:13 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:45:13 ---> Running in 5479ca79e1b6 20:45:13 Removing intermediate container 5479ca79e1b6 20:45:13 ---> dc97f14bb54a 20:45:13 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:45:13 ---> Running in 8adfe43e8d01 20:45:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:45:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:45:13 (1/6) Installing dumb-init (1.2.5-r1) 20:45:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:45:13 (3/6) Installing libsodium (1.0.18-r0) 20:45:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:45:13 (5/6) Installing libzmq (4.3.4-r0) 20:45:13 (6/6) Installing zeromq (4.3.4-r0) 20:45:13 Executing busybox-1.33.1-r7.trigger 20:45:13 OK: 8 MiB in 20 packages 20:45:13 Removing intermediate container 8adfe43e8d01 20:45:13 ---> 4d8c50aaa6d1 20:45:13 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:45:13 ---> 78095a2b344e 20:45:13 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:45:13 ---> 9fb98b35851e 20:45:13 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:45:13 ---> af45ff53f9c9 20:45:13 Step 20/25 : EXPOSE 59986 20:45:13 ---> Running in 414f4e9ef7c7 20:45:13 Removing intermediate container 414f4e9ef7c7 20:45:13 ---> 0036265e8b19 20:45:13 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:45:13 ---> Running in 3bd3dd3d6dd6 20:45:13 Removing intermediate container 3bd3dd3d6dd6 20:45:13 ---> b9b02b1cb076 20:45:13 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:45:13 ---> Running in b21fe59a6540 20:45:13 Removing intermediate container b21fe59a6540 20:45:13 ---> 7ad93d0c7602 20:45:13 Step 23/25 : LABEL arch=arm64 20:45:13 ---> Running in 9fb225769ca8 20:45:13 Removing intermediate container 9fb225769ca8 20:45:13 ---> 8a9f4eaacf82 20:45:13 Step 24/25 : LABEL git_sha=6db49600d84fbc344f4830d0628105aa21893aeb 20:45:13 ---> Running in 7fa938f78d7a 20:45:13 Removing intermediate container 7fa938f78d7a 20:45:13 ---> 5161d7cbb282 20:45:13 Step 25/25 : LABEL version=2.2.1-dev.2 20:45:13 ---> Running in f1f466ccbf64 20:45:13 Removing intermediate container f1f466ccbf64 20:45:13 ---> acee734bf14f 20:45:13 [Warning] One or more build-args [ARCH] were not consumed 20:45:13 Successfully built acee734bf14f 20:45:13 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:13 provisioning config files... 20:45:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/43@tmp/config2335944176115195518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:13 ---> docker-login.sh 20:45:13 nexus3.edgexfoundry.org:10001 20:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:13 Configure a credential helper to remove this warning. See 20:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:13 20:45:13 Login Succeeded 20:45:13 nexus3.edgexfoundry.org:10002 20:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:14 Configure a credential helper to remove this warning. See 20:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:14 20:45:14 Login Succeeded 20:45:14 nexus3.edgexfoundry.org:10003 20:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:14 Configure a credential helper to remove this warning. See 20:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:14 20:45:14 Login Succeeded 20:45:14 nexus3.edgexfoundry.org:10004 20:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:15 Configure a credential helper to remove this warning. See 20:45:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:15 20:45:15 Login Succeeded 20:45:15 docker.io 20:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:16 Configure a credential helper to remove this warning. See 20:45:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:16 20:45:16 Login Succeeded 20:45:16 ---> docker-login.sh ends [Pipeline] } 20:45:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:45:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:16 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:45:16 6db49600d84fbc344f4830d0628105aa21893aeb 20:45:16 latest 20:45:16 2.2.1-dev.2 20:45:16 6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 20:45:16 main 20:45:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6db49600d84fbc344f4830d0628105aa21893aeb 20:45:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:45:16 7d10354f156d: Preparing 20:45:16 6182b48d2e2b: Preparing 20:45:16 68ef02ccd9bb: Preparing 20:45:16 b0048d2d1bf3: Preparing 20:45:16 f73e7dbfee58: Preparing 20:45:16 f73e7dbfee58: Layer already exists 20:45:17 6182b48d2e2b: Pushed 20:45:17 7d10354f156d: Pushed 20:45:17 b0048d2d1bf3: Pushed 20:45:23 68ef02ccd9bb: Pushed 20:45:23 6db49600d84fbc344f4830d0628105aa21893aeb: digest: sha256:69bc7089b0a7003de9f28bb66bc28df8383e6156887af6c67c32773998fe5838 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:23 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:23 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:45:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:45:23 7d10354f156d: Preparing 20:45:23 6182b48d2e2b: Preparing 20:45:23 68ef02ccd9bb: Preparing 20:45:23 b0048d2d1bf3: Preparing 20:45:23 f73e7dbfee58: Preparing 20:45:23 b0048d2d1bf3: Layer already exists 20:45:23 7d10354f156d: Layer already exists 20:45:23 6182b48d2e2b: Layer already exists 20:45:23 68ef02ccd9bb: Layer already exists 20:45:23 f73e7dbfee58: Layer already exists 20:45:24 latest: digest: sha256:69bc7089b0a7003de9f28bb66bc28df8383e6156887af6c67c32773998fe5838 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.2 20:45:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:45:24 7d10354f156d: Preparing 20:45:24 6182b48d2e2b: Preparing 20:45:24 68ef02ccd9bb: Preparing 20:45:24 b0048d2d1bf3: Preparing 20:45:24 f73e7dbfee58: Preparing 20:45:24 6182b48d2e2b: Layer already exists 20:45:24 f73e7dbfee58: Layer already exists 20:45:24 b0048d2d1bf3: Layer already exists 20:45:24 68ef02ccd9bb: Layer already exists 20:45:24 7d10354f156d: Layer already exists 20:45:25 2.2.1-dev.2: digest: sha256:69bc7089b0a7003de9f28bb66bc28df8383e6156887af6c67c32773998fe5838 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 20:45:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:45:25 7d10354f156d: Preparing 20:45:25 6182b48d2e2b: Preparing 20:45:25 68ef02ccd9bb: Preparing 20:45:25 b0048d2d1bf3: Preparing 20:45:25 f73e7dbfee58: Preparing 20:45:25 f73e7dbfee58: Layer already exists 20:45:25 b0048d2d1bf3: Layer already exists 20:45:25 6182b48d2e2b: Layer already exists 20:45:25 7d10354f156d: Layer already exists 20:45:25 68ef02ccd9bb: Layer already exists 20:45:26 6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2: digest: sha256:69bc7089b0a7003de9f28bb66bc28df8383e6156887af6c67c32773998fe5838 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:45:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:45:27 7d10354f156d: Preparing 20:45:27 6182b48d2e2b: Preparing 20:45:27 68ef02ccd9bb: Preparing 20:45:27 b0048d2d1bf3: Preparing 20:45:27 f73e7dbfee58: Preparing 20:45:27 6182b48d2e2b: Layer already exists 20:45:27 f73e7dbfee58: Layer already exists 20:45:27 68ef02ccd9bb: Layer already exists 20:45:27 b0048d2d1bf3: Layer already exists 20:45:27 7d10354f156d: Layer already exists 20:45:27 main: digest: sha256:69bc7089b0a7003de9f28bb66bc28df8383e6156887af6c67c32773998fe5838 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:45:27 ===================================================== [Pipeline] echo 20:45:27 taggedImages: 20:45:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6db49600d84fbc344f4830d0628105aa21893aeb 20:45:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:45:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.2 20:45:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 20:45:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:45:27 20:45:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:45:28 arm64: Pulling from edgex-lftools-log-publisher 20:45:28 8998bd30e6a1: Pulling fs layer 20:45:28 04944245beec: Pulling fs layer 20:45:28 699f458cf7ca: Pulling fs layer 20:45:28 765212b225bb: Pulling fs layer 20:45:28 f23df028b6ca: Pulling fs layer 20:45:28 d65c8cfc05b1: Pulling fs layer 20:45:28 2437ff75d9bd: Pulling fs layer 20:45:28 f23df028b6ca: Waiting 20:45:28 d65c8cfc05b1: Waiting 20:45:28 2437ff75d9bd: Waiting 20:45:28 765212b225bb: Waiting 20:45:28 04944245beec: Verifying Checksum 20:45:28 04944245beec: Download complete 20:45:28 765212b225bb: Verifying Checksum 20:45:28 765212b225bb: Download complete 20:45:28 f23df028b6ca: Verifying Checksum 20:45:28 f23df028b6ca: Download complete 20:45:28 d65c8cfc05b1: Download complete 20:45:28 699f458cf7ca: Verifying Checksum 20:45:28 699f458cf7ca: Download complete 20:45:28 8998bd30e6a1: Verifying Checksum 20:45:28 8998bd30e6a1: Download complete 20:45:31 2437ff75d9bd: Verifying Checksum 20:45:31 2437ff75d9bd: Download complete 20:45:33 8998bd30e6a1: Pull complete 20:45:33 04944245beec: Pull complete 20:45:35 699f458cf7ca: Pull complete 20:45:35 765212b225bb: Pull complete 20:45:36 f23df028b6ca: Pull complete 20:45:36 d65c8cfc05b1: Pull complete 20:45:51 2437ff75d9bd: Pull complete 20:45:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:45:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:45:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:51 prd-ubuntu20.04-docker-arm64-4c-16g-571 does not seem to be running inside a container 20:45:51 $ 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/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@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 20:45:54 $ docker top 43b1391b44c8446b46be6980d7f120ad937f5e3218658184288b9c1cc921ab71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:55 ---> job-cost.sh 20:45:55 lf-activate-venv: SKIPPING 20:45:55 INFO: No Stack... 20:45:55 INFO: Retrieving Pricing Info for: v3-standard-4 20:45:56 INFO: Archiving Costs [Pipeline] sh 20:45:57 + cat /w/workspace/device-rest-go/43/archives/cost.csv 20:45:57 + cut -d, -f6 [Pipeline] lock 20:45:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] 20:45:57 Resource [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] did not exist. Created. 20:45:57 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:45:57 /w/workspace/device-rest-go/43@tmp/durable-e0013d31/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:45:58 + echo total: 0.10999999940395355 [Pipeline] stash 20:45:58 Warning: overwriting stash ‘stack-cost’ 20:45:58 Stashed 1 file(s) [Pipeline] } 20:45:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } 20:45:58 $ docker stop --time=1 43b1391b44c8446b46be6980d7f120ad937f5e3218658184288b9c1cc921ab71 20:46:00 $ docker rm -f 43b1391b44c8446b46be6980d7f120ad937f5e3218658184288b9c1cc921ab71 [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 20:46:00 provisioning config files... 20:46:00 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6442003343374578020tmp [Pipeline] { [Pipeline] sh 20:46:00 + set +x 20:46:00 + curl -s https://codecov.io/bash 20:46:00 + bash -s -- 20:46:00 20:46:00 _____ _ 20:46:00 / ____| | | 20:46:00 | | ___ __| | ___ ___ _____ __ 20:46:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:46:00 | |___| (_) | (_| | __/ (_| (_) \ V / 20:46:00 \_____\___/ \__,_|\___|\___\___/ \_/ 20:46:00 Bash-1.0.6 20:46:00 20:46:00 20:46:00 ==> git version 2.25.1 found 20:46:00 ==> 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 20:46:00 Release-Date: 2020-01-08 20:46:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:46:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:46:00 ==> Jenkins CI detected. 20:46:00 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:46:00 project root: . 20:46:00 --> token set from env 20:46:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:46:00 ==> Running gcov in . (disable via -X gcov) 20:46:00 ==> Python coveragepy not found 20:46:00 ==> Searching for coverage reports in: 20:46:00 + . 20:46:00 -> Found 1 reports 20:46:00 ==> Detecting git/mercurial file structure 20:46:00 ==> Reading reports 20:46:00 + ./coverage.out bytes=9355 20:46:01 ==> Appending adjustments 20:46:01 https://docs.codecov.io/docs/fixing-reports 20:46:01 + Found adjustments 20:46:01 ==> Gzipping contents 20:46:01 4.0K /tmp/codecov.EgA08x.gz 20:46:01 ==> Uploading reports 20:46:01 url: https://codecov.io 20:46:01 query: branch=main&commit=6db49600d84fbc344f4830d0628105aa21893aeb&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:46:01 -> Pinging Codecov 20:46:01 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=6db49600d84fbc344f4830d0628105aa21893aeb&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:46:01 -> Uploading to 20:46:01 https://storage.googleapis.com/codecov/v4/raw/2022-06-01/4E5D53B4F1F92C436F7061BF334D961C/6db49600d84fbc344f4830d0628105aa21893aeb/81645153-5aa8-4b8f-be38-5248a74811d4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T204601Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df1d4a721f812f99050a8400b4f6cef4426e178a819ca2717a33b3901bea7a52 20:46:01 % Total % Received % Xferd Average Speed Time Time Time Current 20:46:01 Dload Upload Total Spent Left Speed 20:46:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7991 --:--:-- --:--:-- --:--:-- 7955 100 1806 0 0 100 1806 0 7166 --:--:-- --:--:-- --:--:-- 7138 20:46:01 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] } 20:46:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:46:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:46:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:46:01 20:46:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:46:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:46:02 df9b9388f04a: Pulling fs layer 20:46:02 52dc419b0ee2: Pulling fs layer 20:46:02 25bc292e5bac: Pulling fs layer 20:46:02 114826534d7a: Pulling fs layer 20:46:02 4657fd5d0bcf: Pulling fs layer 20:46:02 6ad1cebc031e: Pulling fs layer 20:46:02 8a3aa393b2d8: Pulling fs layer 20:46:02 4657fd5d0bcf: Waiting 20:46:02 114826534d7a: Waiting 20:46:02 6ad1cebc031e: Waiting 20:46:02 25bc292e5bac: Download complete 20:46:02 52dc419b0ee2: Verifying Checksum 20:46:02 52dc419b0ee2: Download complete 20:46:02 4657fd5d0bcf: Verifying Checksum 20:46:02 4657fd5d0bcf: Download complete 20:46:02 df9b9388f04a: Download complete 20:46:02 6ad1cebc031e: Verifying Checksum 20:46:02 6ad1cebc031e: Download complete 20:46:02 df9b9388f04a: Pull complete 20:46:02 52dc419b0ee2: Pull complete 20:46:02 25bc292e5bac: Pull complete 20:46:03 114826534d7a: Verifying Checksum 20:46:03 114826534d7a: Download complete 20:46:03 8a3aa393b2d8: Verifying Checksum 20:46:03 8a3aa393b2d8: Download complete 20:46:06 114826534d7a: Pull complete 20:46:06 4657fd5d0bcf: Pull complete 20:46:06 6ad1cebc031e: Pull complete 20:46:09 8a3aa393b2d8: Pull complete 20:46:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:46:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:46:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:09 prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container 20:46:09 $ 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 20:46:11 $ docker top 98d029dd89ef158af8aa94e74ffb26262d18ce5668796e7abc8b56ef045abd2d -eo pid,comm [Pipeline] { [Pipeline] echo 20:46:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:46:12 + set -o pipefail 20:46:12 + snyk monitor '--org=edgex-jenkins' 20:46:17 20:46:17 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:46:17 20:46:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/08ddc0d6-35d2-49b9-81bf-20d2bcfebf5f/history/17552252-f6cf-4a13-bab4-4a2404f41672 20:46:17 20:46:17 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:46:17 20:46:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:46:17 20:46:17 [Pipeline] } 20:46:17 $ docker stop --time=1 98d029dd89ef158af8aa94e74ffb26262d18ce5668796e7abc8b56ef045abd2d 20:46:20 $ docker rm -f 98d029dd89ef158af8aa94e74ffb26262d18ce5668796e7abc8b56ef045abd2d [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 20:46:20 + git log --format=format:%s -1 6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] sh 20:46:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:46:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:46:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:21 prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container 20:46:21 $ 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 20:46:22 $ docker top 8475677b8b9a27aa4ca09e51a0b9235ab0443fe2c1c42c7720ec2533e1ddb05c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:46:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:46:22 [ssh-agent] Looking for ssh-agent implementation... 20:46:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:46:22 $ docker exec 8475677b8b9a27aa4ca09e51a0b9235ab0443fe2c1c42c7720ec2533e1ddb05c ssh-agent 20:46:22 SSH_AUTH_SOCK=/tmp/ssh-HSEa28e54wJP/agent.33 20:46:22 SSH_AGENT_PID=40 20:46:22 Running ssh-add (command line suppressed) 20:46:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_717780012464101952.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_717780012464101952.key) 20:46:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:46:22 + git semver tag 20:46:23 2022-06-01 20:46:23,037 [run_tag] DEBUG tag force:False 20:46:23 2022-06-01 20:46:23,037 [check_head_tag] DEBUG check head tag 20:46:23 2022-06-01 20:46:23,037 [execute] INFO git cat-file --batch-check 20:46:23 2022-06-01 20:46:23,038 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:46:23 2022-06-01 20:46:23,041 [execute] INFO git cat-file --batch 20:46:23 2022-06-01 20:46:23,042 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:46:23 2022-06-01 20:46:23,048 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:46:23 2022-06-01 20:46:23,049 [execute] INFO git tag -a v2.2.1-dev.2 -m v2.2.1-dev.2 20:46:23 2022-06-01 20:46:23,049 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.2', '-m', 'v2.2.1-dev.2'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:46:23 2022-06-01 20:46:23,054 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:46:23 2.2.1-dev.2 [Pipeline] } 20:46:23 $ docker exec --env ******** --env ******** 8475677b8b9a27aa4ca09e51a0b9235ab0443fe2c1c42c7720ec2533e1ddb05c ssh-agent -k 20:46:23 unset SSH_AUTH_SOCK; 20:46:23 unset SSH_AGENT_PID; 20:46:23 echo Agent pid 40 killed; 20:46:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:46:23 + git semver [Pipeline] } 20:46:23 $ docker stop --time=1 8475677b8b9a27aa4ca09e51a0b9235ab0443fe2c1c42c7720ec2533e1ddb05c 20:46:25 $ docker rm -f 8475677b8b9a27aa4ca09e51a0b9235ab0443fe2c1c42c7720ec2533e1ddb05c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:46:25 20:46:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:46:25 0.23.1-centos7: Pulling from edgex-lftools 20:46:25 ab5ef0e58194: Pulling fs layer 20:46:25 9712f1f96733: Pulling fs layer 20:46:25 63f879dbbcfc: Pulling fs layer 20:46:25 0d9ebad4ef96: Pulling fs layer 20:46:25 e9a5061849ea: Pulling fs layer 20:46:25 d747dcd14b5f: Pulling fs layer 20:46:25 2de7ff778b66: Pulling fs layer 20:46:25 d747dcd14b5f: Waiting 20:46:25 2de7ff778b66: Waiting 20:46:25 e9a5061849ea: Waiting 20:46:25 0d9ebad4ef96: Waiting 20:46:25 9712f1f96733: Download complete 20:46:26 63f879dbbcfc: Verifying Checksum 20:46:26 63f879dbbcfc: Download complete 20:46:26 e9a5061849ea: Verifying Checksum 20:46:26 e9a5061849ea: Download complete 20:46:26 d747dcd14b5f: Verifying Checksum 20:46:26 d747dcd14b5f: Download complete 20:46:26 0d9ebad4ef96: Verifying Checksum 20:46:26 0d9ebad4ef96: Download complete 20:46:26 ab5ef0e58194: Verifying Checksum 20:46:26 ab5ef0e58194: Download complete 20:46:26 2de7ff778b66: Verifying Checksum 20:46:26 2de7ff778b66: Download complete 20:46:29 ab5ef0e58194: Pull complete 20:46:29 9712f1f96733: Pull complete 20:46:29 63f879dbbcfc: Pull complete 20:46:34 0d9ebad4ef96: Pull complete 20:46:34 e9a5061849ea: Pull complete 20:46:34 d747dcd14b5f: Pull complete 20:46:34 2de7ff778b66: Pull complete 20:46:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:46:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:46:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:35 prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container 20:46:35 $ 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 20:46:37 $ docker top 706f673bb3b17bf72ade63f01252675d25fbec9db7484242ff4525aaafa0dce9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:46:37 provisioning config files... 20:46:37 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config995183661170221695tmp 20:46:37 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6630927695405613878tmp 20:46:37 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2672831953829194587tmp [Pipeline] { [Pipeline] echo 20:46:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:46:38 ---> sigul-configuration.sh 20:46:38 gpg: directory `/root/.gnupg' created 20:46:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:46:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:46:38 gpg: keyring `/root/.gnupg/secring.gpg' created 20:46:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:46:38 gpg: CAST5 encrypted data 20:46:38 gpg: encrypted with 1 passphrase 20:46:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:46:38 + mkdir /home/jenkins 20:46:38 + mkdir /home/jenkins/sigul [Pipeline] sh 20:46:38 + 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 20:46:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:46:38 ---> sigul-install.sh 20:46:38 Sigul already installed; skipping installation. [Pipeline] sh 20:46:39 + git tag --list 20:46:39 v1.0.0 20:46:39 v1.1.0 20:46:39 v1.1.1 20:46:39 v1.1.2 20:46:39 v1.2.0 20:46:39 v1.2.1 20:46:39 v2.0.0 20:46:39 v2.1.0 20:46:39 v2.2.0 20:46:39 v2.2.1-dev.1 20:46:39 v2.2.1-dev.2 [Pipeline] sh 20:46:39 + lftools sign git-tag v2.2.1-dev.2 20:46:40 Signing Git tag with Sigul... 20:46:40 Signing v2.2.1-dev.2 [Pipeline] echo 20:46:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:46:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:46:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:46:40 $ docker stop --time=1 706f673bb3b17bf72ade63f01252675d25fbec9db7484242ff4525aaafa0dce9 20:46:42 $ docker rm -f 706f673bb3b17bf72ade63f01252675d25fbec9db7484242ff4525aaafa0dce9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:46:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:46:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:46:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:42 prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container 20:46:43 $ 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 20:46:43 $ docker top 908a7d7474bed777b66e17bff240e084563e0303f2b4061c22308f0b73ac5550 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:46:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:46:43 [ssh-agent] Looking for ssh-agent implementation... 20:46:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:46:43 $ docker exec 908a7d7474bed777b66e17bff240e084563e0303f2b4061c22308f0b73ac5550 ssh-agent 20:46:43 SSH_AUTH_SOCK=/tmp/ssh-MNkyKao9grq9/agent.35 20:46:43 SSH_AGENT_PID=42 20:46:43 Running ssh-add (command line suppressed) 20:46:43 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5672578693966830462.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5672578693966830462.key) 20:46:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:46:44 + git semver bump pre 20:46:44 2022-06-01 20:46:44,311 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:46:44 2022-06-01 20:46:44,311 [bump_version] DEBUG bumping version:2.2.1-dev.2 on axis:pre with prefix:dev 20:46:44 2022-06-01 20:46:44,312 [bump_version] DEBUG bumped version:2.2.1-dev.3 20:46:44 2022-06-01 20:46:44,312 [write_version] DEBUG write version:2.2.1-dev.3 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 20:46:44 2022-06-01 20:46:44,312 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:46:44 2022-06-01 20:46:44,312 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:46:44 2022-06-01 20:46:44,314 [execute] INFO git cat-file --batch-check 20:46:44 2022-06-01 20:46:44,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:46:44 2022-06-01 20:46:44,321 [execute] INFO git cat-file --batch 20:46:44 2022-06-01 20:46:44,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:46:44 2022-06-01 20:46:44,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:46:44 2.2.1-dev.3 [Pipeline] } 20:46:44 $ docker exec --env ******** --env ******** 908a7d7474bed777b66e17bff240e084563e0303f2b4061c22308f0b73ac5550 ssh-agent -k 20:46:44 unset SSH_AUTH_SOCK; 20:46:44 unset SSH_AGENT_PID; 20:46:44 echo Agent pid 42 killed; 20:46:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:46:44 + git semver [Pipeline] } 20:46:45 $ docker stop --time=1 908a7d7474bed777b66e17bff240e084563e0303f2b4061c22308f0b73ac5550 20:46:46 $ docker rm -f 908a7d7474bed777b66e17bff240e084563e0303f2b4061c22308f0b73ac5550 [Pipeline] // withDockerContainer [Pipeline] sh 20:46:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:46:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:46:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:47 prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container 20:46:47 $ 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 20:46:47 $ docker top 72bd940b4f44841195a5d885d46ba33694427d01d6dbfcdf212232c784d8e701 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:46:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:46:47 [ssh-agent] Looking for ssh-agent implementation... 20:46:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:46:47 $ docker exec 72bd940b4f44841195a5d885d46ba33694427d01d6dbfcdf212232c784d8e701 ssh-agent 20:46:47 SSH_AUTH_SOCK=/tmp/ssh-qp4jW5uDKqYj/agent.33 20:46:47 SSH_AGENT_PID=39 20:46:47 Running ssh-add (command line suppressed) 20:46:48 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5205973465904602003.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5205973465904602003.key) 20:46:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:46:48 + git semver push 20:46:48 2022-06-01 20:46:48,628 [run_push] DEBUG push 20:46:48 2022-06-01 20:46:48,629 [execute] INFO git push origin semver 20:46:48 2022-06-01 20:46:48,629 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:46:49 2022-06-01 20:46:49,331 [run_push] DEBUG push all version tags 20:46:49 2022-06-01 20:46:49,331 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:46:49 2022-06-01 20:46:49,332 [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) 20:46:50 2022-06-01 20:46:49,992 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:46:50 2.2.1-dev.3 [Pipeline] } 20:46:50 $ docker exec --env ******** --env ******** 72bd940b4f44841195a5d885d46ba33694427d01d6dbfcdf212232c784d8e701 ssh-agent -k 20:46:50 unset SSH_AUTH_SOCK; 20:46:50 unset SSH_AGENT_PID; 20:46:50 echo Agent pid 39 killed; 20:46:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:46:50 + git semver [Pipeline] } 20:46:50 $ docker stop --time=1 72bd940b4f44841195a5d885d46ba33694427d01d6dbfcdf212232c784d8e701 20:46:52 $ docker rm -f 72bd940b4f44841195a5d885d46ba33694427d01d6dbfcdf212232c784d8e701 [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 20:46:52 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 20:46:52 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:46:52 total 16 20:46:52 drwxr-xr-x 3 root root 4096 Jun 1 20:37 . 20:46:52 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 20:46 .. 20:46:52 drwxr-xr-x 2 root root 4096 Jun 1 20:37 cost 20:46:52 -rw-r--r-- 1 root root 84 Jun 1 20:37 cost.csv 20:46:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 20:46:52 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:46:52 total 16 20:46:52 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 20:37 . 20:46:52 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 20:46 .. 20:46:52 drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 20:37 cost 20:46:52 -rw-r--r-- 1 jenkins jenkins 84 Jun 1 20:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:46:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:46:53 ---> package-listing.sh 20:46:53 ++ facter osfamily 20:46:53 ++ tr '[:upper:]' '[:lower:]' 20:46:54 + OS_FAMILY=debian 20:46:54 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:46:54 + START_PACKAGES=/tmp/packages_start.txt 20:46:54 + END_PACKAGES=/tmp/packages_end.txt 20:46:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:46:54 + PACKAGES=/tmp/packages_start.txt 20:46:54 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:46:54 + PACKAGES=/tmp/packages_end.txt 20:46:54 + case "${OS_FAMILY}" in 20:46:54 + dpkg -l 20:46:54 + grep '^ii' 20:46:54 + '[' -f /tmp/packages_start.txt ']' 20:46:54 + '[' -f /tmp/packages_end.txt ']' 20:46:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:46:54 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:46:54 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:46:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:46:54 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 20:46:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:55 prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container 20:46:55 $ 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 20:46:55 $ docker top 3b720e063f7fce0561c8b38e3ddd7bc36dc0d27b898cef9f614ae8fb3cf2bd72 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:55 + touch /tmp/pre-build-complete [Pipeline] sh 20:46:56 + mkdir -p /var/log/sysstat [Pipeline] sh 20:46:56 + ls /var/log/sa-host 20:46:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:56 provisioning config files... 20:46:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4888398403588051939tmp [Pipeline] { [Pipeline] echo 20:46:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:46:56 ---> create-netrc.sh [Pipeline] } 20:46:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:46:57 ---> python-tools-install.sh [Pipeline] echo 20:46:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:46:57 ---> sudo-logs.sh 20:46:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:46:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:46:57 ---> job-cost.sh 20:46:57 lf-activate-venv: SKIPPING 20:46:57 DEBUG: total: 0.2199999988079071 20:46:57 INFO: Retrieving Stack Cost... 20:46:58 INFO: Retrieving Pricing Info for: v3-standard-8 20:46:58 INFO: Archiving Costs [Pipeline] echo 20:46:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:46:58 ---> logs-deploy.sh 20:46:58 lf-activate-venv: SKIPPING 20:46:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/43 20:46:58 INFO: archiving workspace using pattern(s): 20:46:59 Archives upload complete. 20:46:59 INFO: archiving logs to Nexus